Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
serial-test.c File Reference
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <string.h>
#include "ca821x-posix/ca821x-posix-evbme.h"
#include "ca821x-posix/ca821x-posix.h"
#include "evbme_messages.h"
Include dependency graph for serial-test.c:

Functions

int main (int argc, char *argv[])
 

Variables

struct ca821x_dev sDeviceRef
 
uint32_t numberOfMessagesSent
 
uint32_t numberOfIndicationsReceived = 0
 
uint32_t mReceivedIndications [300]
 
uint32_t position = 0
 
uint8_t previousHandle = 0
 
uint8_t count = 0
 
int missedHandles = 0
 
char * resultsOption
 
struct timespec * start
 
struct timespec * end
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ count

uint8_t count = 0

◆ end

struct timespec* end

◆ missedHandles

int missedHandles = 0

◆ mReceivedIndications

uint32_t mReceivedIndications[300]

◆ numberOfIndicationsReceived

uint32_t numberOfIndicationsReceived = 0

◆ numberOfMessagesSent

uint32_t numberOfMessagesSent

◆ position

uint32_t position = 0

◆ previousHandle

uint8_t previousHandle = 0

◆ resultsOption

char* resultsOption

◆ sDeviceRef

struct ca821x_dev sDeviceRef

◆ start

struct timespec* start