src/w2/scripts/HWTVideo/libhdhomerun/hdhomerun_pkt.h File Reference


Functions

uint8_t hdhomerun_read_u8 (uint8_t **pptr)
uint16_t hdhomerun_read_u16 (uint8_t **pptr)
uint32_t hdhomerun_read_u32 (uint8_t **pptr)
size_t hdhomerun_read_var_length (uint8_t **pptr, uint8_t *end)
void hdhomerun_write_u8 (uint8_t **pptr, uint8_t v)
void hdhomerun_write_u16 (uint8_t **pptr, uint16_t v)
void hdhomerun_write_u32 (uint8_t **pptr, uint32_t v)
void hdhomerun_write_var_length (uint8_t **pptr, size_t v)
void hdhomerun_write_mem (uint8_t **pptr, const void *mem, size_t length)
void hdhomerun_write_header_length (uint8_t *buffer, uint8_t *end)
void hdhomerun_write_crc (uint8_t **pptr, uint8_t *start)
size_t hdhomerun_peek_packet_length (uint8_t *ptr)
int hdhomerun_process_packet (uint8_t **pptr, uint8_t **pend)
int hdhomerun_read_tlv (uint8_t **pptr, uint8_t *end, uint8_t *ptag, size_t *plength, uint8_t **pvalue)
void hdhomerun_write_discover_request (uint8_t **pptr, uint32_t device_type, uint32_t device_id)
void hdhomerun_write_get_set_request (uint8_t **pptr, const char *name, const char *value)
void hdhomerun_write_upgrade_request (uint8_t **pptr, uint32_t sequence, void *data, size_t length)


Function Documentation

size_t hdhomerun_peek_packet_length ( uint8_t ptr  ) 

int hdhomerun_process_packet ( uint8_t **  pptr,
uint8_t **  pend 
)

int hdhomerun_read_tlv ( uint8_t **  pptr,
uint8_t end,
uint8_t ptag,
size_t *  plength,
uint8_t **  pvalue 
)

uint16_t hdhomerun_read_u16 ( uint8_t **  pptr  ) 

uint32_t hdhomerun_read_u32 ( uint8_t **  pptr  ) 

uint8_t hdhomerun_read_u8 ( uint8_t **  pptr  ) 

size_t hdhomerun_read_var_length ( uint8_t **  pptr,
uint8_t end 
)

void hdhomerun_write_crc ( uint8_t **  pptr,
uint8_t start 
)

void hdhomerun_write_discover_request ( uint8_t **  pptr,
uint32_t  device_type,
uint32_t  device_id 
)

void hdhomerun_write_get_set_request ( uint8_t **  pptr,
const char *  name,
const char *  value 
)

void hdhomerun_write_header_length ( uint8_t buffer,
uint8_t end 
)

void hdhomerun_write_mem ( uint8_t **  pptr,
const void *  mem,
size_t  length 
)

void hdhomerun_write_u16 ( uint8_t **  pptr,
uint16_t  v 
)

void hdhomerun_write_u32 ( uint8_t **  pptr,
uint32_t  v 
)

void hdhomerun_write_u8 ( uint8_t **  pptr,
uint8_t  v 
)

void hdhomerun_write_upgrade_request ( uint8_t **  pptr,
uint32_t  sequence,
void *  data,
size_t  length 
)

void hdhomerun_write_var_length ( uint8_t **  pptr,
size_t  v 
)


Generated on Fri May 4 13:40:10 2012 for WDSS-IIw2 by  doxygen 1.4.7