IoT::CANopen

class SDOParameterObject

File Information

Library: IoT/CANopen
Package: CANopen
Header: IoT/CANopen/Object.h

Inheritance

Direct Base Classes: Object

All Base Classes: Object, Poco::RefCountedObject

Member Summary

Member Functions: access, code, getCOBIDCS, getCOBIDSC, getNodeID, read, setCOBIDCS, setCOBIDSC, setNodeID, type, write

Inherited Functions: access, code, copy, duplicate, read, referenceCount, release, structure, type, write, writeImpl

Types

Ptr

typedef Poco::AutoPtr < SDOParameterObject > Ptr;

Enumerations

SDOFlags

These flags are part of the Client > Server and Server > Client COB-ID fields.

SDO_FLAG_INVALID = 0x80000000

SDO exists and is valid (0) or does not exist/is not valid (1).

SDO_FLAG_DYN = 0x40000000

Value is assigned statically (0) or dynamically (1).

SDO_FLAG_EXT_FRAME = 0x20000000

11-bit CAN-ID (0) or 29-bit CAN-ID (1).

Constructors

SDOParameterObject

SDOParameterObject();

Creates a SDOParameterObject.

Member Functions

access virtual

Access access() const;

code

Object::ObjectCode code() const;

getCOBIDCS

Poco::UInt32 getCOBIDCS() const;

Returns the COB-ID for Client > Server communication.

getCOBIDSC

Poco::UInt32 getCOBIDSC() const;

Returns the COB-ID for Server > Client communication.

getNodeID

Poco::UInt8 getNodeID() const;

Returns the node ID of the server or client.

read virtual

SDO::AbortCode read(
    Poco::UInt8 subIndex,
    std::vector < char > & data
) const;

setCOBIDCS

void setCOBIDCS(
    Poco::UInt32 cobID
);

Sets the COB-ID for Client > Server communication.

setCOBIDSC

void setCOBIDSC(
    Poco::UInt32 cobID
);

Sets the COB-ID for Server > Client communication.

setNodeID

void setNodeID(
    Poco::UInt8 nodeID
);

Sets the node ID of the server or client.

type virtual

Poco::UInt16 type() const;

write virtual

SDO::AbortCode write(
    Poco::UInt8 subIndex,
    std::size_t size,
    const char * data
);

Securely control IoT edge devices from anywhere   Connect a Device