inthehand / 32feet

Personal Area Networking for .NET. Open source and professionally supported
https://inthehand.com/components/32feet/
MIT License
828 stars 209 forks source link

ObexListenerRequest getting multiple files #48

Open walker93 opened 5 years ago

walker93 commented 5 years ago

Hello, first time working with Obex and bluetooth applications. Using one of the examples I'm able to create a thread with a ObexListener running and getting requests from a device sending a file. In some occasions however I can get multiple files in the same request, and i'm not able to get this working, the COUNT Header contains the number of files to be received, but only the first file is processed and saved.

In the Wiki I read that with Brecham.Obex I will be able to receive multiple files in the same session, but I can't figure out how to make a Brecham.Obex server or listener waiting for incoming connections.

Is it possible to use InTheHand.Net.ObexListener as server for incoming connections and use Brecham.Obex to transfer the actual files? Or is there a better way to do this?

Thank you

peterfoot commented 4 years ago

This isn't currently supported but I'm hoping to rework the Obex code including adding more functionality to the ObexListener.