Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdio.h>
#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-util/cascoda_time.h"
#include "openthread/cli.h"
#include "openthread/instance.h"
#include "openthread/link.h"
#include "openthread/thread.h"
#include "platform.h"
#include "lwip/api.h"
#include "lwip/dns.h"
#include "lwip/netdb.h"
#include "lwip/opt.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include "lwip/tcp.h"
#include "lwip/tcpip.h"
#include "lwip-port.h"
#include "lwip_freertos_demo.h"
Classes | |
struct | CliCommand |
Enumerations | |
enum | { DEMO_PORT = 51700 , CLI_MAXARGS = 32 , CLI_MAXLEN = 256 } |
Functions | |
void | handle_cli_lwipdemo (void *aContext, uint8_t aArgsLength, char *aArgs[]) |
Process a CLI command to change the state of the lwip demo. More... | |
ca_error | init_lwipdemo_freertos (otInstance *aInstance, struct ca821x_dev *pDeviceRef) |
Initialise the lwip demo cli. More... | |
void handle_cli_lwipdemo | ( | void * | aContext, |
uint8_t | aArgsLength, | ||
char * | aArgs[] | ||
) |
Process a CLI command to change the state of the lwip demo.
Should be linked to the openthread CLI using otCliSetUserCommands.
aContext | CLI Context |
aArgsLength | size of aArgs string array |
aArgs | array of arguments |
ca_error init_lwipdemo_freertos | ( | otInstance * | aInstance, |
struct ca821x_dev * | pDeviceRef | ||
) |
Initialise the lwip demo cli.
aInstance | Openthread instance |
pDeviceRef | Cascoda initialised device struct |