Transmit Binary Data
This section details how to transmit binary data using your RockBLOCK module. Ensure that your RockBLOCK is properly connected to a power supply and that the serial communication is correctly set up before proceeding.
The following sequence of commands allows you to send a binary message through the RockBLOCK device to the Iridium Satellite Network, including the handling of mandatory checksums and the initiation of an Extended SBD (Short Burst Data) Session.
/* Define binary message length in MO buffer not including the mandatory 2-byte checksum */
AT+SBDWB=[<SBD Message Length>]\r
/* Receive response indicating readiness to receive the binary message */
READY\r
/* Stream binary message followed by a 2-byte checksum. */
<Binary Message>+<Checksum>\r
/* Receive Response indicating the status of the message write operation */
<Status>\r
OK\r
/* Initiate an Extended SBD Session */
AT+SBDIX\r
/* Receive response containing the session result */
+SBDIX: <MO status>, <MOMSN>, <MT status>, <MTMSN>, <MT length>, <MT queued>\r
This process starts by setting the length of the binary message that will be stored in the Mobile Originated (MO) buffer, excluding the checksum. Once the device is ready (READY response), the binary message along with its checksum is sent. Upon successful receipt and storage of the message, the device responds with a status. Following this, an Extended SBD Session is initiated to transmit the stored message to the Iridium network and check for any incoming messages.
Ensure to handle each response correctly to verify successful communication and troubleshoot any issues that may arise during the transmission process.