ODIN-W2 series - Getting Started
UBX-15017452 - R02
Advance Information
Use case examples
Page 24 of 27
7.6
Connect two ODIN-W2 using Bluetooth Low Energy Serial Port
Service SPS and always connected
To set up first ODIN-W2 as a Central (Device A)
•
AT+UBTLE=1
o
Enable Central Role
•
AT+UDSC=1,1
o
Set server config id 1 to Serial Port Service
•
AT+UMSM=1
o
Boot ODIN-W2 in data mode
•
AT&W
o
Store config
•
AT+CPWROFF
o
Restart ODIN-W2
To set up second ODIN-W2 a Peripheral (Device B)
•
AT+UBTLE=2
o
Enable Peripheral Role
•
AT+UDDRP=1,sps://112233445566,2
o
Default peer to Serial Port Service and always connected
•
AT+UMSM=1
o
Boot ODIN-W2 in data mode
•
AT&W
o
Store config
•
AT+CPWROFF
o
Restart