None of the PSoC Creator configuration options will cause read delay from our BLE module. Did you test with any other BLE client devices? Are you observing the same delay using all of the client devices?
Thanks and Regards,
Ill bet money that this is a problem with the PI side of this connection.
How did you measure the read time? Is that a feature of GATT Tool?
Thanks -- I've tried two methods:
- first is using BluePy wrapper to connect to the device -- I see the long delays.
- Directly calling bluez gatttool using a PIPE, and I still see approximately the same delays
Both delays are measured with time.time().
Are there any other clients for the Raspberry Pi that I can use to communicate with the device? I'm working on a Python STEM library. I haven't found many examples of directly programming the bluez library?
Just a quick update, after lots of playing around, I switch the
pygatt.py -- I got much better latency out of the system (more like 100ms) for a write/notify.