Skip to content

Conversation

pec1985
Copy link

@pec1985 pec1985 commented Apr 22, 2016

To make the library compatible with Swift, I had to change the name of this method,
-(void)didReceiveData:(NSData*)data Device:(DFBlunoDevice*)dev;
to
-(void)didReceiveData:(NSData*)data device:(DFBlunoDevice*)dev;
(Notice the lowercase D in device)
I also added a queue for the Bluetooth Networking, and added a property to make the callbacks happen on the main thread or background thread. For my personal use case, I need everything on a background thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant