Andrew Boyson
/
iot
Backing up an unused program in case of future need
esp.h@3:accba7e07a0d, 2016-04-23 (annotated)
- Committer:
- andrewboyson
- Date:
- Sat Apr 23 20:00:04 2016 +0000
- Revision:
- 3:accba7e07a0d
- Parent:
- 2:06fa34661f19
- Child:
- 4:e076884ef8bd
Separated serial queues into a generic uart module.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 0:09f915e6f9f6 | 1 | #define ESP_IDLE 0 |
andrewboyson | 0:09f915e6f9f6 | 2 | #define ESP_AVAILABLE 1 |
andrewboyson | 0:09f915e6f9f6 | 3 | #define ESP_TIMEOUT 2 |
andrewboyson | 0:09f915e6f9f6 | 4 | #define ESP_OVERFLOW 3 |
andrewboyson | 0:09f915e6f9f6 | 5 | |
andrewboyson | 0:09f915e6f9f6 | 6 | extern char EspLine[]; |
andrewboyson | 2:06fa34661f19 | 7 | extern char EspResp[]; |
andrewboyson | 0:09f915e6f9f6 | 8 | extern void *EspIpdBuffer[]; |
andrewboyson | 0:09f915e6f9f6 | 9 | extern int EspIpdBufferLen[]; |
andrewboyson | 0:09f915e6f9f6 | 10 | extern int EspIpdReserved[]; |
andrewboyson | 0:09f915e6f9f6 | 11 | extern int EspIpdId; |
andrewboyson | 0:09f915e6f9f6 | 12 | extern int EspIpdLength; |
andrewboyson | 0:09f915e6f9f6 | 13 | extern int EspLineAvailable; |
andrewboyson | 0:09f915e6f9f6 | 14 | extern int EspDataAvailable; |
andrewboyson | 0:09f915e6f9f6 | 15 | extern int EspLineIs(char * text); |
andrewboyson | 0:09f915e6f9f6 | 16 | |
andrewboyson | 0:09f915e6f9f6 | 17 | extern int EspMain(); |
andrewboyson | 0:09f915e6f9f6 | 18 | extern void EspResetAndStop(); |
andrewboyson | 0:09f915e6f9f6 | 19 | extern void EspReleaseFromReset(void); |
andrewboyson | 2:06fa34661f19 | 20 | extern int EspInit(void); |
andrewboyson | 0:09f915e6f9f6 | 21 | |
andrewboyson | 0:09f915e6f9f6 | 22 | extern int EspLengthToSend; |
andrewboyson | 0:09f915e6f9f6 | 23 | extern const void * EspDataToSend; |
andrewboyson | 0:09f915e6f9f6 | 24 | extern void EspSendData(int length, const void * buf); |
andrewboyson | 0:09f915e6f9f6 | 25 | |
andrewboyson | 0:09f915e6f9f6 | 26 | extern void EspSendStringF(char *fmt, ...); |
andrewboyson | 0:09f915e6f9f6 | 27 | extern void EspSendString(char * buf); |