Changes

Line 266: Line 266:     
==SBD packet example==
 
==SBD packet example==
{| class="wikitable" style="font-weight:bold; text-align:center;"
+
 
|-
+
'''Unparsed data:'''
! Unparsed data
+
''01004C01001CF99DD263333030323334303634303730383330000018000059282DBC03000B0036A2B8193D120000000302001C''
|- style="font-weight:normal; text-align:left; color:#000000;"
+
''59282BA391F5ABCDBFDD0180000059282BA891F5ABCDBFDD0180000059282BA391F5AB''
| 01004C01001CF99DD263333030323334303634303730383330000018000059282DBC03000B0036A2B8193D120000000302001C59282BA391F5ABCDBFDD0180000059282BA891F5ABCDBFDD0180000059282BA391F5AB<br />
+
<br></br>
|}
+
{01} – Protocol revision number<br></br>
{01} – Protocol revision number
+
{00}{4C} – overall message length<br></br>
{00}{4C} – overall message length
+
{01} – MO header IEI<br></br>
{01} – MO header IEI
+
{00}{1C} – MO header length<br></br>
{00}{1C} – MO header length
+
{F9}{9D}{D2}{63} – CDR Reference<br></br>
{F9}{9D}{D2}{63} – CDR Reference
+
{33}{30}{30}{32}{33}{34}{30}{36}{34}{30}{37}{30}{38}{33}{30} – IMEI of the device<br></br>
{33}{30}{30}{32}{33}{34}{30}{36}{34}{30}{37}{30}{38}{33}{30} – IMEI of the device
+
{00} – Session status (Transfer OK in this case)<br></br>
{00} – Session status (Transfer OK in this case)
+
{00}{18} – MOMSN<br></br>
{00}{18} – MOMSN
+
{00}{00} – MTMSN<br></br>
{00}{00} – MTMSN
+
{59}{28}{2D}{BC} – Time of session<br></br>
{59}{28}{2D}{BC} – Time of session
+
{03} – MO Location information IEI<br></br>
{03} – MO Location information IEI
+
{00}{0B} – MO Location information length<br></br>
{00}{0B} – MO Location information length
+
{00}{36}{A2}{B8}{19}{3D}{12} – MO latitude and longitude as described in Iridium documentation. <br></br>
{00}{36}{A2}{B8}{19}{3D}{12} – MO latitude and longitude as described in Iridium documentation.  
+
{00}{00}{00}{03} – CEP radius<br></br>
{00}{00}{00}{03} – CEP radius
+
{02} – Payload IEI <br></br>
{02} – Payload IEI
+
{00}{1C} – Payload length <br></br>
{00}{1C} – Payload length
+
{59}{28}{2B}{A3}{91}{F5}{AB}{CD}{BF}{DD}{01}{80}{00}{00} – Record 1 <br></br>
{59}{28}{2B}{A3}{91}{F5}{AB}{CD}{BF}{DD}{01}{80}{00}{00} – Record 1
+
{59}{28}{2B}{A8}{91}{F5}{AB}{CD}{BF}{DD}{01}{80}{00}{00} – Record 2 <br></br>
{59}{28}{2B}{A8}{91}{F5}{AB}{CD}{BF}{DD}{01}{80}{00}{00} – Record 2
   
There blue part of record is satellite device generated data and green is actual record payload which was sent to server from FM63 device. Information of the first record should be parsed like this:
 
There blue part of record is satellite device generated data and green is actual record payload which was sent to server from FM63 device. Information of the first record should be parsed like this:
{59}{28}{2B}{A3} – Timestamp of record generation in GMT0;
+
{59}{28}{2B}{A3} – Timestamp of record generation in GMT0; <br></br>
{91}{F5}{AB} – Longitude (recalculated value is 25,255756)
+
{91}{F5}{AB} – Longitude (recalculated value is 25,255756) <br></br>
{CD}{BF}{DD} – Latitude (recalculated value is 54,832396)
+
{CD}{BF}{DD} – Latitude (recalculated value is 54,832396) <br></br>
{01} – DIN1 generated event
+
{01} – DIN1 generated event <br></br>
{80} – DIN1 on, while DIN2, DIN3, DIN4, DOUT1, DOUT2, DOUT3, DOUT4 – off
+
{80} – DIN1 on, while DIN2, DIN3, DIN4, DOUT1, DOUT2, DOUT3, DOUT4 – off <br></br>
{00} – Reserved byte  
+
{00} – Reserved byte <br></br>
{00} – Vehicle was stopped then record is generated
+
{00} – Vehicle was stopped then the record is generated <br></br>