| | 48 | |
| | 49 | == Modem AT Commands |
| | 50 | The Iridium SBD modems communicate via AT commands over a UART (default 19200 baud) |
| | 51 | |
| | 52 | AT Commands via picocom: (only works if there is one ftdi device being used) |
| | 53 | {{{#!bash |
| | 54 | DEVICE=/dev/$(basename $(ls -d /sys/bus/usb/drivers/ftdi_sio/*/ttyUSB*)) |
| | 55 | picocom $DEVICE -b 19200 --omap lfcr |
| | 56 | }}} |
| | 57 | |
| | 58 | AT Commands via shell: (only works if there is one ftdi device being used) |
| | 59 | {{{#!bash |
| | 60 | DEVICE=/dev/$(basename $(ls -d /sys/bus/usb/drivers/ftdi_sio/*/ttyUSB*)) |
| | 61 | stty -F $DEVICE 19200 ignbrk -brkint -icrnl -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke |
| | 62 | cat $DEVICE & |
| | 63 | at() { echo -n -e "$1\r" > $DEVICE; } |
| | 64 | at "AT+GMI" # Manufacturer Identification 'Iridium' |
| | 65 | at "AT+GMM" # Model Identification 'IRIDIUM 9600 Family SBD Transceiver' |
| | 66 | at "AT+GMR" # Revision details |
| | 67 | at "AT+GSN" # serial number (IEMI) |
| | 68 | at "AT+CSQ" # signal strength (0 to 5): '+CSQ:0' |
| | 69 | }}} |
| | 70 | |
| | 71 | Additional commands: |
| | 72 | * Send message to configured email address in modem admin (described above in modem management) |
| | 73 | {{{ |
| | 74 | AT&K0 |
| | 75 | AT+SBDWT=Hello World |
| | 76 | AT+SBDIX |
| | 77 | }}} |
| | 78 | |
| | 79 | == Reference Links |
| | 80 | |
| | 81 | * Drifting Buoy Project using 9603 http://mdbuoyproject.wixsite.com/default |
| | 82 | |