Difference between revisions of "Raw sat"
Samneurohack (talk | contribs) (→Software) |
Samneurohack (talk | contribs) m |
||
Line 21: | Line 21: | ||
AT+SBDWT=Hello<br /> | AT+SBDWT=Hello<br /> | ||
AT+SBDIX<br /> | AT+SBDIX<br /> | ||
+ | |||
+ | = MT and how to use RING = | ||
+ | |||
+ | After registration : | ||
+ | * AT+SBDSX gives if the RING is set, but the number of waiting messages are unknown | ||
+ | * With a SBDI command, one can get the first waiting message transfered from space to MT buffer and will set the RING to 0 | ||
+ | * The message text in MT buffer can be read with AT+SBDRT | ||
+ | * A new AT+SBDSX gives the number of still waiting messages. If any, again : ask for transfer in MT buffer and read it. | ||
+ | |||
== Get Signal get 0-5 (rssi) == | == Get Signal get 0-5 (rssi) == | ||
Line 44: | Line 53: | ||
== Revision == | == Revision == | ||
+ | |||
AT+GMR ou AT+CGMR | AT+GMR ou AT+CGMR | ||
Line 50: | Line 60: | ||
AT-MSGEO<br /> | AT-MSGEO<br /> | ||
Answer is like -MSGEO: 4208,168,4772,2fa14b4d | Answer is like -MSGEO: 4208,168,4772,2fa14b4d | ||
+ | |||
+ | == RING mode query == | ||
+ | |||
+ | AT+SBDMTA? | ||
+ | |||
+ | |||
+ | == RING set mode == | ||
+ | |||
+ | AT+SBDMTA=0 off | ||
+ | AT+SBDMTA=1 on | ||
== Ring status == | == Ring status == | ||
Line 55: | Line 75: | ||
AT+CRIS<br /> | AT+CRIS<br /> | ||
Answer is like +CRIS:000,000 (phone/fax,SBD) | Answer is like +CRIS:000,000 (phone/fax,SBD) | ||
+ | See down bellow a better way to use RING. | ||
==RING status extended == | ==RING status extended == | ||
Line 61: | Line 82: | ||
Answer is like +CRISX:000,000,00000000 (phone/fax,SBD,timestamp) | Answer is like +CRISX:000,000,00000000 (phone/fax,SBD,timestamp) | ||
− | |||
− | |||
== Registration status == | == Registration status == | ||
Line 109: | Line 128: | ||
== Initiate connection and transfer either way == | == Initiate connection and transfer either way == | ||
AT+SBDIX<br /> | AT+SBDIX<br /> | ||
+ | |||
= Rockblock + = | = Rockblock + = |
Revision as of 16:36, 13 November 2016
This page explain how to use Iridium satellite constellation for short burst data messages with a rockblock device.
You'll need to pay for the monthly fee (6 £) and buy credits to use this how to.
All text with these recipes will transfer without crypto. If you need crypto or a web interface, try Sat Messenger / RBS
Contents
- 1 Software
- 2 MT and how to use RING
- 2.1 Get Signal get 0-5 (rssi)
- 2.2 Get IMEI
- 2.3 Request system time
- 2.4 Manufacturer Identification
- 2.5 Model Identification
- 2.6 Revision
- 2.7 Geolocation Information
- 2.8 RING mode query
- 2.9 RING set mode
- 2.10 Ring status
- 2.11 RING status extended
- 2.12 Registration status
- 2.13 Initiate registration status
- 2.14 Read a Text Message
- 2.15 Remove Flow Control
- 2.16 Stock text message in buffer
- 2.17 Short Burst Data: Status
- 2.18 Short Burst Data: Status Extended
- 2.19 Trafic Management status
- 2.20 Short Burst Data: Gateway
- 2.21 Lock status
- 2.22 Initiate connection to satellite
- 2.23 Initiate connection and transfer either way
- 3 Rockblock +
Software
- See the hardware part to setup serial communication.
- Get serial communication software like coolterm or picocom.
- Depending on your computer select the right serial port like : /dev/ttyUSB0, /dev/tty.usbserial (type ls /dev/ in a terminal)
- Setup 19200 baud and default 0D 0A line feed is fine. (Official Rock7 documentation is wrong !!)
- Repository for python style : here
You need to type "AT Commands" and the rockblock will answer like all modems. You can start with AT The modem will answer : OK
Send a message
AT&K0
AT+SBDWT=Hello
AT+SBDIX
MT and how to use RING
After registration :
- AT+SBDSX gives if the RING is set, but the number of waiting messages are unknown
- With a SBDI command, one can get the first waiting message transfered from space to MT buffer and will set the RING to 0
- The message text in MT buffer can be read with AT+SBDRT
- A new AT+SBDSX gives the number of still waiting messages. If any, again : ask for transfer in MT buffer and read it.
Get Signal get 0-5 (rssi)
AT+CSQ
Get IMEI
AT+GSN
Request system time
AT-MSSTM
answer is like : MSSTM: 2fbb7248
Manufacturer Identification
AT+GMI ou AT+CGMI
Model Identification
AT+GMM
Revision
AT+GMR ou AT+CGMR
Geolocation Information
AT-MSGEO
Answer is like -MSGEO: 4208,168,4772,2fa14b4d
RING mode query
AT+SBDMTA?
RING set mode
AT+SBDMTA=0 off AT+SBDMTA=1 on
Ring status
AT+CRIS
Answer is like +CRIS:000,000 (phone/fax,SBD)
See down bellow a better way to use RING.
RING status extended
AT+CRISX
Answer is like +CRISX:000,000,00000000 (phone/fax,SBD,timestamp)
Registration status
AT+SBREG
Initiate registration status
AT+SBDREG?
0 Detached 1 Not registered 2 Registered 3 Registration denied
Read a Text Message
AT+SBDRT
Remove Flow Control
AT&K0
Stock text message in buffer
AT+SBDWT=Hello World
Short Burst Data: Status
AT+SBDS
like +SBDS: 1, 33, 0, -1
Short Burst Data: Status Extended
AT+SBDSX
- like +SBDSX: 1, 33, 0, -1, 0, 0
Trafic Management status
AT+SBDLOE
like +SBDLOE:0,0
Short Burst Data: Gateway
+SBDGW
EMSS ou non EMSS
Lock status
AT+CULK?
Initiate connection to satellite
AT+SBDI
+SBDI:<MO status>,<MOMSN>,<MT status>,<MTMSN>,<MT length>,<MT queued>
Initiate connection and transfer either way
AT+SBDIX
Rockblock +
IP 68 / 9-30V. You need :
- USB <-> serial DB9 adapter like a "Ugreen 2M USB 2.0 to Serial RS232 DB9 9Pin PL2303 Cable Adapter Converter".