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 | |
AT+CONN[param1] | Connect to an AprilBeacon | AT+CONN20CD3999087E | OK+CONNA |
AT+BAUD[param1] | Set the baud rate | 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 |