SBDCTL Quick Check: Difference between revisions

From embeddedTS Manuals
(Created page.)
 
No edit summary
 
Line 1: Line 1:
To sanity-check the TS-IRIDIUM without transmitting messages over the satellite network, the IRIDIUM module includes a data transfer function, copying data from the transmit buffer to the receive buffer.  The sbdctl utility can be used to exercise this function:
To sanity-check the TS-IRIDIUM without transmitting messages over the satellite network, the IRIDIUM module includes a data transfer function, copying data from the transmit buffer to the receive buffer.  The <source inline>sbdctl</source> utility can be used to exercise this function:


<pre style="font-family:monospace,Courier New ;background:black; width:18cm; white-space: pre-wrap; white-space: -moz-pre-wrap; word-wrap: break-word; color:white; ">
<pre style="font-family:monospace,Courier New ;background:black; width:18cm; white-space: pre-wrap; white-space: -moz-pre-wrap; word-wrap: break-word; color:white; ">

Latest revision as of 15:39, 30 March 2020

To sanity-check the TS-IRIDIUM without transmitting messages over the satellite network, the IRIDIUM module includes a data transfer function, copying data from the transmit buffer to the receive buffer. The sbdctl utility can be used to exercise this function:

root@ts7800-v2:/u/home/mpeters/code/iridium# sbdctl --info
MODEM_FIRMWARE=ate0v1&k0q1TA16005
MODEM_HARDWARE=IRIDIUM 9600 Family
MODEM_HW_INFO=BOOT07d2/9602NrvA-D/04/RAW0d
IMEI=<<REDACTED>>
RSSI=0
GW_TYPE=EMSS
RAW_MSGEO=-1968,-4940,3504,0x720d20d1
MSSTM=0xbea06a10
RAW_SBDSX=0,0,0,-1,0,0
INBOX_STATUS=0
OUTBOX_PENDING=0
SERVER_MSG_PENDING=0
root@ts7800-v2:/u/home/mpeters/code/iridium# sbdctl -D 10 < qwerty.txt
root@ts7800-v2:/u/home/mpeters/code/iridium# sbdctl -a
MOMTCP_BYTES=10
root@ts7800-v2:/u/home/mpeters/code/iridium# sbdctl -d | hexdump -c
0000000   q   w   e   r   t   y   u   i   o   p 004   i
000000c
root@ts7800-v2:/u/home/mpeters/code/iridium#