Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
24
The next 03 represents the next small segment of data bits with three bytes, so the latter 19,34,12 belongs to this segment.
The next is 02, while 01 06 belongs to this section. 01 represents FLAG, flag indicates the physical connection function,
such as limited discovery mode, does not support classic Bluetooth.
Bit 0: LE limited discovery mode
Bit 1: LE normal discovery mode
Bit 2: BR/EDR not supported
Bit 3: Supports both BLE and BR/EDR for Same Device Capable(Controller)
Bit 4: Support for BLE and BR/EDR for Same Device Capable(Host)
Bit 5...7: reserved
That is, the 06 data indicates that the connection function of the device is the normal discovery mode and does not
support classic Bluetooth.
07 indicates 03 0D 18 0F 18 0A 18 belongs to this section. According to above table, The 03 following data represents
the complete 16bit uuid list
ble_uuid_t adv_uuids[] =
{
{0x180D, BLE_UUID_TYPE_BLE},
{0x180F, BLE_UUID_TYPE_BLE},
{0x180A, BLE_UUID_TYPE_BLE}
};
It is the broadcast UUID we set, 39 FE 57 represents the CRC check.
4.
The Program Structure of Bluetooth in SDK
It has a fixed process to develop nRF5X series SoC. Let's take BLE_APP_UART in the official routine as an example to
illustrate the program structure of SDK.
The main function is similar to the following steps: