
status
“NUKNOW”----unknown status
Example:
at+state?
+STATE:INITIALIZED ----initialized status
OK
29. Initialize the SPP profile lib
Command Response Parameter
AT+INIT
1. OK----success
2. FAIL----failure
None
30. Inquire Bluetooth device
Command Response Parameter
AT+INQ
+INQ: <Param1>,<Param2>,<Param3>,
……
OK
Param1: Bluetooth address
Param2: device type
Param3: RSSI signal
intensity
Example 1:
at+init\r\n ---- Initialize the SPP profile lib( can’t repeat initialization)
OK
at+iac=9e8b33\r\n ----Inquire Bluetooth device has an access code
OK
at+class=0\r\n ----Inquire the Bluetooth device type
at+inqm=1,9,48\r\n ----Inquire mode: 1) has the RSSI signal intensity indication, 2)
stop inquiring if more than 9 Bluetooth devices response, 3)
limited time in inquiring is 48*1.28=61.44s.
At+inq\r\n ----inquire the Bluetooth device around
+INQ:2:72:D2224,3E0104,FFBC
Komentáře k této Příručce