I am using Polidea's RxAndroidBle library to communicate with a Device in my Android application.
I am very new to Reactive Programming so I can't figure out exactly how to do the following:
- Setup Notification in one characteristic (Characteristic A).
- When notification setup is done, write to another characteristic (Characteristic B). This will trigger a Notification coming from Characteristic A.
- When the write operation is done, wait for the arrival of the Notification in Characteristic A.
- Repeat the same steps (1 to 3) many times in different parts of the application.
I have seen this related answer, but it is done using the first version of the library and I can't figure out how to do it using the new version.
Thanks.