Microchip® Advanced Software Framework

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

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

Channels

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

Data Structures

struct  rudolph2_callbacks
 
struct  rudolph2_conn
 

Files

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

 

Macros

#define RUDOLPH2_DATASIZE   64
 

Enumerations

enum  {
  RUDOLPH2_FLAG_NONE,
  RUDOLPH2_FLAG_NEWFILE,
  RUDOLPH2_FLAG_LASTCHUNK
}
 

Functions

void rudolph2_close (struct rudolph2_conn *c)
 
void rudolph2_open (struct rudolph2_conn *c, uint16_t channel, const struct rudolph2_callbacks *cb)
 
void rudolph2_send (struct rudolph2_conn *c, clock_time_t interval)
 
void rudolph2_set_version (struct rudolph2_conn *c, int version)
 
void rudolph2_stop (struct rudolph2_conn *c)
 
int rudolph2_version (struct rudolph2_conn *c)
 

#define RUDOLPH2_DATASIZE   64

anonymous enum
Enumerator
RUDOLPH2_FLAG_NONE 
RUDOLPH2_FLAG_NEWFILE 
RUDOLPH2_FLAG_LASTCHUNK 

void rudolph2_close ( struct rudolph2_conn c)
void rudolph2_open ( struct rudolph2_conn c,
uint16_t  channel,
const struct rudolph2_callbacks cb 
)
void rudolph2_send ( struct rudolph2_conn c,
clock_time_t  interval 
)
void rudolph2_set_version ( struct rudolph2_conn c,
int  version 
)
void rudolph2_stop ( struct rudolph2_conn c)
int rudolph2_version ( struct rudolph2_conn c)