Ymodem ESP32 1.0.0
Loading...
Searching...
No Matches
YmodemTransmit.h
Go to the documentation of this file.
1
14#ifndef YMODEMTRANSMIT_H
15#define YMODEMTRANSMIT_H
16
17#include "YmodemPaquets.h"
18
30
41int sendInitialPacket(char* sendFileName, unsigned int sizeFile);
42
52int sendFileBlocks(unsigned int sizeFile, fs::File& ffd);
53
63int sendEOT();
64
74int sendLastPacket();
75
76#endif // YMODEMTRANSMIT_H
Ymodem Packet preparation functions.
int sendInitialPacket(char *sendFileName, unsigned int sizeFile)
Sends the initial packet for a file transfer using the Ymodem protocol.
int sendFileBlocks(unsigned int sizeFile, fs::File &ffd)
Sends file blocks over a communication channel.
int waitForReceiverResponse()
Waits for a response from the receiver.
int sendEOT()
Sends the End Of Transmission (EOT) signal.
int sendLastPacket()
Sends the last packet in the Ymodem transmission.