페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages

3.1 General Indication

 

 

 

311 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: Module is power on, discoverable and advertising

+DEVSTAT=7

 

 

 

312 Scan Result

Format: +SCAN =Param1<FF>Param2<FF>Param3<FF>Param4<FF>Param5<FF>Param6

Param1: Index (1~8)

Param2: Device address type (0~2)

(0)     LE public address +SCAN =Param1<FF>Param2<FF>Param3<FF>Param4<FF>Param5<FF>Param6

(1)     LE random address (2)BR/EDR address

Param3: MAC address (12 Bytes ASCII)

Param4: RSSI (-255 ~ 0)

Param5: Size of Param6 if exist

Param6: Device Name for BR/EDR devices or advertising data for LE devices

 

Description: Param5/Param6 may not exist if remote device out of distance

 

Example: Scan BR/EDR nearby devices in 6.4s

AT+SCAN=1,5

OK

+SCAN=1<FF>2<FF>DC0D30000003<FF>-32<FF>8<FF>Feasycom

+SCAN=2<FF>2<FF>DC0D30000044<FF> -64<FF>8<FF>Feasycom_1234

+SCAN=3<FF>2<FF>DC0D30000097<FF>-47<FF>8<FF> TESTHID

 

 

 

313 Paired Success

Format: +PAIRED=Param

Param: MAC address (12 Bytes ASCII) of current paired device

 

 

 

 

Adsense

EMW3070

Viewed Page List