kai-morich / SimpleBluetoothLeTerminal

Android terminal app for Bluetooth LE devices using custom serial profiles
MIT License
288 stars 111 forks source link

RNBD451 Remote Command Charateristic #52

Open joeygold opened 4 months ago

joeygold commented 4 months ago

https://onlinedocs.microchip.com/oxy/GUID-26457D23-798C-47B0-9F40-C5DA6E995C6F-en-US-2/GUID-A7263185-4F92-4567-9A18-7433617D925E.html

Can you add RNBD451 Transparent Control Point (TCP) . This allows ASCII BLE commands to remotely control the RNBD451. Transparent Control Point (TCP) – UUID 49535343-4C8A-39B3-2F49-511CFF073B7E

My guess in the data flow a) Send ASCII commands from SimpleBluetoothLeTerminal SimpleBluetoothLeTerminal Remote Commands using 49535343-4C8A-39B3-2F49-511CFF073B7E -->RNBD451

b) Receive echoed response from RNBD451 RNBD451 Rx --->Transparent UART Receive (RX) Characteristics UUID – 49535343-8841-43F4-A8D4-ECBE34729BB3 SimpleBluetoothLeTerminal

kai-morich commented 2 months ago

More explanation of the control characteristic can be found here

joeygold commented 2 months ago

Microchip RBND451 modules there are is one BLE service which umbrellas 3 characteristics Tx, Rx and Command. Your app already works with the Tx and Rx characteristics. Hence the Command characteristic is what I am after. Has the same as the Tx and allows remote in to the module (takes ove the external UART of the module).

The URL You list and the associate App doesn't really seamlessly write to the Command Characteristic 49535343-4C8A-39B3-2F49-511CFF073B7E

It's the same as what you have already coded in the App except one characteristic is changed to 49535343-4C8A-39B3-2F49-511CFF073B7E

joeygold commented 2 months ago

OR Alternatively let the App User choose the BLE Service and Characteristic Values and store them for later.