Elsat iNode Manuel d'instruction - Page 9

Parcourez en ligne ou téléchargez le pdf Manuel d'instruction pour {nom_de_la_catégorie} Elsat iNode. Elsat iNode 15 pages. Serial transceiver usb

iNode Serial Transceiver USB – instruction manual
Data sent over the UART is HCI frames HEX-encoded (for one byte there are two ASCII
characters). At the end of the data being transmitted is always 0x0d, 0x0a. In the case of loss of
synchronization on the HCI frame level, you can retrieve it by sending 0x0d, 0x0a. They can be
added to each frame sent to the HCI module.
Data coding scheme in advertisement frame and response for active scan.
Information about AD Type codes can be found in a Core_V4.0.pdf: Volume 3 Part C, Section 8.
and at the page
https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-
profile
HCI frame with BLE scan result (advertisement frame):
043E2802010000A35F356F12001C0201061107694E6F6465204E61760000000000000003FF00
80020AFEAD
043E28
04 - HCI packet indicator: 0x04 EVENT (Core_V4.0.pdf: Volume 2 Part E, Section 5.4)
3E - event_code = 0x3e -> LE EVENTS
28 - HCI parameter total length -> 0x28 = 40
02010000A35F356F12001C0201061107694E6F6465204E61760000000000000003FF0080020A
FEAD - event_parameters:
02 - Subevent_Code = 0x02 -> LE Advertising Report event
01 - Num_Reports = 0x01 -> number of responses in event (always 1)
00 - Event_Type[i] = 0x00 -> connectable undirected advertising (ADV_IND)
00 - Address_Type[i] = 0x00 -> public device address
A35F356F1200 - Address[i] = 0x00126F355FA3 (Public Device Address)
1C - Length_Data[i] = 0x1C = 28 (length of the Data[i] field)
0201061107694E6F6465204E61760000000000000003FF0080020AFE
Length_Data[i] octets of advertising or scan response data formatted as defined in
Core_V4.0.pdf:
us/specification/assigned-numbers/generic-access-profile
02 - 0x02 -> Length = 0x02
0106 -> Data
11 - 0x11 -> Length = 0x11 = 17
07694E6F6465204E617600000000000000 -> Data
02 - 0x02 -> Length = 0x02 = 2
0AFE -> Data
Volume
3
Part
01 - 0x01 -> EIR Data Type = 0x01 -> «Flags»
06 - 0x06 -> EIR Data = 0x06 -> LE General Discoverable Mode (bit 1),
BR/EDR Not Supported (bit 2)
07 - 0x07 -> EIR Data Type = 0x07 -> «Complete List of 128-bit Service
Class UUIDs»
694E6F6465204E617600000000000000 -> EIR Data = "iNode Nav"
(UUID128 w postaci 16 znaków ASCII)
03 - 0x03 -> Length = 0x03 = 3
FF0080 -> Data
FF -> EIR Data Type = 0xff -> «Manufacturer Specific Data»
0080 -> 0x8000 iNodeNav identifier
0A -> EIR Data Type = 0x0a -> «Tx Power Level»
FE -> 0xfe = -2 dBm
C,
Section
8.
ELSAT s.c.
-
Data[i]
https://www.bluetooth.org/en-
page 9
->