So I regret that this helps no way in improving missing multiple
connections for service functionality in BlueCove.
I see that you are using aggressively AttachCurrentThread in native
callbacks. What is your experience with this approach. How reliable
was established connection?
Regards,
Vlad
The only way I see this can be solved is that each acceptAndOpen()
will create new CRfCommPort and call OpenServer(). The will close
server while keeping data coming in.
What I do differently is I'm calling OpenServer for each
acceptAndOpen(). But you do it once you created a service. Does your
server respond to second connection after first is closed?
BTW I know that "avetana" does not implement multiple connections at
the same time. Also all questions on the subject to WIDCOMM are
silently not answered. Probably they need to change API to handle
this. I don't even know if this OK by RFCOMM standard. I only know
that this works in MS and OS X implementation.
Regards,
Vlad