|
FieldTalk Modbus Master C++ Library
Library version 2.13.3
|
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 |
Container for Device ID objects.
|
inline |
Indicates if more objects can be retrieved with another readDeviceIdentification call.
|
inline |
Get the next Device ID object.
The object ID is one from this list:
| Object Id | Object Name / Description |
| 0x00 | VendorName |
| 0x01 | ProductCode |
| 0x02 | MajorMinorRevision |
| 0x03 | VendorUrl |
| 0x04 | ProductName |
| 0x05 | ModelName |
| 0x06 | UserApplicationName |
| 0x07 - 0x7F | Reserved |
| 0x80 - 0xFF | Vendor specific private objects |
| idPtr | Pointer to a variable to receive the Object ID, refer to above table |
| data | Pointer to a string pointer to receive the ASCII data. It is guaranteed that the string is null terminated. |
| lenPtr | Pointer 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. |