void TestConnectivity
(
)
{
char systemCmd[200] = {0};
&downlinkDataBearerTech,
&uplinkDataBearerTech) == LE_OK);
LE_INFO(
"downlinkDataBearerTech %d, uplinkDataBearerTech %d",
downlinkDataBearerTech, uplinkDataBearerTech);
== LE_OK);
{
snprintf(systemCmd, sizeof(systemCmd), "ping -c 4 www.sierrawireless.com -I %s", itfName);
}
else
{
snprintf(systemCmd, sizeof(systemCmd), "ping6 -c 4 www.sierrawireless.com -I %s", itfName);
}
uint64_t rxBytes=0, txBytes=0;
LE_INFO(
"rxBytes %ld, txBytes %ld", (
long int) rxBytes, (
long int) txBytes);
}