labapart / gattlib

Library to access GATT information from BLE (Bluetooth Low Energy) devices
http://labapart.com/
436 stars 157 forks source link

discover.c fails to discover the devices scanned out using ble_scan.c program #211

Open ArchanaKalathil opened 3 years ago

ArchanaKalathil commented 3 years ago

Hi, I am trying to connect a BLE SPI friend from Adafruit (interfaced with teensy) to Pi 4 to read temperature sensor data from teensy. I created custom services and characteristics for the BLE module to do the task. While the ble_scan.c code was completely successful in finding my device and the associated services, the discover.c code "fails to connect to the device". (providing the same device address found by the ble_scan.c code while execution). I wonder what would be the issue. Attaching a snapshot for clarity. Any help is appreciated. Thanks in advance.

output_ble_scan_gattlib output_discover_gattlib