Page 1 of 1

BLE mesh: subscribe local model to group address

Posted: Tue Sep 10, 2019 1:08 pm
by jokockx
Problem Description

I achieved to implement a provisioner which is able to:
- provision a node
- add and bind application keys to both local models and models in the nodes
- add subscription to group addresses in models in the nodes

But I can't figure out how to subscribe a model local on my device to a group address. Could someone help me out on this?

Re: BLE mesh: subscribe local model to group address

Posted: Thu Sep 12, 2019 11:49 am
by jokockx
I found an answer in the examples after all.
/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_operation.c
function: example_add_fast_prov_group_address
I modified this function to obtain the my required behavior