- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a small issue with my BLE design:
I have built a Bluetooth application and everything seems to work fine, except that I’m not getting any data the first time I read a Custom Characteristic, if I do it a second time I get the data correct. it is only the first time I read after a connection.
I’m testing with the cySmart App for android. Does anyone have an Idea, how to solve this issue.
I hope you can give me a hint, I’m not sure where to begin, I must be missing something, thanks in advance.
Best regards
- S. Panduro
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's may due to your phone not pair with your device. Try to pair first and then read the data.
If still not working, please attached your project for us to reproduce your issue.
Regards
Jenson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are handling the read request event for the PSoC 4 firmware, then you may be handling the firmware event incorrectly?
I believe I encountered this when I first started writing BLE software as well, and it turned into a bad code sequencing or event handling (I don't remember exactly )
Try testing with one of the example BLE projects from PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub
to see if it is your firmware, or some other issue that is causing the delayed read response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's may due to your phone not pair with your device. Try to pair first and then read the data.
If still not working, please attached your project for us to reproduce your issue.
Regards
Jenson