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

Chili temperature sensing EVBME functions. More...

#include <stdio.h>
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_types.h"
#include "ca821x_api.h"
#include "tempsense_app.h"
#include "tempsense_evbme.h"
Include dependency graph for tempsense_evbme.c:

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 functions.

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)