Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Debug printing functions for Cascoda API code and applications. More...
#include <assert.h>
#include <stdint.h>
#include <sys/time.h>
#include <time.h>
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_os.h"
Macros | |
#define | MAX_PUTC_CHARS (128) |
Max characters that can be buffered before being sent upstream. More... | |
Functions | |
int | putchar (int OutChar) |
putchar override for printf messages More... | |
int | fputc (int c, void *stream) |
Variables | |
uint8_t | PutcCount = 0 |
Current length of PutcBuffer. More... | |
uint8_t | PutcBuffer [MAX_PUTC_CHARS] |
Debug message buffer. More... | |
Debug printing functions for Cascoda API code and applications.
Used for binding to the system's printf functions etc.
#define MAX_PUTC_CHARS (128) |
Max characters that can be buffered before being sent upstream.
int fputc | ( | int | c, |
void * | stream | ||
) |
int putchar | ( | int | OutChar | ) |
putchar override for printf messages
Writes characters to PutcBuffer until a newline is received, at which point HOST_flush is called.
OutChar | - Character to put in output buffer |
uint8_t PutcBuffer[MAX_PUTC_CHARS] |
Debug message buffer.
uint8_t PutcCount = 0 |
Current length of PutcBuffer.