top of page

Hardware

Public·107 members

What is Bluetooth's UART ID?

When I mentioned UART id, I was referring it as a UART_RX_CHARACTERISTIC.


Currently, I have them set as follows:


const UART_SERVICE = "0000ffe0-0000-1000-8000-00805f9b34fb"
const UART_RX_CHARACTERISTIC = "0000ffe1-0000-1000-8000-00805f9b34fb"
const UART_TX_CHARACTERISTIC = "0000ffe1-0000-1000-8000-00805f9b34fb"



I wanted to clarify that when I said ID, I meant as in RX. I've measured it, and the Bluetooth gets data 100 times per second, which is excellent! Pyserial shows the same result.

When it comes to sending massive amounts of data to Arduino, pyserial handles it very well. However, Bluetooth gets choked so hard and disconnects instantly. I want to clarify that when I manually send data to bluetooth, it works well. However, when it comes to automation, it quickly overwhelms Petoi. It seems like an issue with UART RX.

76 Views
Kevin KO
Kevin KO
Oct 22, 2024

Found it! Sorry for keep asking a dumb question T_T



https://github.com/PetoiCamp/OpenCatEsp32/blob/main/src/bleUart.h#L38-L40

Members

bottom of page