Heinrich Braasch
Heinrich Braasch
@jefflill Hi, did you manage to get a look at it? :-) Regards
Any progress here? Would be nice to work with VS 2022 and RaspberryDebugger. It such a great extension on VS 2019.
I recently came across this sample code, it works very well. Its a simple generic GATT server implemented for Linux in C#/.Net, using D-Bus and Tmds.Dbus. https://github.com/phylomeno/dotnet-ble-server Do not use...
Are you running it from the source code (as I mentioned above), not the Nuget library? The Nuget version (I think) is an older version than the source.
I have attached the code I'm using to create my GATT server. Hope it helps. Please ignore some the app specific code not removed. [GattServerCodeExample.txt](https://github.com/hashtagchris/DotNet-BlueZ/files/5498364/GattServerCodeExample.txt) .
Not sure what you mean by "In your code, required AddCharacteristic is missing from GattServiceBuilder"? My code in RegisterGattApplication(..) : var gab = new GattApplicationBuilder(); var gsp = gab.AddService(gattServiceDescription); gsp.AddCharacteristic(commandCharacteristicDescription,...
Sorry, you're so right! I completely forgot. I did add a function to GattServiceBuilder (even marked it) which simply encapsulates ||WithCharacteristic||: // Added by HRB public void AddCharacteristic(GattCharacteristicDescription gattCharacteristicDescription, GattDescriptorDescription[]...
Might sound like a stupid question but: Are you running it on PI 3 or 4, or other?
I'm for now running it on Pi3, because I had problems with BLE on Pi4 (but its been a while and for the life of me I cannot remember why...
Ok!! Could be th OS'es. I've got it working it on Raspbian