Peter Foot

Results 142 comments of Peter Foot

I can see a way to mitigate this in the source but currently if you call GetStream multiple times you'll get different instances of the wrapper AndroidNetworkStream this could cause...

also BluetoothListener.Pending always returns false on Android because there is no underlying API to determine if there is a pending connection. You have to just Accept and wait unfortunately

Have you tried calling Flush/FlushAsync after the WriteAsync?

Have you tried reading the DataAvailable or Length property on the network stream before commencing the Read operation? If you request more bytes than are available on Android it will...

If the Length returns zero then the data hasn't been sent. Did you add a flush after the write on the PC side too? I think there is some difference...

I'm working on a new sample to show the client and listener and the following works for me on both Windows and Android:- ``` BluetoothClient client = new BluetoothClient(); client.Connect(device.DeviceAddress,...

Yes, this is a complicated one because there are two Windows APIs for Bluetooth classic - the original Win32 using Sockets and the Windows 10 API. Hololens doesn't have the...

BluetoothClient is part of the Bluetooth Classic API. The separate InTheHand.BluetoothLE contains Bluetooth LE functionality.

There is a very rough sample here - [Samples/BluetoothClientApp](https://github.com/inthehand/32feet/tree/main/Samples/BluetoothClientApp) The API documentation is here - https://inthehand.github.io/html/N_InTheHand_Bluetooth.htm

It sounds like the wrong DLL is being deployed. Does the consuming app target net6.0-windows10.x or higher?