|
libiec61850
1.2.0
|
Modules | |
| Values Application Service Data Unit (ASDU) | |
| Deprecated API | |
Macros | |
| #define | IEC61850_SV_SMPSYNC_NOT_SYNCHRONIZED 0 |
| #define | IEC61850_SV_SMPSYNC_SYNCED_UNSPEC_LOCAL_CLOCK 1 |
| #define | IEC61850_SV_SMPSYNC_SYNCED_GLOBAL_CLOCK 2 |
| #define | IEC61850_SV_SMPMOD_PER_NOMINAL_PERIOD 0 |
| #define | IEC61850_SV_SMPMOD_SAMPLES_PER_SECOND 1 |
| #define | IEC61850_SV_SMPMOD_SECONDS_PER_SAMPLE 2 |
| #define | DEPRECATED |
Typedefs | |
| typedef struct sSVPublisher * | SVPublisher |
| An opaque type representing an IEC 61850-9-2 Sampled Values publisher. More... | |
| typedef struct sSVPublisher_ASDU * | SVPublisher_ASDU |
| An opaque type representing an IEC 61850-9-2 Sampled Values Application Service Data Unit (ASDU). More... | |
Functions | |
| SVPublisher | SVPublisher_create (CommParameters *parameters, const char *interfaceId) |
| Create a new IEC61850-9-2 Sampled Values publisher. More... | |
| SVPublisher_ASDU | SVPublisher_addASDU (SVPublisher self, const char *svID, const char *datset, uint32_t confRev) |
| Create an Application Service Data Unit (ASDU) and add it to an existing Sampled Values publisher. More... | |
| void | SVPublisher_setupComplete (SVPublisher self) |
| Prepare the publisher for publishing. More... | |
| void | SVPublisher_publish (SVPublisher self) |
| Publish all registered ASDUs. More... | |
| void | SVPublisher_destroy (SVPublisher self) |
| Destroy an IEC61850-9-2 Sampled Values instance. More... | |
Variables | |
| uint8_t | CommParameters::vlanPriority |
| uint16_t | CommParameters::vlanId |
| uint16_t | CommParameters::appId |
| uint8_t | CommParameters::dstAddress [6] |
| #define DEPRECATED |
| #define IEC61850_SV_SMPMOD_PER_NOMINAL_PERIOD 0 |
| #define IEC61850_SV_SMPMOD_SAMPLES_PER_SECOND 1 |
| #define IEC61850_SV_SMPMOD_SECONDS_PER_SAMPLE 2 |
| #define IEC61850_SV_SMPSYNC_NOT_SYNCHRONIZED 0 |
| #define IEC61850_SV_SMPSYNC_SYNCED_GLOBAL_CLOCK 2 |
| #define IEC61850_SV_SMPSYNC_SYNCED_UNSPEC_LOCAL_CLOCK 1 |
| typedef struct sSVPublisher* SVPublisher |
An opaque type representing an IEC 61850-9-2 Sampled Values publisher.
| typedef struct sSVPublisher_ASDU* SVPublisher_ASDU |
An opaque type representing an IEC 61850-9-2 Sampled Values Application Service Data Unit (ASDU).
| SVPublisher_ASDU SVPublisher_addASDU | ( | SVPublisher | self, |
| const char * | svID, | ||
| const char * | datset, | ||
| uint32_t | confRev | ||
| ) |
Create an Application Service Data Unit (ASDU) and add it to an existing Sampled Values publisher.
| [in] | svID | |
| [in] | datset | |
| [in] | confRev | Configuration revision number. Should be incremented each time that the configuration of the logical device changes. |
| SVPublisher SVPublisher_create | ( | CommParameters * | parameters, |
| const char * | interfaceId | ||
| ) |
Create a new IEC61850-9-2 Sampled Values publisher.
| [in] | interfaceId | the name of the interface over which the SV publisher should send SV packets. |
| [in] | parameters | optional parameters for setting VLAN options and destination MAC address. Use NULL for default values. |
| void SVPublisher_destroy | ( | SVPublisher | self | ) |
Destroy an IEC61850-9-2 Sampled Values instance.
| [in] | self | the Sampled Values publisher instance. |
| void SVPublisher_publish | ( | SVPublisher | self | ) |
Publish all registered ASDUs.
| [in] | self | the Sampled Values publisher instance. |
| void SVPublisher_setupComplete | ( | SVPublisher | self | ) |
Prepare the publisher for publishing.
This method must be called before SVPublisher_publish().
| [in] | self | the Sampled Values publisher instance. |
| uint16_t CommParameters::appId |
| uint8_t CommParameters::dstAddress[6] |
| uint16_t CommParameters::vlanId |
| uint8_t CommParameters::vlanPriority |
1.8.11