qt - QLowEnergyService never transitions to ServiceDiscovered state on custom bluetooth service -
i have created bluetooth communicator in qt 5.5.1 following qt documentation. have gotten point able view list of services offered bluetooth device. services generated by:
qlowenergyservice *service = controller->createserviceobject(serviceuuid); where controller qlowenergycontroller , serviceuuid qbluetoothuuid. service created since custom service offered device trying connect to, name unknown. @ point call:
service->discoverdetails(); which transitions service qlowenergyservice::discoveringservices state qlowenergyservice::discoveryrequired state. once happens, state never changes again , no error ever thrown. there way pull characteristics of "unknown service"? have checked uuid against expected service , correct. have uuid of expected characteristics.
Comments
Post a Comment