You can send data to all the routers in the network without using binding.
This is maybe the simplest method:
If using GenericApp as an example you will have to change the following
lines in GenericApp_Init():
GenericApp_DstAddr.addrMode = (afAddrMode_t)AddrNotPresent;
GenericApp_DstAddr.endPoint = 0;
GenericApp_DstAddr.addr.shortAddr = 0;
to this:
GenericApp_DstAddr.addrMode = (afAddrMode_t)AddrBroadcast;
GenericApp_DstAddr.endPoint = GENERICAPP_ENDPOINT;
GenericApp_DstAddr.addr.shortAddr = 0xFFFC;
The address 0xFFFC broadcasts to all routers in the network. When using
this method, no binding is needed.