UART to SPP bridge: how to send data from UART to SPP?

hongthiet1994
Posts: 1
Joined: Sat Dec 07, 2019 4:35 am

Re: UART to SPP bridge: how to send data from UART to SPP?

Postby hongthiet1994 » Wed Mar 10, 2021 1:52 pm

do you have full source ?
please public

omaima
Posts: 1
Joined: Tue Jun 01, 2021 7:37 am

Re: UART to SPP bridge: how to send data from UART to SPP?

Postby omaima » Tue Jun 01, 2021 7:48 am

hi, can you please share your code? i need to set uart to ssp bridge to measure BT rate and module consumtion for esp32 mini/pico. i'm new to esp i've tried following the suggestions but no luck, thanksfor the help!

tofu_connected
Posts: 1
Joined: Thu Aug 05, 2021 11:31 am

Re: UART to SPP bridge: how to send data from UART to SPP?

Postby tofu_connected » Thu Aug 05, 2021 11:44 am

I've managed to get data from UART to SPP. Here's the code: https://pastebin.com/yQEU2Tzt
I'm not sure if everyhing here is needed, especially the GAP functionality.
I had to move UART configuration before all of the bluetooth functionality because otherwise it would stop execution in the middle of esp_spp_cb() for some reason.
I'm on platform-espressif32 v3.3.1 and esp-idf v4.3

Who is online

Users browsing this forum: No registered users and 64 guests