I am trying to implement key distribution scheme in 3 Xbee+Arduino based nodes. If I assume one node as Node 1 (A) and another 2 as Node 2 (B) and Node 3 (C), I want to distribute the authentication to these nodes.
My main concern now is Identification of the nodes. I don’t know how Node 1 will refer to Node 2 and 3. I will be using other related sketch in arduino and that’s why I need to know arduino sketch by which I can identify a particular node and when needed refer to that node only. As an example if B wants to communicate with A only and then again wants to send some data to C only instead of A, how will it know the ID of the nodes and accomplish it’s job?