Struct SYN_YMODEM_Receiver¶
ClassList > SYN_YMODEM_Receiver
YMODEM Receiver Context.
#include <syn_ymodem.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | bytes_received |
| void * | ctx |
| SYN_YMODEM_EventCallback | event_fn |
| uint8_t | expected_seq |
| char | filename |
| uint32_t | filesize |
| SYN_YMODEM_GetChar | getchar_fn |
| uint8_t | pkt_buf |
| SYN_YMODEM_PutChar | putchar_fn |
Public Attributes Documentation¶
variable bytes_received¶
Accumulated payload bytes received
variable ctx¶
User context pointer
variable event_fn¶
Event callback
variable expected_seq¶
Next expected block sequence number
variable filename¶
Parsed filename from Block 0
variable filesize¶
Parsed file size from Block 0
variable getchar_fn¶
Serial RX function
variable pkt_buf¶
Packet RX buffer
variable putchar_fn¶
Serial TX function
The documentation for this class was generated from the following file src/syntropic/proto/syn_ymodem.h