Contiki 2.5
Data Structures | Macros | Functions
convergence_layer.h File Reference

IEEE 802.15.4 Convergence Layer Implementation. More...

#include "contiki.h"
#include "rimeaddr.h"
#include "process.h"
#include "mmem.h"

Go to the source code of this file.

Data Structures

struct  transmit_ticket_t
 Bundle Queue Entry. More...
 

Macros

#define CONVERGENCE_LAYER_QUEUE   10
 How many outgoing bundles can we queue?
 
#define CONVERGENCE_LAYER_QUEUE_FREE   (0.2 * CONVERGENCE_LAYER_QUEUE)
 How many queue slots remain free for internal use?
 
#define CONVERGENCE_LAYER_RETRIES   4
 How often shall we retransmit bundles before we notify routing.
 
#define CONVERGENCE_LAYER_FAILED_RETRIES   15
 How often shell we retry to transmit, if it has not been transmitted at all?
 
#define CONVERGENCE_LAYER_TIMEOUT   5
 How long shall we wait for an app-layer ACK or NACK? [in seconds].
 
#define CONVERGENCE_LAYER_RETRANSMIT_TIMEOUT   0.5
 How long shell we wait before retransmitting an app-layer ACK or NACK? [in seconds].
 
#define CONVERGENCE_LAYER_RETRANSMIT_TRIES   (CONVERGENCE_LAYER_TIMEOUT / CONVERGENCE_LAYER_RETRANSMIT_TIMEOUT)
 How often shall we retransmit?
 
#define CONVERGENCE_LAYER_QUEUE_ACTIVE   0x01
 Bundle queue flags.
 
#define CONVERGENCE_LAYER_COMPAT   0x00
 CL COMPAT VALUES.
 
#define CONVERGENCE_LAYER_TYPE_DATA   0x10
 CL Header Types.
 
#define CONVERGENCE_LAYER_FLAGS_FIRST   0x02
 CL Packet Flags.
 
#define CONVERGENCE_LAYER_MASK_COMPAT   0xC0
 CL Field Masks.
 
#define CONVERGENCE_LAYER_STATUS_OK   0x01
 CL Callback Status.
 
#define CONVERGENCE_LAYER_PRIORITY_NORMAL   0x01
 CL Priority Values.
 
#define CONVERGENCE_LAYER_MAX_LENGTH   115
 Maximum payload length of one outgoing frame.
 

Functions

 PROCESS_NAME (convergence_layer_process)
 Convergence Layer Process.
 

Detailed Description

IEEE 802.15.4 Convergence Layer Implementation.

Author
Georg von Zengen vonze.nosp@m.ng@i.nosp@m.br.cs.nosp@m..tu-.nosp@m.bs.de
Wolf-Bastian Poettner poett.nosp@m.ner@.nosp@m.ibr.c.nosp@m.s.tu.nosp@m.-bs.d.nosp@m.e

Definition in file convergence_layer.h.