ODIN-W2 series - Getting Started
UBX-15017452 - R02
Advance Information
Use case examples
Page 16 of 27
7
Use case examples
7.1
Establish a Bluetooth Classic SPP connection between two ODIN-W2
•
By default, ODIN-W2 accepts incoming connection and replies on Inquiry.
•
AT+UBTI
o
Make inquiry to find the other device
•
+UBTI:112233445566,-52,000000,"Bluetooth Device"
o
Use this address when creating the connection
•
AT+UDCP="spp://112233445566"
o
ODIN-W2 will now try to Bluetooth Serial Port Profile on other ODIN-W2
o
When +UDCP:0 is received the connection is up, an ERROR will be received if
connection is not possible.
o
The other device will received
•
ATO1
o
Goto data mode on both devices to send data between them
Figure 10: ODIN-W2 Bluetooth Classic SPP Connection