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

How to connect android/iOS app in the mesh network without GATT server

Hello,

I am developing an app which connect to provisioned node using GATT in the mesh network. But the limitation of this is, it has only pair to pair communication. It is creating problem in getting acknowledgements from other nodes in the network.

So that, instead of this I want to connect my app directly to the network using mesh.

How can I achieve this? Is it possible in android and iOS  app?

Thank you.

Regards,

Anaya

Parents Reply Children
  • Hi, 

    Sorry for the late reply. 

    To enable multiple peripheral GATT connections, please ask customer to add/update following defines in the `app_config.h` file : 

    #define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 2
    #define NRF_SDH_BLE_TOTAL_LINK_COUNT 2

    Set these defines to the number of connections required. Note that, increasing this value may require additional RAM for the softdevice to be allocated. If sufficient RAM is not available a call to nrf_sdh_ble_enable() at this location will fail. The required application ram start value will be available in ram_start variable. Use this value in the linker script (for example: nrf52832_xxAA_s132_7.0.1.ld) to increase application RAM starting address (RAM (rwx) `origin` field) and decrease the size of the application RAM (`length` field) by a corresponding amount and rebuild the application.

    Note that, both GATT proxy clients must have the same network configuration (i.e. knowledge of network keys and nodes) to be able to communicate with a mesh node. You can do this by exporting a network database from one mobile application and importing it to another.

Related