Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#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"
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 |
#define SuccessOrExit | ( | aCondition | ) |
int main | ( | void | ) |
int ot_reinitialise | ( | struct ca821x_dev * | pDeviceRef | ) |
Radio reinitialisation after sleep.
void otTaskletsSignalPending | ( | otInstance * | aInstance | ) |
void SensorHandlerTask | ( | void * | unused | ) |
Thread to handle maintaining connection to server and periodically sending data.
void vApplicationStackOverflowHook | ( | TaskHandle_t | xTask, |
signed char * | pcTaskName | ||
) |
SemaphoreHandle_t CommsMutexHandle |
TaskHandle_t CommsTaskHandle |
struct ca821x_dev sDeviceRef |
const char* uriCascodaDiscover = "ca/di" |
const char* uriCascodaSensor = "ca/se" |