9 #ifndef _GXPL_BRIDGE_HEADER_ 10 #define _GXPL_BRIDGE_HEADER_ 12 #include <gxPL/defs.h> 58 const char * vendor_id,
const char * device_id,
59 const char * filename,
const char * version);
int gxPLBridgeDeviceEnable(gxPLBridge *bridge, bool enable)
Enable device for the outsite network.
int gxPLBridgeClose(gxPLBridge *bridge)
Close a gxPLBridge object and release all ressources.
int gxPLBridgeDeviceIsEnabled(const gxPLBridge *bridge)
Checks if device is enabled.
int gxPLBridgePoll(gxPLBridge *bridge, int timeout_ms)
Polling event of a bridge.
int gxPLBridgeDeviceSet(gxPLBridge *bridge, const char *vendor_id, const char *device_id, const char *filename, const char *version)
Sets the device for the outsite network.
Describe a gxPLApplication configuration.
gxPLApplication * gxPLBridgeInApp(gxPLBridge *bridge)
Returns the inside application.
gxPLDevice * gxPLBridgeDevice(gxPLBridge *bridge)
Returns the device for the outsite network.
gxPLBridge * gxPLBridgeOpen(gxPLSetting *insetting, gxPLSetting *outsetting, uint8_t max_hop)
Opens a new gxPLBridge object.
gxPLApplication * gxPLBridgeOutApp(gxPLBridge *bridge)
Returns the outside application.
int gxPLBridgeSetNewInSetting(gxPLBridge *bridge, gxPLSetting *insetting)
Sets new setting for inside network If configuration differ, the network will be closed then opened w...