Bluetooth LE Text Transfer SDK

Замовник: AI | Опубліковано: 20.01.2026

I’m building an Android app on .NET 8.0 (C#) and now need a clean Bluetooth LE layer that focuses purely on data transfer. The peripheral expects short text commands from the phone and replies with either plain-text strings or a 20-byte hexadecimal payload, so the code must comfortably handle both directions without size-related work-arounds. What I need from you • A reusable C# class (or small library or Demo APP) that discovers the device, establishes a GATT connection, and exposes read / write / notify helpers for the relevant characteristics. • Support for sending arbitrary UTF-8 text strings and receiving responses up to 20 bytes in hex as well as longer text lines. • Connection-state callbacks (connected, disconnected, reconnect attempts) so the UI can react instantly. • Clean exception handling and time-outs so the app never hangs if the peripheral is out of range or unresponsive. • Code must compile against Android SDK 34 using .NET 8.0’s BluetoothLE libraries; no external Java wrappers. We are using EZ-Serial Bluetooth LE chip. (Chip and device details to follow - Hardware can be shipped for testing.) Acceptance I’ll drop the DLL or project into my solution, call a simple SendAsync(“CMD”) and expect an event/observable that hands me back the byte[] or string response. A quick sample page that lists nearby devices, lets me pick one, and echoes commands is enough to demonstrate it working. If you’ve already wrestled with MTU limits, characteristic write types, or reconnection edge cases, you’re the person I’d like to collaborate with.