dariuszseweryn / RxAndroidBle

An Android Bluetooth Low Energy (BLE) Library with RxJava3 interface
http://polidea.github.io/RxAndroidBle/
Apache License 2.0
3.44k stars 583 forks source link

Support secondary services #773

Open teddyvn opened 2 years ago

teddyvn commented 2 years ago

It is seem as RxAndroidBle hasn't support secondary service which is included in a service. In class RxBleDeviceServices, method getService, method getCharacteristic, we just iterate through primary services. We didn't get the secondary services from the primary services Could you consider to support this? Thanks

dariuszseweryn commented 2 years ago

Hello, I was considering this but I could not lay my hands on any actual/production BLE device that used this feature. Without a role-model it is hard for me to proof an API. Do you know of any device that could help?

teddyvn commented 2 years ago

Oh about the real device, I didn't know. I left this suggest when I developed a simulator for my project. I dug into the API then I see that it has a secondary service.

dariuszseweryn commented 2 years ago

Yeah, I have seen the API but I have not encountered a real life example

dariuszseweryn commented 2 years ago

Alternative question: what device/SDK have you used?

teddyvn commented 2 years ago

These are gate locks (many kinds). They are smart locks. Sorry I can't tell them name here.