|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <assert.h>#include <errno.h>#include <fcntl.h>#include <poll.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <termios.h>#include <unistd.h>#include "ca821x-posix-thread/posix-platform.h"#include "code_utils.h"
Functions | |
| void | otPlatUartSendDone (void) |
| void | otPlatUartReceived (const uint8_t *aBuf, uint16_t aBufLength) |
| void | posixPlatformRestoreTerminal (void) |
| This method restores the terminal to it's pre-openthread state. More... | |
| otError | otPlatUartEnable (void) |
| otError | otPlatUartDisable (void) |
| otError | otPlatUartSend (const uint8_t *aBuf, uint16_t aBufLength) |
| otError | otPlatUartFlush (void) |
| void | platformUartUpdateFdSet (fd_set *aReadFdSet, fd_set *aWriteFdSet, int *aMaxFd) |
| This method updates the file descriptor sets with file descriptors used by the serial driver. More... | |
| void | platformUartProcess (void) |
| This method performs radio driver processing. More... | |
| otError otPlatUartDisable | ( | void | ) |
| otError otPlatUartEnable | ( | void | ) |
| otError otPlatUartFlush | ( | void | ) |
| void otPlatUartReceived | ( | const uint8_t * | aBuf, |
| uint16_t | aBufLength | ||
| ) |
| otError otPlatUartSend | ( | const uint8_t * | aBuf, |
| uint16_t | aBufLength | ||
| ) |
| void otPlatUartSendDone | ( | void | ) |
| void platformUartProcess | ( | void | ) |
This method performs radio driver processing.
| void platformUartUpdateFdSet | ( | fd_set * | aReadFdSet, |
| fd_set * | aWriteFdSet, | ||
| int * | aMaxFd | ||
| ) |
This method updates the file descriptor sets with file descriptors used by the serial driver.
| [in,out] | aReadFdSet | A pointer to the read file descriptors. |
| [in,out] | aWriteFdSet | A pointer to the write file descriptors. |
| [in,out] | aMaxFd | A pointer to the max file descriptor. |
| void posixPlatformRestoreTerminal | ( | void | ) |
This method restores the terminal to it's pre-openthread state.