Changes

4,542 bytes removed ,  14:45, 14 July 2022
Line 45: Line 45:  
If camera is disconnected and later reconnected, a device will detect it by periodic camera ping packet. Once camera is detected, the device will reissue the reconfiguration procedure.
 
If camera is disconnected and later reconnected, a device will detect it by periodic camera ping packet. Once camera is detected, the device will reissue the reconfiguration procedure.
 
<br>
 
<br>
==Initialization packet==
  −
On connection, a device sends an initialization packet.
  −
{| class="wikitable"
  −
|+
  −
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Header(0x0000)'''
  −
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Protocol ID'''
  −
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''IMEI'''
  −
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Settings'''
  −
|-
  −
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |2 bytes
  −
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |2 bytes
  −
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |8 bytes
  −
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |4 bytes
  −
|}
  −
Protocol ID – just a reference for the protocol version that is running on a device (for server cross compatibility with older versions). Firmware FMB.Ver.03.27.00.Rev.100 and up have protocol ID 5.
  −
Settings flag contains information on what is available for download. Structure is provided below:
  −
{| class="wikitable"
  −
|+
  −
! colspan="32" rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Settings, 4 B'''
  −
|-
  −
! colspan="8" rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Byte 3'''
  −
! colspan="8" rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Byte 2'''
  −
! colspan="8" rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Byte 1'''
  −
! colspan="8" rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Byte 0'''
  −
|-
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |1
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |2
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |3
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |4
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
! rowspan="1" style="width: 400px; background: background: white; color: black;" |
  −
|}
  −
  −
#Video, rear (%videor)
  −
#Video, front (%videof)
  −
#Photo, rear (%photor)
  −
#Photo, front (%photof)
  −
  −
If identifier sent to a server is not valid, device disconnects.
  −
<br>
  −
   
==General command structure==
 
==General command structure==
 
General communication packet structure is as in the table bellow. It consist of CMD_ID (2 bytes), Data length of a command and a payload.
 
General communication packet structure is as in the table bellow. It consist of CMD_ID (2 bytes), Data length of a command and a payload.

Navigation menu