Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sed_freertos.c File Reference
#include <stdlib.h>
#include <string.h>
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_os.h"
#include "cascoda-bm/cascoda_serial.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-bm/test15_4_evbme.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "openthread/coap.h"
#include "openthread/instance.h"
#include "openthread/link.h"
#include "openthread/tasklet.h"
#include "openthread/thread.h"
#include "platform.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "task.h"
#include "cbor.h"
Include dependency graph for sed_freertos.c:

Macros

#define SuccessOrExit(aCondition)
 

Functions

int ot_reinitialise (struct ca821x_dev *pDeviceRef)
 Radio reinitialisation after sleep. More...
 
void otTaskletsSignalPending (otInstance *aInstance)
 
void SensorHandlerTask (void *unused)
 Thread to handle maintaining connection to server and periodically sending data. More...
 
int main (void)
 
void vApplicationStackOverflowHook (TaskHandle_t xTask, signed char *pcTaskName)
 

Variables

const char * uriCascodaDiscover = "ca/di"
 
const char * uriCascodaSensor = "ca/se"
 
otInstance * OT_INSTANCE
 
struct ca821x_dev sDeviceRef
 
TaskHandle_t CommsTaskHandle
 
SemaphoreHandle_t CommsMutexHandle
 

Macro Definition Documentation

◆ SuccessOrExit

#define SuccessOrExit (   aCondition)
Value:
do \
{ \
if ((aCondition) != 0) \
{ \
goto exit; \
} \
} while (0)

Function Documentation

◆ main()

int main ( void  )

◆ ot_reinitialise()

int ot_reinitialise ( struct ca821x_dev pDeviceRef)

Radio reinitialisation after sleep.

◆ otTaskletsSignalPending()

void otTaskletsSignalPending ( otInstance *  aInstance)

◆ SensorHandlerTask()

void SensorHandlerTask ( void *  unused)

Thread to handle maintaining connection to server and periodically sending data.

◆ vApplicationStackOverflowHook()

void vApplicationStackOverflowHook ( TaskHandle_t  xTask,
signed char *  pcTaskName 
)

Variable Documentation

◆ CommsMutexHandle

SemaphoreHandle_t CommsMutexHandle

◆ CommsTaskHandle

TaskHandle_t CommsTaskHandle

◆ sDeviceRef

struct ca821x_dev sDeviceRef

◆ uriCascodaDiscover

const char* uriCascodaDiscover = "ca/di"

◆ uriCascodaSensor

const char* uriCascodaSensor = "ca/se"