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

Asset Tracking

hi Support Team

I am working on Asset Tracking project.Looks like Bluetooth Mesh is more oriented towards controlling.

I have a Ble device Emitting some Data. (say A)

And I have Group of  Nodes Commissioned for Mesh. I have Made most of them Servers.

I want these Server to Capture the BLE Data  from Device A and Relay it through Mesh.

How do I get the data from device A into Mesh ?

Kindly Enlighten furthur.

Thanks and Regards

Parents
  • Take a look at the proxy functionality in the mesh sdk (see section GATT Proxy). You can test this functionality by opening the light switch project from the latest mesh sdk, flashing the provisioner on one board, the light switch proxy client example on another board & the light switch proxy server example on a third board. If you then follow the steps to test the project like described here, you will be able to connect to the proxy client or server examples via nrf connect for mobile. Inside both the proxy client & proxy server examples, the mesh proxy service is implemented. The characteristics Mesh Proxy Data In & Mesh Proxy Data Out are provided in this service.

    Another option you have is to integrate an SDK example with the Mesh SDK, for example integrate the ble_app_uart example into the light switch server example. More on this is described here, as well as here.

  • Please Check the Above Images..This Image is Proxy Client Service Screen Shot On Mobile

    I am trying to Send 0x01  But the App disconnects...

    Where I am going Wrong ???

  • Which mesh sdk version are you using? I have tested with mesh sdk v2.1.1 using nRF Connect on an iPhone 8 & I receive a disconnect on the proxy server side due to a MESH_GATT_EVT_TYPE_DISCONNECTED event. I do not receive the same event on the proxy client side for some reason. Could you upload the log from nrf connect & the log from your proxy server (i.e. program the examples & run a debugging session on each board in Segger Embedded Studio) when you try to write to the Mesh Proxy Data In characteristic? You should be able to swipe to the left or the right to see the nrf connect log in Android I believe.

Reply
  • Which mesh sdk version are you using? I have tested with mesh sdk v2.1.1 using nRF Connect on an iPhone 8 & I receive a disconnect on the proxy server side due to a MESH_GATT_EVT_TYPE_DISCONNECTED event. I do not receive the same event on the proxy client side for some reason. Could you upload the log from nrf connect & the log from your proxy server (i.e. program the examples & run a debugging session on each board in Segger Embedded Studio) when you try to write to the Mesh Proxy Data In characteristic? You should be able to swipe to the left or the right to see the nrf connect log in Android I believe.

Children
  • Mesh 2.1.1

    Can you tell me steps to make the Light ON from Android APP ?

  • You should be able to turn the light on from the android nrf mesh app. If I were you, I would take a look at the source code provided here for the Nordic Thingy:52 device & use that as example code for updating the mesh sdk v2.1.1 proxy client & proxy server examples. You will need to add the generic on/off model instead of the simple on/off model to these two examples to be able to turn the light on or off from the android app. Again, take a look at the Thingy:52 code for help regarding this.

    Then, you can follow the youtube video here to see how to test the example. You will not need to add a publication address to the client or a subscription address to the server. If you have not subscribed to a group address on the server device, the app will send the on/off command to the unicast address of the server (i.e. the LED element unicast address). It should be similar for the client I believe. You will need to bind the application keys on both the client & the server from the nRF mesh app.

Related