S.F.T. XMODEM Library
1.0
|
main header file for S.F.T. XMODEM library More...
#include <stdlib.h>
#include <Arduino.h>
#include <SD.h>
#include <HardwareSerial.h>
#include <avr/pgmspace.h>
Go to the source code of this file.
Defines | |
#define | FILE_TYPE File |
#define | SERIAL_TYPE HardwareSerial * |
#define | SILENCE_TIMEOUT 5000 /* 5 seconds */ |
#define | TOTAL_ERROR_COUNT 32 |
#define | ACK_ERROR_COUNT 8 |
Functions | |
short | XReceive (SDClass *pSD, HardwareSerial *pSer, const char *szFilename) |
Receive a file using XMODEM protocol (ARDUINO version) | |
int | XSend (SDClass *pSD, HardwareSerial *pSer, const char *szFilename) |
Send a file using XMODEM protocol (ARDUINO version) |