• Libraries
  • Shop
  • Doc
  • Free Modbus
  • Support
  • Login
FieldTalk Modbus Master C++ Library  Library version 2.13.3
  • Introduction
  • Chapters
  • Modules
  • Classes
  • Class List
  • Class Hierarchy
  • Class Members
Public Member Functions | Friends | List of all members
DeviceIdObjectList Class Reference

Container for Device ID objects. More...

Public Member Functions

 DeviceIdObjectList ()
 Construct a new Device ID object list.
 
int getCount ()
 Return number ID objects in this list.
 
bool moreToFollow ()
 Indicates if more objects can be retrieved with another readDeviceIdentification call. More...
 
bool getNext (int *idPtr, char **data, size_t *lenPtr=NULL)
 Get the next Device ID object. More...
 

Friends

class MbusMasterFunctions
 

Detailed Description

Container for Device ID objects.

Member Function Documentation

◆ moreToFollow()

bool moreToFollow ( )
inline

Indicates if more objects can be retrieved with another readDeviceIdentification call.

Returns
true if more objects can be retrieved

◆ getNext()

bool getNext ( int *  idPtr,
char **  data,
size_t *  lenPtr = NULL 
)
inline

Get the next Device ID object.

The object ID is one from this list:

Object IdObject Name / Description
0x00VendorName
0x01ProductCode
0x02MajorMinorRevision
0x03VendorUrl
0x04ProductName
0x05ModelName
0x06UserApplicationName
0x07 - 0x7FReserved
0x80 - 0xFFVendor specific private objects
Parameters
idPtrPointer to a variable to receive the Object ID, refer to above table
dataPointer to a string pointer to receive the ASCII data. It is guaranteed that the string is null terminated.
lenPtrPointer to a variable to receive the length of the data not including the terminating 0. Can be omitted if all ID objects are ASCII strings and the length is of no interest.
Returns
true if more objects are contained in the reply
  • DeviceIdObjectList
  • FieldTalk Modbus Master C++ Library Library version 2.13.3
Speak to the Experts
Modbus Organization Member logo

We are member of the Modbus Organization, Inc.

Buy with Confidence
30-day money back guarantee All our FieldTalk web sales are backed by a 30-day Money Back Guarantee.
We Accept
Bank VISA MasterCard PayPal
Customer Info
  • Info & Contact
  • Customer Login
  • Terms of Service
  • Terms of Sale
  • Privacy Policy
© 2005-2025 proconX Pty Ltd. All rights reserved. proconX and FieldTalk are trademarks of proconX Pty Ltd.
All other trademarks and registered trademarks appearing on www.modbusdriver.com are the property of their respective owners.