Test
- [] Hejsan
- [] Två End test
AT-command | Description | Response(s) |
---|---|---|
AT |
Command that can be used to check if the communication link is working. | OK |
ATZ |
Command that resets the BLE-module | OK |
AT+INFO? |
Command that returns information of the BLE-module. | +INFO: HW:2.1, FW:xx, SD:yy, OK |
AT-command | Description | Response(s) |
---|---|---|
AT+SCANSTART |
Command that starts the scanning for registered devices. | +SCANSTART: OK scanning was successfully started. +SCANSTART: ERROR scanning was NOT successfully started. |
AT+SCANSTOP | Command that stops the scanning for devices. | +SCANSTOP: OK - scanning was successfully stopped. +SCANSTOP: ERROR - scanning was NOT successfully stopped. |
AT+SCANSETP=<active>,<selective>,<interval>,<window>,<timeout> |
Command that sets the scan parameters. <active> - '0' no scan response, '1' request scan response <selective - '0' scan for all devices, '1' only scan for whitelisted devices <interval> - scan interval between 0x0004 and 0x4000 in 0.625ms units (2.5ms to 10.24s) <window> - Scan window between 0x0004 and 0x4000 in 0.625ms units (2.5ms to 10.24s) <timeout> - Scan timeout between 0x0001 and 0xFFFF in seconds, 0x0000 disables timeout |
+SCANSETP: OK +SCANSETP: ERROR |
AT-command | Description | Response(s) |
---|---|---|
AT+DEVADD=<AA>:<BB>:<CC>:<DD>:<EE>:<FF> | Command that lets you set the Bluetooth Device Address of a device that you would like to scan for. The device is added at the end of the list. | +DEVADD: OK - the device was successfully added +DEVADD: ERROR - the device was NOT successfully added |
AT+DEVLIST=<item nbr>? | Command that lets you fetch information on the device with list id <item nbr> |