Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
thread_dev_api.c File Reference
#include <stdio.h>
#include <string.h>
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_serial.h"
#include "ca821x_api.h"
#include "ot_api_headers.h"
#include "ot_api_messages.h"
#include "platform.h"
#include "openthread/coap.h"
#include "openthread/dataset.h"
#include "openthread/instance.h"
#include "openthread/link.h"
#include "openthread/message.h"
#include "openthread/platform/radio.h"
#include "openthread/thread.h"
Include dependency graph for thread_dev_api.c:

Functions

size_t missing_strlcpy (uint8_t *dst, uint8_t *src, size_t max)
 
int otApi_Dispatch (struct SerialBuffer *SerialRxBuffer)
 otApi_Dispatch() More...
 

Variables

otInstance * OT_INSTANCE
 
u8_t HandleMac
 
u8_t xmalloc_buf [256]
 
u8_t buf1 = 0
 
u8_t buf2 = 0
 

Function Documentation

◆ missing_strlcpy()

size_t missing_strlcpy ( uint8_t *  dst,
uint8_t *  src,
size_t  max 
)

◆ otApi_Dispatch()

int otApi_Dispatch ( struct SerialBuffer SerialRxBuffer)

otApi_Dispatch()

Dispatch a thread command in the SPI receive buffer

Returns
None

Variable Documentation

◆ buf1

u8_t buf1 = 0

◆ buf2

u8_t buf2 = 0

◆ HandleMac

u8_t HandleMac

◆ OT_INSTANCE

otInstance* OT_INSTANCE
extern

◆ xmalloc_buf

u8_t xmalloc_buf[256]