Iridium Edge Communication Protocol: Difference between revisions
Appearance
MindaugasK (talk | contribs) Created page with "__TOC__ ==Communication Protocol== {| class="wikitable" style="width:50%;" |+ ! colspan="7" style="width:50%; border: 1px solid white; border-bottom: 2px solid #0054A6; backg..." |
MindaugasK (talk | contribs) No edit summary |
||
| Line 32: | Line 32: | ||
* Reserved - Not used anywhere, but left due to compatibility with fm6 project. | * Reserved - Not used anywhere, but left due to compatibility with fm6 project. | ||
* Speed – Indicates the speed of the vehicle if configured. If not (or in case of no gps) – will display 255 | * Speed – Indicates the speed of the vehicle if configured. If not (or in case of no gps) – will display 255 | ||
==Data Sending Parameters== | |||
Information here includes the data sending parameters which identifies the naming of the parameter in accordance to it's number. | |||
<br> | |||
{| class="wikitable" | |||
|+ | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Parameter ID''' | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Parameter name''' | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Min values''' | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Max values''' | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Default values''' | |||
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Description''' | |||
|- | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |99420 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |Iridium Edge | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |1 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |This parameter enables or disables Iridium Edge functionality | |||
|- | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |99421 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |Save/Send period | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |1440 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |1440 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |This parameter lets to configure Iridium Edge sending period | |||
|- | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |99422 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |SBD IO source | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |6 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |SBD IO elements which when enabled are included into the SBD record | |||
|- | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |151 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |RS232 Mode | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |26 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |Implement ability to select "Sattelite backup" | |||
|- | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |99423 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |SBD Upload Limit | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |0 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |30000 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |8000 | |||
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |Limit to save user from exceeding the monthly plan. Max limit of 30000 due to 30KB plan. If set to 0 – limit will be off. | |||
|} | |||
Revision as of 10:10, 19 December 2022
Communication Protocol
| SBD Packet structure | ||||||
|---|---|---|---|---|---|---|
| Timestamp | Longitude | Latitude | SBD AVL ID and flags | DIN/DOUT info | Reserved | Speed |
| 4 bytes | 3 bytes | 3 bytes | 1 bytes | 1 bytes | 1 bytes | 1 bytes |
Definitions
- Timestamp – Indicates when record was generated
- Longitude - encoded in 3 bytes data. Server which gets this data should divide result from 46603,375 and subtract 180 in order to get actual longitude value. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 360 (maximum longitude value then 180 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
- Latitude - Latitude is calculated in same way as longitude but since latitude maximum value is two times smaller than longitude it can produce a bit more accurate data. Coefficient for latitude is 93206,75. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 180 (maximum latitude value then 90 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
- SBD AVL ID and flags – Custom id that will indicate what caused the record to be generated (as only periodic records are generated, id is not used)
- Din/Dout info - Displays configured IO elements in parameter id 99422
- Reserved - Not used anywhere, but left due to compatibility with fm6 project.
- Speed – Indicates the speed of the vehicle if configured. If not (or in case of no gps) – will display 255
Data Sending Parameters
Information here includes the data sending parameters which identifies the naming of the parameter in accordance to it's number.
| Parameter ID | Parameter name | Min values | Max values | Default values | Description |
|---|---|---|---|---|---|
| 99420 | Iridium Edge | 0 | 1 | 0 | This parameter enables or disables Iridium Edge functionality |
| 99421 | Save/Send period | 0 | 1440 | 1440 | This parameter lets to configure Iridium Edge sending period |
| 99422 | SBD IO source | 0 | 6 | 0 | SBD IO elements which when enabled are included into the SBD record |
| 151 | RS232 Mode | 0 | 26 | 0 | Implement ability to select "Sattelite backup" |
| 99423 | SBD Upload Limit | 0 | 30000 | 8000 | Limit to save user from exceeding the monthly plan. Max limit of 30000 due to 30KB plan. If set to 0 – limit will be off. |