Hello.
When I try to initialize provisioning bearer gatt with turned on the proxy, provisioning bearer is reconfigure the mesh_gatt which it will not work with proxy anymore.
mesh_gatt.c - initialisation function:
memcpy(&m_gatt.uuids, p_uuids, sizeof(mesh_gatt_uuids_t)); m_gatt.evt_handler = evt_handler; ... NRF_MESH_ERROR_CHECK(sd_ble_gatts_characteristic_add(m_gatt.handles.service, &char_md, &attr_char_value, &m_gatt.handles.rx)); ... NRF_MESH_ERROR_CHECK(sd_ble_gatts_characteristic_add(m_gatt.handles.service, &char_md, &attr_char_value, &m_gatt.handles.tx)); m_gatt.p_context = p_context;
After the provisioning bearer initialization, the proxy char handles and event handler will be replaced.
What I am doing wrong? Do I need to init the provisioning bearer gatt if already have proxy?