19 #ifndef API_ROVER_UTILS_HPP_ 20 #define API_ROVER_UTILS_HPP_ 73 int getHonoCloudStatus (
char * host_name,
int port,
char * tenant_name,
char * device_id,
char * user,
char * password);
int getWlanStatus(void)
Returns whether the wlan0 interface is on (1) or off (0).
Definition: rover_utils.cpp:49
void getCoreUtilization(float coreUtil[numberOfCores])
Obtain the core utilization of each core in rover's Raspberry Pi. Uses an external script called read...
Definition: rover_utils.cpp:20
int getInternetStatus(void)
Returns whether the internet is on (1) or off (0).
Definition: rover_utils.cpp:59
RoverUtils contains member functions to retrieve connectivity status and core utilization of the rove...
Definition: rover_utils.hpp:31
rover Namespace contains classes to manage Rover sensors, gpio, buzzer, buttons, driving, utilities, and cloud.
Definition: rover_api.hpp:293
int getHonoCloudStatus(char *host_name, int port, char *tenant_name, char *device_id, char *user, char *password)
Returns whether the remote Eclipse Hono instance is on (1) or off (0).
Definition: rover_utils.cpp:69
static const int numberOfCores
Definition: rover_utils.hpp:36
int getBluetoothStatus(void)
Returns whether the bluetooth is on (1) or off (0).
Definition: rover_utils.cpp:64
int getEthernetStatus(void)
Returns whether the eth0 interface is on (1) or off (0).
Definition: rover_utils.cpp:54