Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include "ca821x_api.h"
Go to the source code of this file.
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 (otInstance *aInstance, struct ca821x_dev *pDeviceRef) |
Initialise the lwip demo. 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 | ( | otInstance * | aInstance, |
struct ca821x_dev * | pDeviceRef | ||
) |
Initialise the lwip demo.
Should be called once at program startup.
aInstance | - Pointer to an OpenThread instance. |
pDeviceRef | - Pointer to initialised ca821x_device_ref struct. |