Solved Ble Communication. Discoverdetails() function in qlowenergyservice is not working when my application is working like central mode and peripheral mode writing descriptor with write permission.
-
Hi,
I am working on ble communication. I am developing a ble client or say central mode. I am able to find services, but then after i called Discoverdetails(). This function should emit the statechanged() signal. It should change state to QLowEnergyService::ServiceDiscovered state.It is changing state when peripheral mode devices write descriptor with read permission , but if descriptor does not have read permission. it is not changing state.
-
Problem is resolved and solution is this:
Qt write some descriptor on linux platform which needs to be read by peripheral device. Then connection can be established.