Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Single-hop reliable bulk data transfer

The rudolph0 module implements a single-hop reliable bulk data transfer mechanism.

Channels

The rudolph0 module uses 2 channels; one for data packets and one for NACK and repair packets.

Data Structures

struct  rudolph0_callbacks
 
struct  rudolph0_conn
 
struct  rudolph0_datapacket
 
struct  rudolph0_hdr
 

Files

file  rudolph0.h
 
    Header file for the single-hop reliable bulk data transfer module

 

Macros

#define RUDOLPH0_DATASIZE   64
 

Enumerations

enum  {
  RUDOLPH0_FLAG_NONE,
  RUDOLPH0_FLAG_NEWFILE,
  RUDOLPH0_FLAG_LASTCHUNK
}
 

Functions

void rudolph0_close (struct rudolph0_conn *c)
 
void rudolph0_force_restart (struct rudolph0_conn *c)
 
void rudolph0_open (struct rudolph0_conn *c, uint16_t channel, const struct rudolph0_callbacks *cb)
 
void rudolph0_send (struct rudolph0_conn *c, clock_time_t interval)
 
void rudolph0_set_version (struct rudolph0_conn *c, int version)
 
void rudolph0_stop (struct rudolph0_conn *c)
 
int rudolph0_version (struct rudolph0_conn *c)
 

#define RUDOLPH0_DATASIZE   64

anonymous enum
Enumerator
RUDOLPH0_FLAG_NONE 
RUDOLPH0_FLAG_NEWFILE 
RUDOLPH0_FLAG_LASTCHUNK 

void rudolph0_close ( struct rudolph0_conn c)
void rudolph0_force_restart ( struct rudolph0_conn c)
void rudolph0_open ( struct rudolph0_conn c,
uint16_t  channel,
const struct rudolph0_callbacks cb 
)
void rudolph0_send ( struct rudolph0_conn c,
clock_time_t  interval 
)
void rudolph0_set_version ( struct rudolph0_conn c,
int  version 
)
void rudolph0_stop ( struct rudolph0_conn c)
int rudolph0_version ( struct rudolph0_conn c)