RCOM PROJ
File transfer via serial port
linkLayer Struct Reference

Struct to hold information about the Link Layer. More...

#include <dcp.h>

Data Fields

char port [20]
 
int baudRate
 
unsigned char sequenceNumber
 
unsigned int timeout
 
unsigned int numTransmissions
 
unsigned char frame [MAX_SIZE_AFT_STUFF]
 
unsigned int status
 

Detailed Description

Struct to hold information about the Link Layer.

Field Documentation

◆ baudRate

int baudRate

Referenced by initConnection().

◆ frame

unsigned char frame[MAX_SIZE_AFT_STUFF]

Referenced by processBCC_OK(), and stateMachine().

◆ numTransmissions

unsigned int numTransmissions

Referenced by initConnection(), and writeCycle().

◆ port

char port[20]

Referenced by initConnection().

◆ sequenceNumber

unsigned char sequenceNumber

◆ status

unsigned int status

Referenced by llclose(), and llopen().

◆ timeout

unsigned int timeout

The documentation for this struct was generated from the following file: