Device does not seem to pair

powerjasper
Posts: 1
Joined: Tue Oct 15, 2019 3:01 pm

Device does not seem to pair

Postby powerjasper » Wed Oct 30, 2019 11:11 am

Hi all,

I have been trying to get a Bluetooth scale to work with an esp32 to make measuring easier.

According to the documentation of the scale, it is able to be paired using ssp (secure simple pairing) after this happens it can communicate using spp (serial port profile).
It also says the following in the documentation.
They meet BT Service
Discovery Protocol (SDP) and Serial Port Profile (SPP) services to communicate with other BT
Access Point (AP). AP can be a Smart Phone, PC, or a proprietary set top box.
I set the device in pairing mode and flash the spp initiator demo to the esp32. It can see the device with GAP, the cod returns the expected value 0x90C(this is seen as a bad code by the code, however). This means it is a health device of the type scale.

The full log with a lot of debug data (1200+ lines) is found here https://pastebin.com/vueAPcvy

Some more info about the device i try to connect to:
Type : Classic - BR/EDR
Profiles Supported: Health Device(HDP)
UUID List :
00001400-0000-1000-8000-00805f9b34fb
00000000-0000-1000-8000-00805f9b34fb
00000000-0000-1000-8000-00805f9b34fb
00000000-deca-fade-deca-deafdecacaff

The only actual "error" I get is

Code: Select all

I (10416) SPP_INITIATOR_DEMO: ESP_SPP_DISCOVERY_COMP_EVT status=1 scn_num=0
SSP has been enabled in menuconfig

I have been struggling with this for 2 weeks, and i'll appreciate any help :D

Who is online

Users browsing this forum: Bing [Bot] and 128 guests