bluetooth-serial-port
bluetooth-serial-port copied to clipboard
Implement win32 support
I'va started today work on win32 support, so I create this issue to coordinate work on this issue.
Thank you for taking this on. The problem I faced with Win32 support was mio, which doesn't (didn't?) have a way to use a raw file descriptor in a event loop.
@kaegi mio have Binding
type, but looks like at now to use it you need copy/paste whole TcpStream implementatino for windows:
https://github.com/carllerche/mio/issues/578
Any news on this? I need a cross-platform bluetooth library like this.
@TsundereBug I have working implementation for bluetooth win32 sockets, but API only similar to kaegi/bluetooth-serial-port, so it is not cross-platform, and has no mio support, because of I think that re-implementation of win32 sockets is too much waste.
Is there a library I should go to for cross-platform bluetooth use?
@Dushistov, I see you have an updated fork of your own, but you also mentioned WIP implementation on win32 support. Have you had any progress with it?
@leon0399
Have you had any progress with it?
As I remember I created separate implementation for win32 not related to this crate, because of it was too hard to convince mio maintainers to support not TCP/UDP sockets.
And after that Windows removed from supported OSes for project that I worked on, so I don't care about win32 support now.