Andrew Boyson
/
iot
Backing up an unused program in case of future need
at.h@8:45a0205a298f, 2018-12-06 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Dec 06 11:40:19 2018 +0000
- Revision:
- 8:45a0205a298f
- Parent:
- 2:06fa34661f19
Backing up
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 0:09f915e6f9f6 | 1 | |
andrewboyson | 0:09f915e6f9f6 | 2 | //These are the statuses fed back to each command if pStatus is not null. Negative on failure. |
andrewboyson | 0:09f915e6f9f6 | 3 | #define AT_NONE 0 |
andrewboyson | 0:09f915e6f9f6 | 4 | #define AT_SUCCESS 1 |
andrewboyson | 0:09f915e6f9f6 | 5 | #define AT_ERROR -1 |
andrewboyson | 0:09f915e6f9f6 | 6 | #define AT_RESPONCE_TIMEOUT -2 |
andrewboyson | 0:09f915e6f9f6 | 7 | #define AT_LINE_TIMEOUT -3 |
andrewboyson | 0:09f915e6f9f6 | 8 | #define AT_LINE_OVERFLOW -4 |
andrewboyson | 0:09f915e6f9f6 | 9 | |
andrewboyson | 2:06fa34661f19 | 10 | extern int AtInit(); |
andrewboyson | 2:06fa34661f19 | 11 | extern int AtMain(); |
andrewboyson | 2:06fa34661f19 | 12 | extern int AtBusy(); |
andrewboyson | 0:09f915e6f9f6 | 13 | |
andrewboyson | 0:09f915e6f9f6 | 14 | extern void AtResetAndStop(); |
andrewboyson | 0:09f915e6f9f6 | 15 | extern void AtAt(int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 16 | extern void AtReleaseResetAndStart(int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 17 | extern void AtConnect(const char *ssid, const char *password, int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 18 | extern void AtSendData(int id, int length, const void * pData, int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 19 | extern void AtConnectId(int id, char * type, char * addr, int port, void * buffer, int bufferlength, int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 20 | extern void AtStartServer(int port, int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 21 | extern void AtClose(int id, int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 22 | extern void AtMux(int *pStatus); |
andrewboyson | 0:09f915e6f9f6 | 23 | extern void AtBaud(int baud, int *pStatus); |
andrewboyson | 2:06fa34661f19 | 24 | extern int AtEspStatus; |
andrewboyson | 2:06fa34661f19 | 25 | extern void AtGetEspStatus(int *pStatus); |
andrewboyson | 2:06fa34661f19 | 26 | extern char AtEspVersion[]; |
andrewboyson | 2:06fa34661f19 | 27 | extern void AtGetEspVersion(int *pStatus); |