Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to find characteristics of the peripheral in IOS application #35

Open
cis-apoorv opened this issue Jun 13, 2019 · 1 comment
Open

Comments

@cis-apoorv
Copy link

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 cis-apoorv changed the title unable to find characteristics in IOS application unable to find characteristics of the peripheral in IOS application Jun 13, 2019
@cis-apoorv cis-apoorv reopened this Jun 14, 2019
@Adam-Langley
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants