contributors icon indicating copy to clipboard operation
contributors copied to clipboard

RxBluetooth

Open bontoJR opened this issue 9 years ago • 11 comments

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?

bontoJR avatar Feb 17 '16 12:02 bontoJR

Sounds cool! Do you have a link to the project?

ashfurrow avatar Feb 17 '16 12:02 ashfurrow

https://github.com/SideEffects-xyz/RxBluetooth

mane87 avatar Feb 17 '16 12:02 mane87

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 ¯_(ツ)_/¯

ashfurrow avatar Feb 17 '16 14:02 ashfurrow

I will definately improve the readme :thumbsup: I just discussed with @bontoJR how we could test this stuff. Any suggestions from your side @ashfurrow ?

mane87 avatar Feb 17 '16 14:02 mane87

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.

ashfurrow avatar Feb 17 '16 14:02 ashfurrow

Do you anyone who could point us in the right direction?

mane87 avatar Feb 17 '16 15:02 mane87

No, but I have a twitter I can ask.

ashfurrow avatar Feb 17 '16 15:02 ashfurrow

You might have to end up using a mocking library pretty extensively, at a guess.

orta avatar Feb 17 '16 15:02 orta

@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.

bontoJR avatar Feb 17 '16 15:02 bontoJR

Hey there – any follow-up on this? Happy to provide high-level direction. Cheers!

ashfurrow avatar Nov 04 '17 16:11 ashfurrow

@bontoJR @ashfurrow Let me know if I can help you in this area. I worked extensively with bluetooth in my last company.

bobgodwinx avatar Nov 04 '17 18:11 bobgodwinx