mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 08:06:46 +01:00
Added the option to run an AP from another port
This commit is contained in:
@@ -5,10 +5,4 @@ bool checkForcedAPFlash();
|
||||
bool doForcedAPFlash();
|
||||
bool doAPFlash();
|
||||
bool doAPUpdate(uint8_t type);
|
||||
bool doTagFlash();
|
||||
|
||||
#define FLASHER_AP_PORT 0
|
||||
#ifdef OPENEPAPERLINK_PCB
|
||||
#define FLASHER_EXT_PORT 1
|
||||
#define FLASHER_ALTRADIO_PORT 2
|
||||
#endif
|
||||
bool doTagFlash();
|
||||
@@ -1,5 +1,11 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
#define FLASHER_AP_PORT 0
|
||||
#ifdef OPENEPAPERLINK_PCB
|
||||
#define FLASHER_EXT_PORT 1
|
||||
#define FLASHER_ALTRADIO_PORT 2
|
||||
#endif
|
||||
|
||||
// how long the we should keep the transfer metadata
|
||||
#define PENDING_TIMEOUT 24 * 3600
|
||||
// this determines how long images will be cached;
|
||||
@@ -7,6 +13,10 @@
|
||||
// maximum time (in minutes) that a tag is put to sleep if no update is expected.
|
||||
#define MIN_RESPONSE_TIME 10
|
||||
|
||||
// Which port we should use for the AP process
|
||||
// (useful for testing, can only be FLASHER_AP_PORT for any other board than the OpenEPaperLinkPCB board)
|
||||
#define AP_PROCESS_PORT FLASHER_AP_PORT
|
||||
|
||||
// flasher options
|
||||
#define CUSTOM_MAC_HDR 0x0000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user