ReceivePacket() is only used within IAP_Main.
 
Symbols
loading...
Files
loading...

ReceivePacket() function

Receive a packet from sender

Syntax

static HAL_StatusTypeDef ReceivePacket(uint8_t *p_data,     uint32_t *p_length,     uint32_t timeout);
Implemented in ymodem.c:61

Arguments

p_data

p_length

timeout

Return value

HAL_OK: normally return HAL_BUSY: abort by user

References

LocationReferrerText
ymodem.c:61
static HAL_StatusTypeDef ReceivePacket(uint8_t *p_data, uint32_t *p_length, uint32_t timeout)
ymodem.c:43
static HAL_StatusTypeDef ReceivePacket(uint8_t *p_data, uint32_t *p_length, uint32_t timeout);
ymodem.c:308Ymodem_Receive()
switch (ReceivePacket(aPacketData, &packet_length, DOWNLOAD_TIMEOUT))

Call Tree

Functions calling ReceivePacket()
Functions called by ReceivePacket()
all items filtered out
ReceivePacket()
all items filtered out
Data read by ReceivePacket()
Data written by ReceivePacket()
ReceivePacket()::crc
ReceivePacket()::packet_size
ReceivePacket()::status
ReceivePacket()::char1
all items filtered out
ReceivePacket()
ReceivePacket()::crc
ReceivePacket()::packet_size
ReceivePacket()::status
all items filtered out
Type of ReceivePacket()
ReceivePacket()
uint8_t
uint32_t
all items filtered out