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 ? 

  • 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.

    I've already set the publication adress of the two Light Switch Server to the LPN Node. (as shown above?) 


    I do not agree with the second setting: 

    If I set the publication adress of the LPN light switch to the unicast adress of the light switch server, only the LED of exactly THAT light switch server (0x001D in this case) is turned on when I push the button on the LPN light switch. 

    However, isn't it the purpose of this example that BOTH LED on the light switch servers turn on if the ON button is pressed on the LPN light switch? Therefore the publication adress of both light switch servers have to be set to the group adress and both light switch servers are subscribed to the exact same group adress. 

    I cannot explain why, but I tested the setup today and today it worked. 

Reply
  • 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.

    I've already set the publication adress of the two Light Switch Server to the LPN Node. (as shown above?) 


    I do not agree with the second setting: 

    If I set the publication adress of the LPN light switch to the unicast adress of the light switch server, only the LED of exactly THAT light switch server (0x001D in this case) is turned on when I push the button on the LPN light switch. 

    However, isn't it the purpose of this example that BOTH LED on the light switch servers turn on if the ON button is pressed on the LPN light switch? Therefore the publication adress of both light switch servers have to be set to the group adress and both light switch servers are subscribed to the exact same group adress. 

    I cannot explain why, but I tested the setup today and today it worked. 

Children
  • Hi Hypn, 
    I agree that group address should also work. The LPN node is considered that it can do all mesh activity that a normal node can do (except for relaying). 

    My suggestion earlier is for testing and to be sure you can receive the feedback from the server. 

    But it's important to make sure that the subscription address that the LPN subscribed (the group address) is added to the friend node. Again, the LPN needs to subscribe to the group address and after that you establish friendship. 

Related