7 #ifndef __PVDEVICEINFOPLEORAPROTOCOL_H__
8 #define __PVDEVICEINFOPLEORAPROTOCOL_H__
10 #include <PvDeviceInfo.h>
27 uint8_t GetDeviceID()
const;
28 uint8_t GetModuleID()
const;
29 uint8_t GetSubID()
const;
30 uint8_t GetVendorID()
const;
31 uint8_t GetSoftwareMajor()
const;
32 uint8_t GetSoftwareMinor()
const;
36 #ifndef PV_GENERATING_DOXYGEN_DOC
42 void SetIPAddress(
const std::string &aValue ) { *mIPAddress = aValue; }
43 void SetMACAddress(
const std::string &aValue ) { *mMACAddress = aValue; }
44 void SetSubnetMask(
const std::string &aValue ) { *mSubnetMask = aValue; }
45 void SetDefaultGateway(
const std::string &aValue ) { *mDefaultGateway = aValue; }
47 void SetDeviceID( uint8_t aValue ) { mDeviceID = aValue; }
48 void SetModuleID( uint8_t aValue ) { mModuleID = aValue; }
49 void SetSubID( uint8_t aValue ) { mSubID = aValue; }
50 void SetVendorID( uint8_t aValue ) { mVendorID = aValue; }
51 void SetSoftwareMajor( uint8_t aValue ) { mSoftwareMajor = aValue; }
52 void SetSoftwareMinor( uint8_t aValue ) { mSoftwareMinor = aValue; }
54 #endif // PV_GENERATING_DOXYGEN_DOC
61 std::string *mIPAddress;
62 std::string *mMACAddress;
63 std::string *mSubnetMask;
64 std::string *mDefaultGateway;
70 uint8_t mSoftwareMajor;
71 uint8_t mSoftwareMinor;