← index #8226Issue #8248
Related · high · value 3.078
QUERY · ISSUE

ESP32 Bluetooth central only getting one Bluetooth device at a time

openby TheMrguilleropened 2022-01-29updated 2022-02-02
port-esp32

Hi,

I am new to micropython and I have some issues related to Bluetooth central. I am trying to connect two esp32 devices via Bluetooth, but it seems that my central device cannot detect my peripheral. I have checked it with my mobile found and i can connect to the peripheral. I have tried both example of this github and i get the same problem.

Can someone help me with this problem? I am also new in github, so please have some mercy :).

CANDIDATE · ISSUE

ESP32 can not work as central and peripherial at the same time

closedby TheMrguilleropened 2022-02-02updated 2022-02-04
port-esp32

I am working in a project and I need to have the esp32 to work as central and client at the same time. The flow of the proyect is the following:
1-My mobile phone connects to the esp32, the esp32 will be working as a peripherial.
2- Once the connection is made, I start the connection with another esp32. In this case my main esp32 is working as a central and the final one as a peripherial.
I know that the connections work fine, but every time I get to the second point the previous one disconnects. It seems it automatically disconnects, but I dont know how to solve it. I have read that is posible with arduino, but in my case I need to develop it with python. Can someone help me?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied