GATT (Generic Attribute Profile)-based Bluetooth motion sensing data processing method
A technology of data processing and dental body sensing, which is applied in the field of data processing, can solve the problems of bluetooth body sensing devices that cannot be used normally, and achieve the effect of facilitating users and enhancing user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0018] The bluetooth somatosensory data processing method based on GATT of the embodiment of the present invention, it comprises the following steps:
[0019] Step 1. The application program in the smart device of the Android system starts after receiving the boot broadcast, searches for the Bluetooth somatosensory device, establishes a connection with it and registers the service corresponding to the Bluetooth somatosensory data, and waits for the callback of the Bluetooth protocol stack.
[0020] In this example, the smart device may be a smart TV or a smart mobile terminal, such as a smart phone or a tablet computer.
[0021] Step 2. When the Bluetooth somatosensory device sends the Bluetooth somatosensory data, the callback function in the application program is invoked, extracts the Bluetooth somatosensory data and copies it, and sends it to another thread for processing through a message mechanism.
[0022] Step 3. The thread of the message receiver receives the Bluetoot...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More