Other Parts Discussed in Thread: CC2530
Hi,
If i am having a two network nwkA and nwkB, node 1 is in short range of nwkA, but i want to join node 1 in nwkB. what should i do? which scan i need to do and how?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: CC2530
Hi,
If i am having a two network nwkA and nwkB, node 1 is in short range of nwkA, but i want to join node 1 in nwkB. what should i do? which scan i need to do and how?
what is role of MAC address?? any way binding is taking place through shortaddress only know.
Ravi,
The reason MAC addresses are used for binding is in case a node is mobile in the network, and it changes its short address. If the remote moves out of radio range of its parent, it must pick a new parent so that any node which wants to send data to the remote can find where the remote polls for its messages. When a ZED picks a new parent like this, it sends out a device to indicate its new NwkAddr, along with its unique MAC address
MAC addresses are also used by ZigBee in every secure packet as part of the nonce (the unique number that identifies the packet from all others for authentication reasons). Hope you understand.
You can disable permit join on nwkA and enable permit join on nwkB.
For example i am having a 4 nodes and coordinator. all nodes are powered on simultaneously after coordinator. all nodes are sending beacon at a time. But i wants to allow just node1 and node2 to join in a network. doesn't want node 3 and node 4 to join. What should i do? And coordinator is sending any acknowledge to node that he joins in the network.
In this case, you can't block node 3 and node 4 to join your coordinator. You can only send leave request to those nodes that you don't want and make them leave your network.
I have seen in one doc if NLME-LEAVE request is send to remote device then that remote device will execute that command. I don't know how to implement, what is the API/utility for to do so. I asked one more question, after joining the network, the coordinator will acknowledge that, he has join in his network.
I am confused with endpoints. Endpoints are a logical extension added to a single ZigBee radio which permits support for multiple applications, addressed by the Endpoint number (1-240). Endpoints refer to what. suppose a sensor is added to end-device, then that sensor is called endpoint?
The number 1-240 is provided by the profile or our wish? first i want to know what is endpoints? Because all the Doc saying the use and number of endpoints. But it is not mentioned, what it is?
You can find some useful information about endpoint at http://e2e.ti.com/support/low_power_rf/f/158/t/184758.aspx.
Still it's confusing me mr.Chen. The question is same as mine.
In you case, you need only one endpoint. You can image different endpoint of device like different network port. Different port uses for different function.
For example i am having 3 sensors(temp, pir, humidity) and one on/off device. According to your answer i am having only one endpoint, right?since this physical devices were connected to one of the router/enddevice which is connected to one network for sending a data to the particular network coordinator.
And i have seen in sample code, they have mentioned src endpoints and dst endpoints. If that sensor is giving there readings to CC2530 and it is going to send to coordinator. Then why these src and dst is distinguished.
1. Consider the following case: if you use one Zigbee node with different GPOs to control relay on power switches, you need to use different endpoint on the same Zigbee device.
2. Devices might be from different company and have different endpoint. That is why you need endpoint from source node and destination node.
1)You mean, if i want to control a motor. which is connected to 2 relay, one is for forward and other is for reverse. means, we should have two endpoints, right?
2)Endpoint number will provide by company or else we can give need to give random number between 1-240
1. No, I mean to control two on/off plugs separately with single Zigbee device. You will need two end points in this application.
2. Endpoint can be chosen randomly by any company.