billryan / WBAN-OPNET-Simulation

**NOT MAINTAINED, TRY OMNET++ and refer 802.15.4** - WBAN(IEEE 802.15.6) Simulation based on OPNET Modeler 14.5
GNU General Public License v3.0
11 stars 14 forks source link

parameter of Allocation Slot Length #7

Closed billryan closed 9 years ago

billryan commented 9 years ago

Parameter of Allocation Slot Length should not be too large for waste of time waiting. According to

//the length of an allocation slot is equal to pAllocationSlotMin + L × pAllocationSlotResolution
#define pAllocationSlotMin 500 //500 μs for NB PHY
#define pAllocationSlotResolution 500 //500 μs for NB PHY
#define allocationSlotLength 3 //for NB PHY, L=3 means that 2 ms per slot
#define allocationSlotLength2ms ((pAllocationSlotMin + allocationSlotLength*pAllocationSlotResolution) * 0.001) //2 ms default

2 ms is too long for small packets.

billryan commented 9 years ago

Set Allocation Slot Length with 0: 0.5 ms per slot. MAP2 start after beacon2 being received or sent.