Open bontoJR opened 8 years ago
Sounds cool! Do you have a link to the project?
Looks awesome! My only suggestions would be to add some examples, installation instructions, and some mention of RxSwift to the readme. I don't see any tests, but :grimacing: that sounds really hard to test, so ¯_(ツ)_/¯
I will definately improve the readme :thumbsup: I just discussed with @bontoJR how we could test this stuff. Any suggestions from your side @ashfurrow ?
I haven't touched Core Bluetooth in years, very hard to do. It's a fairly thin abstraction on top of the hardware, could be worth asking others for advice.
Do you anyone who could point us in the right direction?
No, but I have a twitter I can ask.
You might have to end up using a mocking library pretty extensively, at a guess.
@orta is right, there's no way to test this library with a real CB instance, we need to mock all the objects and simulate every single case (pairing, restore, failure at any level, etc...). It's a non-trivial task, CB is still a not really friendly framework, especially for the fact that has some mandatory delegates that are used to restore the connection once the app has been opened.
I can definitely take some time to help @mane87 on this.
Hey there – any follow-up on this? Happy to provide high-level direction. Cheers!
@bontoJR @ashfurrow Let me know if I can help you in this area. I worked extensively with bluetooth in my last company.
I started RxBluetooth with the goal of creating a cool wrapper, unfortunately I have no time left since I started this project, but @mane87 is doing a great job in maintaining it and will definitely start to implement a better version. So I think the time to move it under the RxSwiftCommunity has arrived!
Any thoughts?