Hello,
When using Bluetooth for inquiry where response of "AT+BTI" command saved?
How can i access that location?
where response of "AT+BTI" command saved?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: where response of "AT+BTI" command saved?
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: where response of "AT+BTI" command saved?
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"
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: where response of "AT+BTI" command saved?
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel