BPNGClientLib
Library for accessing the Telemotive data logger devices
Public Attributes | List of all members
OnlineLoggerInfo Struct Reference

Struct with information about a logger found in LAN/WLAN used to notify IBPNGClientListener about detected/disappeared devices. More...

#include <BPNGDefines.h>

Inheritance diagram for OnlineLoggerInfo:
OnlineLoggerInfoWrapper

Public Attributes

const char * ip
 the logger's ip address, obligatory if OnlineLoggerInfo is used with IBPNGClient::setDevice()
 
const char * name
 the logger's name
 
const char * mbnr
 mainboard number
 
const char * deviceSN
 device serial number, since FW 2.2.1
 
uint8_t occupied
 0 = not occupied, 1 = connected with client, 2 = occupied by temp config (via external media)
 
const char * currentUser
 user name of connected pc account
 
uint8_t loggerStatus
 current logger status, More...
 
uint8_t wlan
 Flag for connection type. 0 = ethernet, 1 = wlan.
 
const char * tslEth0IP
 ip address of device connected to eth0, 0.0.0.0 if none
 
const char * tslEth1IP
 ip address of device connected to eth1, 0.0.0.0 if none
 
int8_t tslId
 id for device in tsl network, continues in tsl, starts with 0 on first device
 
int32_t tslNetworkId
 id of tsl network, -1 = no TSL, all devices with same tslNetworkId belong to the same TSL
 
const char * tslName
 name(id) of tsl network
 
uint8_t deviceType
 Device type,. More...
 
const char * fwVersion
 Current firmware version, since FW 2.1.1.
 
uint16_t tmpBusPort
 tmp bus port
 
uint16_t udpPort
 udp port for keep alive
 
uint16_t ftpPort
 ftp port
 
uint8_t isNotResponding
 device responding status
 
const char * sfpIp
 logic IP address for SFP transfer
 
uint16_t sfpPort
 SFP server port.
 

Detailed Description

Struct with information about a logger found in LAN/WLAN used to notify IBPNGClientListener about detected/disappeared devices.

If you want to connect to a device by setting a representation of it via IBPNGClient::setDevice(OnlineLoggerInfo device) followed by a call of IBPNGClient::connect() only the IP parameter is obligatory.

Example:

device.ip = "192.168.0.233";
client->setDevice(device);
client->connect();
See also
IBPNGClient::scanNetworkForLogger(), IBPNGClientListener

Member Data Documentation

◆ deviceType

uint8_t OnlineLoggerInfo::deviceType

Device type,.

See also
BPNGDeviceType

◆ loggerStatus

uint8_t OnlineLoggerInfo::loggerStatus

current logger status,

See also
BPNGLoggerStatus

The documentation for this struct was generated from the following file: