The ABSniffer firmware provide the features iBeacon sniffer. It can be config with AT command.

AT Commands

The response for each command have a \r\n line end.

Local Commands

Command

Summary

Examples

Response

AT

Query the status

OK

AT+ADDR?

Query the native MAC address

OK+ADDR: MAC address (address for 12 string)

AT+VERS?

Query the firmware version

OK+VERS1.0

AT+SCAN?

Start scan the iBeacon nearby

OK+SCAN1
OK+SCAN:0017EA915E24,E2C56DB5DFFB48D2B060D0F5A71096E0,1,8,-58,-72,100
OK+SCAN:C4EDBA567941,E2C56DB5DFFB48D2B060D0F5A71096E0,0,0,-58,-72
OK+SCAN:20CD3999087E,E2C56DB5DFFB48D2B060D0F5A71096E0,1,6,-65,-69,100
OK+SCAN0

AT+CONN[param1]

Connect to an AprilBeacon

AT+CONN20CD3999087E

OK+CONNA

AT+BAUD[param1]

Set the baud rate
param1 : 0 - 4.
0: 9600, 1: 19200
2: 38400, 3: 57600
4:115200
Default: 0 (115200)

AT+BAUD1

OK+Set:1

AT+RESET

Restart the module immediately

The response for command AT+SCAN? are splitted by commas. The fields mean:

  • Mac address
  • Proximity UUID
  • Major
  • Minor
  • Measured power
  • RSSI
  • Battery Level (This one only effected for AprilBeacon that firmware 2.1 and later)

If change the baud rate to lower value, the output for AT+SCAN? will be incomplete.

Control Commands

The commands Only effected when connect to AprilBeacon. To change the configure of a April Beacon, execute the command AT+AUTH[param1] first.

Command Summary Examples Response
AT+PUID[param1] Set the proximityUUID for iBeacon AT+PUIDE2C56DB5DFFB48D2B060D0F5A71096E0 OK+Set:E2C56DB5DFFB48D2B060D0F5A71096E0
AT+MAJR[param1] Set the major for iBeacon AT+MAJR123 OK+Set:123
AT+MINR[param1] Set the minor for iBeacon AT+MINR123 OK+Set:123
AT+MPOW[param1] Set the measured power for iBeacon AT+MPOW-58 OK+Set:-58
AT+AUTH[param1] Input the passcode to change the to configable AT+AUTHAprilBrother OK+AUTH1