**.node[*].applicationType = "SensorApplLayer"
**.appl.trafficType = "periodic"
**.appl.trafficParam = ${traffic = 1..19 step 2}s
**.appl.nbPackets = 10
**.appl.initializationTime = 10s
**.appl.destAddr = 4
**.node[4].appl.broadcastPackets = true
Using this code, I can provide a particular destination address to all the packets of a sender node. For example, **.node[3].appl.destAddr = 4. Now all the packets generated in node [3] has the destination address of node [4].
I would like to provide more than one destination addresses in this line (**.node[3].appl.destAddr = 4). For example, how to change this code so that node [3] can send packets to both node [2] and node [4] during the simulation.
Does anyone have any idea about how to provide more than one destination address using the Sensor Application Layer? Thanks in advance.