HF-BL200A Low Energy Bluetooh
(
BLE 4.1
)
Module User Manual
Shanghai High Flying Electronics Technology Co., Ltd www.hi-flying.com
- 44
-
6. BASIC COMMUNICATION MECHANISIM
6.1.
Application Service Data Channel
(
user-define application service UUID
:
0x2B00
)
Table 15 Description of User-define Service of All Channnel
UUID
Channel attribute
function
0x2B10
Notify/WriteWithResponse
APP send enable command to module via
this notify channel
Under notify enable status, module send
data to APP via notify channel
0x2B11
Read/WriteWithoutResponse
APP send data to module
0x2B12
WriteWithResponse
APP send OTA mode switch command
0x2B13
Notify/WriteWithResponse
APP command
6.1.1.
Module->APP, UART Data Channel
【
feature UUID:0x2B10
】
Table 16 0x2B10 feature UART Module->APP Channel Description
UUID
Executable operation
Bytes
Default
value
Remark
0x2B10
Notify/WriteWithRespons
e
20
Null
Module receive data from
UART RX
,
and notify
APP via notify channel
Remark
:
data input from UART and output to Bluetooth. If turn on notify enable switch,
outside MCU will send data to module RX via UART, and create a notify event in the channel, APP
can directly process in the callback function.
6.1.2.
APP->Module
,
UART Data Channel
【
feature UUID:0x2B11
】
Table 17 0x2B11 Feature UART APP->Module Channel Description
Feature value
UUID
Executable
operation
Byte
Default
value
remark