Where is the polled message from the Friend Node stored?

Using the Low Power node example with the light switch server example. 

The LP Node successfully polls messages from the friend node. 

I am struggling to figure out, WHERE the polled messages are located. Can someone tell me in which data structure the polled messages are stored? 

Parents
  • Hi Hypn, 

    As far as I know, there isn't a buffer specifically for message from friend node. The packets from friend node are received the same way as normal mesh packet. So it's transparent to the transport and access layer if the packet is received from a friend node or it receive from a relay node (like normal non LPN node) 
    Could you let me know what's the exact issue you are dealing with ? 

  • Thank you for your answer.

    So you say I have to change the subscription adress of the nRF5x Mesh Light Node to the ELEMENT Adress, in which the Generic ON/OFF Model is saved in the LP Node? By using the App?

    I tried this, however, I still don't get any messages in the RTT output of the LP Node. 

    Here you see the three Nodes in my App: 

    The LP Node with its Elements and its Elements Adresses: 

    The Setting I am using for the Generic ON OFF Client of the LP node:

    It publishes to the Group 0xC002 and is not subscribed to anything. 

    Then the elements of the light server with the corresponding adresses: 

    The Setting of the Generic On Off Server of the Light Server Node:

    (The Light Server publishes directly to the LPN Node Element with adress 0x001C and is subscribed to the Group 0XC002). 

    Sorry I am very confused and I have no clue where the problem is. 

    Regarding your statetement: 

    Note that there is a timer that automatically send a OFF packet after you click ON. 

    I noticed this behaviour. Whats the purpose of this behaviour? This should be mentioned in the Low power example documentation page since I thought there might be a problem with the provisioning process or something and I spent some time to figure this out. 

    Kind Regards, 

Reply
  • Thank you for your answer.

    So you say I have to change the subscription adress of the nRF5x Mesh Light Node to the ELEMENT Adress, in which the Generic ON/OFF Model is saved in the LP Node? By using the App?

    I tried this, however, I still don't get any messages in the RTT output of the LP Node. 

    Here you see the three Nodes in my App: 

    The LP Node with its Elements and its Elements Adresses: 

    The Setting I am using for the Generic ON OFF Client of the LP node:

    It publishes to the Group 0xC002 and is not subscribed to anything. 

    Then the elements of the light server with the corresponding adresses: 

    The Setting of the Generic On Off Server of the Light Server Node:

    (The Light Server publishes directly to the LPN Node Element with adress 0x001C and is subscribed to the Group 0XC002). 

    Sorry I am very confused and I have no clue where the problem is. 

    Regarding your statetement: 

    Note that there is a timer that automatically send a OFF packet after you click ON. 

    I noticed this behaviour. Whats the purpose of this behaviour? This should be mentioned in the Low power example documentation page since I thought there might be a problem with the provisioning process or something and I spent some time to figure this out. 

    Kind Regards, 

Children
  • Hi, 
    In my test here I just need to set the publication address of the Light Switch Server to the LPN node and it works. In your case it's 0x001C. Please make sure to reestablish the friendship after that. (In my test the friend node and the light switch server is the same node).

    Please set the publication address of the LPN light switch client to the unicast address of the light switch server, in this case 0x001D.

Related