nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.36k stars 710 forks source link

Single server and multiple clients #946

Open kowshik1234 opened 4 years ago

kowshik1234 commented 4 years ago

Hey guys,

I've been recently playing around with the ESP32 's BLE feature. So, as a part of it, I wanted to try out server-client configuration. Basically I will be having one server ESP32 server which connects to a client esp32 and my mobile too. When I send a string from mobile, it should reach the client esp32 through the server. here is a small picture of what I've been talking about. I hope this must be possible with ESP32's BLE peripheral.

image

chegewara commented 4 years ago

Sure, it is possible.

kowshik1234 commented 4 years ago

Thanks, Can I have any example codes upon which I can develop my code?

kowshik1234 commented 4 years ago

Any suggestions @chegewara

chegewara commented 4 years ago

Use BLE client and BLE server as starting point and try to merge them.