ESP-BLE-MESH Send menssages

celia diaz
Posts: 6
Joined: Thu Mar 07, 2024 12:01 pm

ESP-BLE-MESH Send menssages

Postby celia diaz » Wed Mar 13, 2024 10:04 am

Hello everyone!

I am new to using esp-idf and I am currently working with BLE Mesh. I need some advice on achieving the following:

Broadcast communication: Any node should be able to send messages to all other nodes in the network.
Unicast communication: A node should be able to send messages to a specific node.
Groupcast communication: A node should be able to send messages to a subgroup of nodes.

The goal is to send simple text messages, such as "Hello".

I have been studying Bluetooth Low Energy (BLE) for the past few months and have been reviewing the example projects provided by Espressif. I believe I need to create a Vendor Model to send text messages, but as a beginner, I would appreciate any advice from people with more experience.

Any suggestions are welcome!

Best regards,

Celia

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP-BLE-MESH Send menssages

Postby chegewara » Thu Mar 14, 2024 1:41 am

Hi,
i am not that much experienced as i would like, but i can tell you this:
- yes, start with vendor model
- broadcast is when you send message to address 0xFFFF (all nodes)
- unicast, as you already know its when you are sending to unicast address(0x0001-0x7FFF)
- group when you are sending to group address (0xC000- 0xFEFF) or virtual label address (0x8000-0xBFFF)

Studying and testing examples (change anything you can think of) is best way to learn, at least in my case.

Who is online

Users browsing this forum: Bing [Bot] and 91 guests