BLE mesh: subscribe local model to group address

jokockx
Posts: 14
Joined: Wed Jul 03, 2019 9:12 am

BLE mesh: subscribe local model to group address

Postby jokockx » Tue Sep 10, 2019 1:08 pm

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?

jokockx
Posts: 14
Joined: Wed Jul 03, 2019 9:12 am

Re: BLE mesh: subscribe local model to group address

Postby jokockx » Thu Sep 12, 2019 11:49 am

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

Who is online

Users browsing this forum: No registered users and 150 guests