</source>
 
</source>
   −
Function input is called when a new packet has arrived and need to be processed by RDC layer. And functions send and send_list are called for transmitting out-going packets.
+
Function ''input'' is called when a new packet has arrived and need to be processed by RDC layer. And functions ''send'' and ''send_list'' are called for transmitting out-going packets.
    
There are 2 very basic types of RDC layers implemented in ''ContikiOS'': ''nullrdc-noframer'' (''core/net/mac/nullrdc-noframer.c'') and ''nullrdc'' (''core/net/mac/nullrdc.c''). The first one does not use Framer functions, and transmits/receives data directly to Radio layer (Physical). The developer can take total control over the format of the packets being transmitted.  
 
There are 2 very basic types of RDC layers implemented in ''ContikiOS'': ''nullrdc-noframer'' (''core/net/mac/nullrdc-noframer.c'') and ''nullrdc'' (''core/net/mac/nullrdc.c''). The first one does not use Framer functions, and transmits/receives data directly to Radio layer (Physical). The developer can take total control over the format of the packets being transmitted.  
 
A third simple RDC layer is ''sicslowmac.c'' (''core/net/mac/sicslowmac.c''). This is a RDC layer with no energy savings and that uses IEEE 8021.5.4 frames.
 
A third simple RDC layer is ''sicslowmac.c'' (''core/net/mac/sicslowmac.c''). This is a RDC layer with no energy savings and that uses IEEE 8021.5.4 frames.
   Exception encountered, of type "Error"