SuessLabs / Linux.Bluetooth

.NET Linux Bluetooth library for interfacing with peripherals using DBus BlueZ. Sponsored by Suess Labs
https://www.nuget.org/packages/Linux.Bluetooth/
Apache License 2.0
44 stars 8 forks source link

Transferring data through a device connection #15

Closed rodrigovaras closed 1 year ago

rodrigovaras commented 1 year ago

This is more question about the usage for transferring data on paired device, I look on this repo: https://github.com/inthehand/32feet and found a chaotic organization and design. This code is so much better and I'm looking into using on a Raspberry Pi running Unbuntu.

Would be possible to have a similar API contract to use the same code against other platforms? On this repo API what is the proper way to transfer block of data ? The idea I have is forwarding a phone app that receive a MQTT block of raw data and pass it to the raspberry PI. Also, the reverse will happen.

Do I need to use the 'Characteristic' interface to send and receive data ? Which GUID should i pass ? (the data source id ?) or should i create my own ? I would need to write code in Windows and Android/iOS to do the reverse on the other side hence my question to find another library that does this but on non linux platforms.

Thanks.

DamianSuess commented 1 year ago

@rodrigovaras, I love the enthusiasm! Let's see if we can get you moving. But first, I'm going to move this over to the Discussions area, as this is an inquiry and not an issue with the library.