Page 1 of 1
where response of "AT+BTI" command saved?
Posted: Mon Apr 16, 2012 5:02 pm
by alsadk
Hello,
When using Bluetooth for inquiry where response of "AT+BTI" command saved?
How can i access that location?
Re: where response of "AT+BTI" command saved?
Posted: Mon Apr 16, 2012 5:09 pm
by Benj
Hello,
Why not use the Create command macro to build up the AT+BTI command and then use the SendCommand function to transmit it to the module.
Then reverse the process to get the response using the WaitForResponse and the StringRead functions.
Details of these functions can be found in the bluetooth component help file.
Re: where response of "AT+BTI" command saved?
Posted: Mon Apr 16, 2012 5:13 pm
by alsadk
Yes. but what i try to do is to use the response to connect to multiple Bluetooth devices by send "ATD" command but instead of using fixed MAC address i want to use the devices i got by using "AT+BTI"
Re: where response of "AT+BTI" command saved?
Posted: Mon Apr 16, 2012 5:23 pm
by Benj
Hello,
The response from the AT+BTI command is not saved anywhere so you would have to call the command and save it yourself in your program using the macros I mentioned and then you should be able to do what you require.
I'm by no means an expert on Bluetooth but isn't it only a point to point protocol? eg you can only connect/pair 2 modules together at any one time.