IoT – Internet of Things › Forums › Raspberry Pi › Bluetooth Serial Communications with connectBlue / u-blox OLS425 › Reply To: Bluetooth Serial Communications with connectBlue / u-blox OLS425
Thanks for getting back to me. The SPP on top of the GATT is what is being implemented, and that is how the temperature is being sent. Works fine, we can debug in the Android app.
However, how do we get the same code running on Android to work on the Raspberry Pi 3? Has anyone been able to read the SPP packet (like you said, on top of GATT) via NodeJS?
The OLS425 module is a Bluetooth Low Energy device and as such does not support the Bluetooth Classic SPP profile (the SPP profile is for Bluetooth Classic only).
To communicate with the OLS425 module using Raspberry Pi you must use Bluetooth low energy. The u-blox Serial Port Service, which is implemented on top of the Generic Attribute Profile (GATT), can be used if you want to send serial data. Please, see the following document for protocol specification: