Page 1 of 1

ESP-BLE-MESH Send menssages

Posted: Wed Mar 13, 2024 10:04 am
by celia diaz
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

Re: ESP-BLE-MESH Send menssages

Posted: Thu Mar 14, 2024 1:41 am
by chegewara
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.