Programming Manual

Programming Manual
11 / 25
Indication
\r\n+ CONNPARAM:<adv_interval>\r\n\r\nOK\r\n
Parameter
adv_interval
Advertisement interval. Default setting: 2048.
Smaller advertisement interval, easier to be found, but
larger power consumption.
3.11 Set Adv Parameters
Command
AT+ADVPARAM=<adv_interval>\r
Indication
Succeed: \r\nOK\r\n
Fail: \r\nERR:<err_code>\r\n
Parameter
adv_interval
Advertisement interval. Default setting: 2048.
Smaller advertisement interval, easier to be found, but
larger power consumption.
3.12 Query Adv Data
Command
AT+ADVDATA?\r
Indication
Succeed: \r\n +ADVDATA :<data>\r\n
Fail: \r\nERR:<err_code>\r\n
Parameter
data
Advertisement data. Data length less than 31 bytes
3.13 Set Adv. Data
Command
AT+ADVDATA=<data>\r
Indication
Succeed: \r\nOK\r\n
Fail: \r\nERR:<err_code>\r\n
Parameter
data
Data length less than 31 bytes
1. It must include data: 020105
2. Setting advertisement data will lead Bluetooth device name
Barrot Confidential