error_e NetStat::GetWifiTotalTxBytes(void)
{
- uint64_t tx_bytes = 0;
+ unsigned long long tx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
g_variant_get(message, "(t)", &tx_bytes);
g_variant_unref(message);
- GLOGD("Succeeded to get wifi total tx bytes %d", tx_bytes);
+ GLOGD("Succeeded to get wifi total tx bytes %llu", tx_bytes);
return ERROR_NONE;
}
error_e NetStat::GetWifiTotalRxBytes(void)
{
- uint64_t rx_bytes = 0;
+ unsigned long long rx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
g_variant_get(message, "(t)", &rx_bytes);
g_variant_unref(message);
- GLOGD("Succeeded to get wifi total rx bytes %d", rx_bytes);
+ GLOGD("Succeeded to get wifi total rx bytes %llu", rx_bytes);
return ERROR_NONE;
}
error_e NetStat::GetWifiLastTxBytes(void)
{
- uint64_t tx_bytes = 0;
+ unsigned long long tx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
g_variant_get(message, "(t)", &tx_bytes);
g_variant_unref(message);
- GLOGD("Succeeded to get wifi last tx bytes %d", tx_bytes);
+ GLOGD("Succeeded to get wifi last tx bytes %llu", tx_bytes);
return ERROR_NONE;
}
error_e NetStat::GetWifiLastRxBytes(void)
{
- uint64_t rx_bytes = 0;
+ unsigned long long rx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
g_variant_get(message, "(t)", &rx_bytes);
g_variant_unref(message);
- GLOGD("Succeeded to get wifi last rx bytes %d", rx_bytes);
+ GLOGD("Succeeded to get wifi last rx bytes %llu", rx_bytes);
return ERROR_NONE;
}