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.
Fork of C027_Support by
Diff: MDM.h
- Revision:
- 59:382695f1ce85
- Parent:
- 58:e38a2e942fbb
- Child:
- 63:42cb563a25bc
diff -r e38a2e942fbb -r 382695f1ce85 MDM.h
--- a/MDM.h Tue May 13 06:14:13 2014 +0000
+++ b/MDM.h Tue May 13 06:54:27 2014 +0000
@@ -456,7 +456,9 @@
// management struture for sockets
typedef enum { SOCK_FREE, SOCK_CREATED, SOCK_CONNECTED } SockState;
typedef struct { SockState state; int pending; unsigned int timeout_ms; } SockCtrl;
- SockCtrl _sockets[16];
+ // LISA-C has 6 TCP and 6 UDP sockets starting at index 18
+ // LISA-U and SARA-G have 7 sockets starting at index 1
+ SockCtrl _sockets[32];
static MDMParser* inst;
};
