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 d7a_1x by
Diff: include/d7a_modem.h
- Revision:
- 29:8e7c5c1e9aab
- Parent:
- 27:934ab7455115
- Child:
- 30:d775c1409849
diff -r 0376b97b4b55 -r 8e7c5c1e9aab include/d7a_modem.h
--- a/include/d7a_modem.h Mon Apr 04 14:00:28 2016 +0000
+++ b/include/d7a_modem.h Tue May 03 16:53:52 2016 +0000
@@ -6,21 +6,31 @@
//======================================================================
typedef enum
{
- /// Soft reset MOTE
- WM_CMD_RST,
- /// Set radio to IDLE
- WM_CMD_RADIO_IDLE,
- /// Mask D7A Scan Series
- WM_CMD_SCAN_PAUSE,
- /// Unmask D7A Scan Series
- WM_CMD_SCAN_RESUME,
- // To be continued...
+ /// Soft-reset Modem Device
+ /// ARGS: none
+ WM_CMD_RST = 0x01,
+ /// Start D7A communication stack
+ /// ARGS: none TODO: pass number of fifos ?
+ WM_CMD_D7A_STACK_START = 0x02,
+ /// Stop D7A communication stack
+ /// ARGS: none
+ WM_CMD_D7A_STACK_STOP = 0x03,
+ /// Register a File for notification
+ /// ARGS: register_file_param_t
+ WM_CMD_REGISTER_FILE = 0x04,
+ /// Notify a (previously registered) file
+ /// ARGS: notify_file_param_t
+ WM_CMD_NOTIFY_FILE = 0x05,
- WM_CMD_BOOT,
- WM_CMD_READY,
- WM_CMD_REGISTER_FILE,
- WM_CMD_NOTIFY_FILE,
+ /// Send by the Modem Device after a command has been executed/taken
+ /// into account, and the Modem is ready to handle a new command.
+ /// Can be used as a command that will be instantly answered with WM_CMD_READY
+ /// ARGS: none
+ WM_CMD_READY = 0x80,
+ /// Send by the Modem Device after a (re)boot.
+ /// ARGS: boot_status_t
+ WM_CMD_BOOT = 0x81,
} d7a_cmd_t;
typedef enum {
