Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
tempsense_evbme.h File Reference

Chili temperature sensing EVBME declarations. More...

Include dependency graph for tempsense_evbme.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EVBME_TSENSE_SETMODE   (0xC0) /* set mode (NORMAL/COORDINATOR/DEVICE) */
 
#define EVBME_TSENSE_REPORT   (0xC1) /* Report Network Status (COORDINATOR) */
 

Functions

void TEMPSENSE_Initialise (u8_t status, struct ca821x_dev *pDeviceRef)
 Initialise Chili module for temperature sensing app. More...
 
void TEMPSENSE_Handler (struct ca821x_dev *pDeviceRef)
 Chili Event Handler in Main Polling Loop. More...
 
int TEMPSENSE_UpStreamDispatch (struct SerialBuffer *SerialRxBuffer, struct ca821x_dev *pDeviceRef)
 TEMPSENSE Dispatch Branch (UpStream, Serial) More...
 
void TEMPSENSE_RegisterCallbacks (struct ca821x_dev *pDeviceRef)
 Dynamically Register Callbacks for TEMPSENSE. More...
 

Detailed Description

Chili temperature sensing EVBME declarations.

Macro Definition Documentation

◆ EVBME_TSENSE_REPORT

#define EVBME_TSENSE_REPORT   (0xC1) /* Report Network Status (COORDINATOR) */

◆ EVBME_TSENSE_SETMODE

#define EVBME_TSENSE_SETMODE   (0xC0) /* set mode (NORMAL/COORDINATOR/DEVICE) */

Function Documentation

◆ TEMPSENSE_Handler()

void TEMPSENSE_Handler ( struct ca821x_dev pDeviceRef)

Chili Event Handler in Main Polling Loop.

◆ TEMPSENSE_Initialise()

void TEMPSENSE_Initialise ( u8_t  status,
struct ca821x_dev pDeviceRef 
)

Initialise Chili module for temperature sensing app.

Parameters
status- EVBME status
pDeviceRef- pointer to a CA-821x Device reference struct

◆ TEMPSENSE_RegisterCallbacks()

void TEMPSENSE_RegisterCallbacks ( struct ca821x_dev pDeviceRef)

Dynamically Register Callbacks for TEMPSENSE.

◆ TEMPSENSE_UpStreamDispatch()

int TEMPSENSE_UpStreamDispatch ( struct SerialBuffer SerialRxBuffer,
struct ca821x_dev pDeviceRef 
)

TEMPSENSE Dispatch Branch (UpStream, Serial)