This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mesh gatt and ble gatt

Hi. I have read the documentation and I have a couple of questions:

  1. What makes work different mesh_gatt and nrf_ble_gatt? Why can't they work together (maybe it's because of ATT_MTU, but I'm not sure).
  2. Why can I write and read a characteristic without function gatt_init in nrf5 sdk?
  3. how the characteristics created as in the BLE project in mesh will work? i created service and characteristics. they will communicate through the mesh gatt?
Parents Reply
  • 1. It's commented out because the mesh_gatt.c already handle the ATT_MTU request. 

    2. Again the gatt_init() is only initialize the nrf_ble_gatt module which handles the ATT_MTU and the Data lenght request. It's not related to the service and characteristics.

    3. Please send what inside your "gatt_init" maybe it's different from my gatt_init. Please follow what I did in the example that I quoted. Note the change in  nrf_mesh_provisionee.c 

Children
Related