Indication Table; General Indications; Device State; Scan Result - Feasycom FSC-Blueware User Manual

Bluetooth portable stack
Table of Contents

Advertisement

3. Indication Table

3.1. General Indications

3.1.1. Device State

Format: +DEVSTAT=Param
Param: A base-10 representation of a bit field, for each bit:
BIT[0] 0: Power Off; 1: Power On
BIT[1] 0: BR/EDR Non Discoverable; 1: BR/EDR Discoverable
BIT[2] 0: BLE Non Advertising; 1: BLE Advertising
BIT[3] 0: BR/EDR Non Scanning; 1: BR/EDR Scanning
BIT[4] 0: BLE Non Scanning; 1: BLE Scanning
Example: Power on, discoverable and advertising
>>
+DEVSTAT=7

3.1.2. Scan Result

Format:1
+SCAN =Param1<FF>Param2<FF>Param3<FF> Param4<FF>Param5<FF>Param6
Param1: Index
Param2: RSSI (-127 ~ -1)
Param3: Device address type (0~3)
(0) BR/EDR address
(1) LE public address
(2) LE random address
(3) iOS device with Carplay support
Param4: MAC address (12 Bytes ASCII)
Param5: Device Name for BR/EDR devices or advertising data for LE devices
Param6: Class of device (6 Bytes ASCII)
Format2: +SCAN=E: Scan stopped
Example: Scan BR/EDR nearby devices
<<
AT+SCAN=1
>>
OK
+SCAN=1<FF>-32<FF>3<FF>B019C66209FA<FF>wt-iphone<FF>7A020C
+SCAN=2<FF>-74<FF>0<FF>DC0D30000053<FF>BW226<FF>040680
+SCAN=3<FF>-43<FF>0<FF>00158354F994<FF>LAPTOP-3L<FF>120104
25

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FSC-Blueware and is the answer not in the manual?

Table of Contents