Skip to content

t21/HomeHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomeHub

Test

  • [] Hejsan
  • [] Två End test

Command set

General commands

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

Scan commands

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

Device handling commands

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published