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

Is it possible to perform BLE Scan while participating in an mesh network.

Is it possible to perform BLE Scan using an server (In the Light Switch Demo Example) while participating in a mesh network?

Parents
  • Hi,

    Yes, it is possible to do other BLE activity whilst participating in the mesh network. Please check out the Beaconing example for a quick demonstration. I also recommend that you read the documentation on Coexistence with other Nordic SDKs.

    Ketil

  • Hi, Beaconing example is for advertisement right? I wanted to do do a BLE scan for beacons in the vicinity and then based on that i need to send some data over the mesh to all he nodes. So i wanted to know how do perform be scan while on mesh.

  • Hi,

    Yes, the Beaconing example is for advertisement. You can do scanning but will have to implement it yourself. Please note that SoftDevice activity is prioritized over Mesh activity when running concurrently. From the Coexistence documentation:

     

  • Please tell me from where i can find the scan APIs in the mesh SDK, or is it ok to use the APIs directly from the normal sdk? If so please share some examples in regard to the same.

    Thank you,

    Sivaguru Ravi

  • Hi Sivaguru,

    From the Coexistence documentation:

    If you plan to use an example from the nRF5 SDK in combination with the mesh stack, move the mesh stack repository into the Nordic nRF5 SDK examples folder and include the necessary source files in the Nordic nRF5 SDK project that you want to use.

    I also recommend that you check out Mesh SDK 2.0.0 which is now available for download.

    Ketil

Reply
  • Hi Sivaguru,

    From the Coexistence documentation:

    If you plan to use an example from the nRF5 SDK in combination with the mesh stack, move the mesh stack repository into the Nordic nRF5 SDK examples folder and include the necessary source files in the Nordic nRF5 SDK project that you want to use.

    I also recommend that you check out Mesh SDK 2.0.0 which is now available for download.

    Ketil

Children