Precautions for Using Bluetooth LE
When creating and using applications
When developing an application that uses Bluetooth LE, consider the following points.
Because Bluetooth LE is a wireless technology, communication performance depends on the surrounding wireless environment, obstacles, and installation conditions. Evaluate performance in the actual environment of use and determine appropriate wait times as needed.
Wait time before reconnection (from port close to port open)
After a Bluetooth LE connection is disconnected from the host device (port close), internal post disconnect processing is performed.
Therefore, it is recommended that a wait time of at least 500 msec be secured between port close and the next port open.
When to close the port
Even after the application finishes sending data, some data may remain in the product’s internal buffer. Closing the port may discard any data remaining in the buffer.
Before closing the port, confirm (for example, by checking status) that the transmitted data has been processed.
Implementing retries in the application
Because wireless connections can be unstable, it is recommended that the application implement retry processing for connection-related operations.
Other
If using a Bluetooth USB adapter
If using a Bluetooth USB adapter on the host device, check the adapter specifications and sufficiently verify operation.
If you change or reset Bluetooth LE settings
If you change or reset the product’s Bluetooth LE settings, remove the Bluetooth pairing/connection on the host device so the changes are applied.
Then restart the relevant application or system, and connect via Bluetooth LE again.
Number of units holding pairings information
Pairing information is stored for up to 10 host devices. When pairing with an 11th (or later) host device, the oldest pairing information (based on the last communication time) is overwritten.
If you need to reconnect from a host device whose pairing information was overwritten, unpair the product on the host device and then pair again.