...
CellType | Description |
---|---|
CELLTYPE_OFF | slot that doesn't do anything |
CELLTYPE_TX | slot for sending packet |
CELLTYPE_RX | slot for receiving packet |
CELLTYPE_TXRX | slot for sending/receiving |
CELLTYPE_SERIALRX | slot for listening data from serial port |
Type Off
...
The cell with type off basically is only for sending status data. Besides that, Off type cell also used for sending the packet to DAGroot if necessary. Because of this feature, there must be always at least one Off type cell in the schedule.
Info | ||
---|---|---|
| ||
In OpenWSN, the DAGroot is separated into two parts: the MAC layer TSCH implementation on the mote hardware and the upper layer which interacts with internet (which is called OpenVisualizer). |
Type Tx/Rx
...
The cell with type Tx/Rx is used for sending dedicated packet to one of its neighbor. The cell with this type associated with a 64-bit address of its neighbor and only allows the packet with the address as receiver address for transmission.
Type TxRx
The cell with type TxRx is used for CSMA communication. The cell with this type associated with any-cast type address and allows any type packet transmission through this type cell.
...
In OpenWSN, there are several definition about the number of different type of cells. For better utilizing those parameters, we will describe them here.
Parameter | description | |
---|---|---|
SCHEDULE_MINIMAL_6TISCH_ACTIVE_CELLS | The number of active cells defined by 6tisch minimal draft. This is the initial number active slot for the network. | |
NUMSERIALRX | The number of cells for receiving serial data from openvisualizer. By default it's set to 3. | |
NUMSLOTSOFF | The number of available slot entries. Those slots can be used as any other type of cells. At initial of the network, those slots are off type. | |
SLOTFRAME_LENGTH | The length of slotframe. |
...