Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
at.h@0:09f915e6f9f6, 2016-04-13 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Apr 13 09:21:02 2016 +0000
- Revision:
- 0:09f915e6f9f6
- Child:
- 2:06fa34661f19
Fixed memory allocation issues and added enumeration to log.
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 | 0:09f915e6f9f6 | 10 | extern void AtInit(); | 
| andrewboyson | 0:09f915e6f9f6 | 11 | extern int AtMain(); | 
| andrewboyson | 0:09f915e6f9f6 | 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 | 0:09f915e6f9f6 | 24 |