pybleno icon indicating copy to clipboard operation
pybleno copied to clipboard

unable to find characteristics of the peripheral in IOS application

Open cis-apoorv opened this issue 5 years ago • 1 comments

Hi, I'm trying to connect raspberry pi to IOS application via Bluetooth. Using your echo example code I was able to create an advertising service successfully but, when I tried to send a message after connecting to the IOS application I'm not able to get the characteristics at my end due to which IOS application get crashed. I tried debugging and found that peripheral.services.first.characteristics is returning 'nil', which means that the advertising service does not have characteristics.

Please let me know what I'm doing wrong. Here's the link to the example code I'm using: https://github.com/Adam-Langley/pybleno/blob/master/examples/echo/main.py https://github.com/Adam-Langley/pybleno/blob/master/examples/echo/EchoCharacteristic.py

cis-apoorv avatar Jun 13 '19 14:06 cis-apoorv

Hi @cis-apoorv, you'll need to submit some environmental information and stack traces for me to be able to offer any suggestions. Thanks,

Adam-Langley avatar Jul 26 '19 04:07 Adam-Langley