Documentation ¶
Index ¶
Constants ¶
View Source
const ( LINK_MIN_HEADER_LENGTH = 10 // minimum link header length in bytes LINK_START_FIELD = 0x0564 // Pre-set 2-byte start field LINK_DIR_BIT = 1 // Direction bit LINK_PRM_BIT = 1 // Primary message bit LINK_FCB_BIT = 0 // Frame count bit LINK_FCV_BIT = 0 // Frame count valid bit LINK_BROADCAST_ADDRESS = 0x0001 // Broadcast address w/o mandatory application response LINK_UNCONFIRMED_USER_DATA_FC = 0x4 // don't require link layer response function code LINK_REQUEST_STATUS_FC = 0x9 // 4-bit function code for requesting link status LINK_STATUS_FC = 0xB // 4-bit response function code for link status FUNCTION_CODE_NOT_SUPPORTED = 0xF // Unsupported function code response TRANSPORT_START_SEQUENCE = 0x00 // starting sequence number for transport packet APP_START_SEQUENCE = 0x00 // starting sequence number for application packet APP_CON_BIT = 0 // no app acknowledgement APP_UNS_BIT = 0 // not an unsolicited response APP_FUNC_CODE_READ = 0x01 // 1-byte function code for reading APP_GROUP_0 = 0x00 // group 0 refers to all static data APP_GROUP_0_QUALIFIER = 0x00 // objects are packed without index prefix APP_GROUP_0_RANGE = 0x0000 // no range due to no qualifier APP_GROUP_0_SOFTWARE_VERSION = 0xF2 // group 0 attribute - device manufacturer's software version APP_GROUP_0_HARDWARE_VERSION = 0xF3 // group 0 attribute - device manufacturer's hardware version APP_GROUP_0_LOCATION = 0xF5 // group 0 attribute - device location APP_GROUP_0_DEVICE_ID = 0xF6 // group 0 attribute - device application id APP_GROUP_0_DEVICE_NAME = 0xF7 // group 0 attribute - device name APP_GROUP_0_SERIAL_NUMBER = 0xF8 // group 0 attribute - device manufacturer's serial number APP_GROUP_0_DNP3_SUBSET = 0xF9 // subset of the dnp3 protocol that is implemented APP_GROUP_0_PRODUCT_NAME = 0xFA // group 0 attribute - device manufacturer's product name and model APP_GROUP_0_ALL_ATTRIBUTES = 0xFE // get all available group 0 attributes in single response APP_GROUP_0_LIST_ATTRIBUTES = 0xFF // list available group 0 attributes )
DNP3 Flags
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.