KETCube
|
Functions | |
ketCube_cfg_ModError_t | ketCube_starNet_NodeInit (ketCube_InterModMsg_t ***msg) |
Initialize starNet Node. More... | |
ketCube_cfg_ModError_t | ketCube_starNet_ConcentratorInit (ketCube_InterModMsg_t ***msg) |
Initialize starNet Concentrator. More... | |
ketCube_cfg_ModError_t | ketCube_starNet_SleepEnter (void) |
Prepare sleep mode. More... | |
ketCube_cfg_ModError_t | ketCube_starNet_sendData (uint8_t *buffer, uint8_t *len) |
Send sensor data. More... | |
ketCube_cfg_ModError_t ketCube_starNet_ConcentratorInit | ( | ketCube_InterModMsg_t *** | msg | ) |
Initialize starNet Concentrator.
KETCUBE_CFG_MODULE_OK | in case of success |
KETCUBE_CFG_MODULE_ERROR | in case of failure |
ketCube_cfg_ModError_t ketCube_starNet_NodeInit | ( | ketCube_InterModMsg_t *** | msg | ) |
Initialize starNet Node.
KETCUBE_CFG_MODULE_OK | in case of success |
KETCUBE_CFG_MODULE_ERROR | in case of failure |
ketCube_cfg_ModError_t ketCube_starNet_sendData | ( | uint8_t * | buffer, |
uint8_t * | len | ||
) |
Send sensor data.
buffer | data buffer |
len | data length |
KETCUBE_CFG_MODULE_OK | in case of success |
KETCUBE_CFG_MODULE_ERROR | in case of failure |
ketCube_cfg_ModError_t ketCube_starNet_SleepEnter | ( | void | ) |
Prepare sleep mode.
KETCUBE_CFG_MODULE_OK | go sleep |
KETCUBE_CFG_MODULE_ERROR | do not go sleep |