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

Multiple nodes acknowledgement problem

Getting acknowledgement only from single node which is 1st connected

  • I would suggest to print out log on the proxy handling (mesh_gatt.c and proxy.c) to check when you receive the command from the phone. 
    Also try to increase the latency of the timer to longer, just to check if it's was the cause. 
    You can remove some functionality until you can see that the issue disappear. I would suspect the flash activity could cause a problem if you use it too often. 

  • Hi Hung,

    Thanks for your suggestions.

    We will try our best on your suggestions and try to find our the cause.

    Thanks you.

    Regards,

    Dinesh

  • Hi Hung

    Greetings!

    As per your suggestion we tried to debug issue and we are having below observations.

    1. We have disabled flash activity and checked. In this case we are experiencing timeout issue

    2. Then we have increased 500uSec timer interval, here also we are experiencing timeout issue

    3. Then we disabled that 500 uSec timer then also bad luck

    Also as per your suggestion we enabled mesh_gatt.c and proxy.c logs and below are observation

    1. The node to which android app is connected (proxy_node) shows log for number of request made

    Sample logs

    a. Request successful

    proxy.c 640: RX

    proxy.c 571: RX GATT PDU type 0x0, len 20

    proxy.c 648: TX Complete

    b. Request NOT successful

    proxy.c 640: RX

    proxy.c 571: RX GATT PDU type 0x0, len 20

    Here "proxy.c 648: TX Complete" log is not appearing

    So we have decided go further and debug. So we have added log statement to node (end_node) of which status is requested. That node shows that status has been sent successfully.

    Request you to please guide further

    Note: attaching screenshot of log for your reference

    Regards,

    Dinesh

    proxy_nodeend_node

  • Hi Dinesh, 

    Thanks for the information. We actually reproduced the issue here even with the light switch server. So most likely it's not what you implemented caused the issue. 
    But how often do you see the issue when you get the time out ? Is it what similar to my video ? Like once out of 7-10 times ? 

  • Hi Hung,

    Greetings !

    I am colleague of Dinesh and Anaya. Thanks for your reply and sorry for delayed response.

    Please note our observations as below.

    We are seeing this issue once in a 10 times in Android application.

    Also we have taken trials with iOS application where in we have operated for approximately 200 times and still there was no single occurrence of timeout error.

    Also we have another observation that while connecting to mesh network from Android and iOS application we are seeing below message two times in Android and once in iOS.

    Message:- "ble_softdevice_support.c, 104, successfully updated connection parameter"

    Please guide us further to resolve this issue.

    Madhav,

Related