|
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/cli.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 "lwip/init.h"#include "lwip/tcpip.h"#include "lwip-port.h"#include "lwip_freertos_demo.h"
Macros | |
| #define | SuccessOrExit(aCondition) |
Functions | |
| void | otTaskletsSignalPending (otInstance *aInstance) |
| ca_error | LockCommsThread () |
| Lock the comms thread so that Cascoda/Openthread API calls can be made. More... | |
| ca_error | UnlockCommsThread () |
| Unlock the comms thread so that Cascoda/Openthread stacks can run. More... | |
| int | main (void) |
| void | vApplicationStackOverflowHook (TaskHandle_t xTask, signed char *pcTaskName) |
Variables | |
| otInstance * | OT_INSTANCE |
| TaskHandle_t | CommsTaskHandle |
| SemaphoreHandle_t | CommsMutexHandle |
| #define SuccessOrExit | ( | aCondition | ) |
| ca_error LockCommsThread | ( | void | ) |
Lock the comms thread so that Cascoda/Openthread API calls can be made.
| CA_ERROR_SUCCESS | Lock successful |
| CA_ERROR_BUSY | Lock could not be taken |
| int main | ( | void | ) |
| void otTaskletsSignalPending | ( | otInstance * | aInstance | ) |
| ca_error UnlockCommsThread | ( | void | ) |
Unlock the comms thread so that Cascoda/Openthread stacks can run.
| CA_ERROR_SUCCESS | Unlock successful |
| CA_ERROR_INVALID_STATE | Invalid state |
| void vApplicationStackOverflowHook | ( | TaskHandle_t | xTask, |
| signed char * | pcTaskName | ||
| ) |
| SemaphoreHandle_t CommsMutexHandle |
| TaskHandle_t CommsTaskHandle |