![Ublox C099-F9P Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/ublox/c099-f9p/c099-f9p_user-manual_3156357021.webp)
C099-F9P - User guide
UBX-18063024 - R16
Wireless communication
Page 21 of 43
C1-Public
6
Wireless communication
6.1
Bluetooth pairing
Prior to operation, the user is requested to pair ODIN-W2 with a host device. Pairing is the process for
creating one or more shared secret keys and is required only once for a pair of devices. ODIN-W2 can
be paired with one of two alternatives:
1.
The host initiates, ODIN-W2 responds.
2.
ODIN-W2 initiates, the host responds.
ODIN-W2 as the pairing responder
•
Once you have verified that the terminal connection is available, use the following command to
make the ODIN-W2 visible and connectable:
/bt_visible/run
•
ODIN-W2 acknowledges a successful reception of the command and informs once it is ready to
respond to a pairing request.
•
Next, perform a Bluetooth scan to find the C099-F9P board. Every C099-F9P has a predefined,
unique Bluetooth name in BT_C099-F9P_XYZW format as shown in Figure 20.
Figure 20: Windows 10 menu for adding a Bluetooth device
ODIN-W2 as the pairing initiator
•
Enable Bluetooth visibility on the host device.
•
Once you have verified a working CLI connection, use the following command to scan any nearby
Bluetooth devices
: /bt_inquiry/run
•
C099-F9P lists the nearby Bluetooth devices, their Bluetooth
addresses (“MAC”)
and the
corresponding RSSI values. To ensure sufficient radio link quality, check that the RSSI level of the
host device is well above -80 dBm. Weak signal levels can result in connection losses and limited
range.
•
Once C099-F9P has found the host device, the following command starts the pairing process:
/bt_bond/run <MAC address>
•
ODIN-W2 waits until the user has accepted the pairing request on the host device. Note that the
pairing request fails if an internal timeout is reached. Typically, you can accept an incoming pairing
request in the host Bluetooth menu.
•
Finally, the host and ODIN-W2 permanently store their exchanged link keys for future connections.
6.2
Bluetooth serial port
C099-F9P supports incoming and outgoing Bluetooth serial connections. To find the corresponding
Bluetooth COM ports, refer to Bluetooth options indicated in Figure 21.