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

MESH packet loss problem

Hi,

I use the server and client from "light_switch DEMO", along with iOS app (nRF Mesh) for setting and pairing. Both ”subscription” & ”publish address” are set as 0xC001, but there are 20% (2 out of 10) fail to receive my commands. Based on RTT output, it should be packet loss. Please help to see how we can solve this MESH packet loss problem. Thanks!

Parents
  • Hi Roger, 

    Which hardware do you use to test ? 

    How do you verify that the missing commands were actually sent from the client ? 

    Which type message you sent from the client. If you want to have more reliable communication you should use set with acknowledge message so that when there is a timeout the stack will retransmit the data. 

    Please test in an environment with less air traffic (wifi for example) 

    You may want to turn logging level to LOG_LEVEL_DBG1 to see more log on access layer (look for "TX:" "RX:" log) 

  • Hi Hung,

    Using 52832 BLE module.

    Using Client to send out by "generic_onoff_client_set", at the same time, we set "Retransmit count" as 5, set "Invertal Steps" as 3, but server still cannot receive data (I've opened the LOG_LEVEL_DBG1, and cannot find any RX wording).

    In addition, these devices are placed on the same table nearby each other.

  • Hi Roger, 

    I assume you meant the "server still cannot receive data" is only for 20% of the time ? 

    Which nRF52832 module did you use ? 

    Can you test with normal BLE examples and check if you see the same bad performance ? 

    When you enable LOG_LEVEL_DBG1, do you see "TX:" in the log on the client ? 

  • Hi Hung,
    I am the same team with Roger. Maybe I know the problem origin, as the light_switch demo has 2 devices (client, server), but our project involves each device that includes both client and server, thats why repeat sending would fail. My question is, under our use case, we cannot ensure which device would initiate the send command (client), thats why we have every device to include client as well server too, is it fine and correct? If not, how can we handle this issue?
    Thanks!
Reply
  • Hi Hung,
    I am the same team with Roger. Maybe I know the problem origin, as the light_switch demo has 2 devices (client, server), but our project involves each device that includes both client and server, thats why repeat sending would fail. My question is, under our use case, we cannot ensure which device would initiate the send command (client), thats why we have every device to include client as well server too, is it fine and correct? If not, how can we handle this issue?
    Thanks!
Children
Related