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. yes, but in your coexistence example gatt_init is commented out. In my example, gatt and mesh gatt do not work together.

    2. Why? gatt is responsible for communicating characteristics and services. 

    3. another question. I activated pb-gatt and proxy in config, but did not initialize. I use gatt_init. my treatments go to mesh_gatt_on_ble_evt and call hardfault. 
    static mesh_gatt_t m_gatt;
    NRF_SDH_BLE_OBSERVER (m_gatt_obs, NRF_MESH_GATT_BLE_OBSERVER_PRIO, mesh_gatt_on_ble_evt, & m_gatt);
    #endif

Children
Related