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_serial.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-bm/test15_4_evbme.h"
#include "cascoda-util/cascoda_tasklet.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 "cbor.h"
Enumerations | |
enum | { SENSORDATA_PERIOD = 5000 , SENSOR_POLL_DELAY = 250 , DISCOVERY_PERIOD = 30000 , DISCOVERY_POLL_DELAY = 2000 , INITIAL_DELAY = 5000 } |
Functions | |
int | ot_reinitialise (struct ca821x_dev *pDeviceRef) |
Radio reinitialisation after sleep. More... | |
void | otTaskletsSignalPending (otInstance *aInstance) |
ca_error | PollHandler (void *aContext) |
ca_error | SensorHandler (void *aContext) |
int | main (void) |
Variables | |
otInstance * | OT_INSTANCE |
anonymous enum |
int main | ( | void | ) |
int ot_reinitialise | ( | struct ca821x_dev * | pDeviceRef | ) |
Radio reinitialisation after sleep.
void otTaskletsSignalPending | ( | otInstance * | aInstance | ) |
ca_error PollHandler | ( | void * | aContext | ) |
ca_error SensorHandler | ( | void * | aContext | ) |