gxPL  1.0
Tools, Application and Framework for xPL
_gxPLSetting Struct Reference

Describe a gxPLApplication configuration. More...

#include <defs.h>

Data Fields

union {
   struct {
      uint16_t   broadcast: 1
 
      uint16_t   iosflag: 1
 
      uint16_t   log: 3
 
      uint16_t   malloc: 1
 
      uint16_t   nodaemon: 1
 
   } 
 
   uint16_t   flag
 
}; 
 
union {
   gxPLIoXBeeSetting   xbee
 
}; 
 
gxPLConnectType connecttype
 
char iface [NAME_MAX]
 
char iolayer [NAME_MAX]
 
unsigned iotimeout
 

Detailed Description

Describe a gxPLApplication configuration.

Examples:
hub/gxpl-hub.c, logger/gxpl-logger.c, and sender/gxpl-sender.c.

Definition at line 238 of file defs.h.

Field Documentation

uint16_t _gxPLSetting::broadcast

all broadcasts messages will be rebroadcasted by the bridge

Definition at line 250 of file defs.h.

char _gxPLSetting::iface[NAME_MAX]

interface name

Definition at line 240 of file defs.h.

char _gxPLSetting::iolayer[NAME_MAX]

io layer name

Definition at line 241 of file defs.h.

uint16_t _gxPLSetting::iosflag

true if io setting was configured

Definition at line 249 of file defs.h.

unsigned _gxPLSetting::iotimeout

timeout at the opening of the io layer

Definition at line 253 of file defs.h.

uint16_t _gxPLSetting::log

log level 0 - 7

Examples:
sender/gxpl-sender.c.

Definition at line 246 of file defs.h.

uint16_t _gxPLSetting::malloc

this configuration has been allocated on the heap and should be released.

Definition at line 247 of file defs.h.

uint16_t _gxPLSetting::nodaemon

do not daemonize

Examples:
hub/gxpl-hub.c.

Definition at line 248 of file defs.h.