nRF Mesh Sniffer App

Hello,

I would like to know if there is a way that I could see the source code of the nRF Mesh Sniffer app for Android, just like the nRF mesh source code is available in GitHub, to be able to receive the published data from mesh in my app. The device is publishing the data that I want but I am having trouble receiving it in the app, so to be able to look at the sniffer app source code would be really helpful. Thanks in advance!

Parents
  • Hi,

    I don't think we have source to share for the nRF Mesh Sniffer, unfortunately. I am also not sure how much of it is transferable to a standard Bluetooth Mesh application.

    If you are having issues with a custom application, I would advise to use the nRF Mesh app (to see if you can set up things properly with that one), as well as do standard debugging (through debug session on the nRF side, through debug session for the smartphone app, through use of nRF Mesh Sniffer, etc.)

    Also, if you provide a more detailed description of your setup, what you do, and where and what issues you are seeing, then we might provide some suggestions or assistance in figuring out why your app is not receiving the published data. Are you, for instance, able to send or receive standard messages such as generic on/off? Is provisioning done from your app, and does that work? And so on.

    Regards,
    Terje

  • Hi, 

    So in the setup we have nRF mesh chat with 3 elements and each of the elements is publishing to a group address. We want to subscribe to that group address and listen to those messages.

    In the app we can provision and also send messages to different opcodes, the only issue is when we have to receive the published messages to the app.
    We know we are publishing because our hardware can listen to those messages and in the sniffer app we can see the messages but we need to retrieve them in the custom app too, not only in the firmware.
    From what the information that we saw in this link, the nRF mesh sample app does not allow you to see the listened messages

  • Hi,

    So you have confirmed that the smartphone app works for sending messages to the other devices, and you have confirmed that the other devices can pass messages to each other.

    In that case, you should have already bound the model correctly on the smartphone app (with correct appkey. Otherwise the smartphone app should not be able to successfully send messages to the other devices.) Now, have you set up a callback for receiving messages, and/or what does your code look like for that part of the application?

    Regards,
    Terje

  • Hi,

    I am using the code of DoozProvisionedBleMeshManagerCallbacks from the example code as is to send and receive the data, and is sending the data correctly but not receiving it properly. Thanks in advance!

Reply Children
  • Hi,

    Please share your code for sending and receiving the messages, so we can have a look at suggest what could be changed or added. If you don't want to share it here in a public thread, then please create a new private thread and share it there. In that case, please also refer to this case so we can connect the two.

    Also, please confirm that you are not talking about receiving messages that were sent from the same device. I.e., the issue is that you do not receive any messages from any of the other devices.

    Regards,
    Terje

Related