The goal of this software is to automatically generate C/C++ code which reads and writes GOOSE and Sampled Value packets. Any valid IEC 61850 Substation Configuration Description (SCD) file, describing GOOSE and/or SV communications, can be used as the input. The output code is lightweight and platform-independent, so it can run on a variety of devices, including low-cost microcontrollers. It\'s ideal for rapid-prototyping new protection and control systems that require communications. This mbed project is a simple example of this functionality. Other code: https://github.com/stevenblair/rapid61850 Project homepage: http://personal.strath.ac.uk/steven.m.blair/
gseEncode.h@0:230c10b228ea, 2011-10-07 (annotated)
- Committer:
- sblair
- Date:
- Fri Oct 07 13:41:08 2011 +0000
- Revision:
- 0:230c10b228ea
- Child:
- 1:9399d44c2b1a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sblair | 0:230c10b228ea | 1 | #ifndef GSE_ENCODE_H |
sblair | 0:230c10b228ea | 2 | #define GSE_ENCODE_H |
sblair | 0:230c10b228ea | 3 | |
sblair | 0:230c10b228ea | 4 | #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */ |
sblair | 0:230c10b228ea | 5 | extern "C" { |
sblair | 0:230c10b228ea | 6 | #endif |
sblair | 0:230c10b228ea | 7 | |
sblair | 0:230c10b228ea | 8 | #include "gseEncodeBasic.h" |
sblair | 0:230c10b228ea | 9 | #include "gsePacketData.h" |
sblair | 0:230c10b228ea | 10 | |
sblair | 0:230c10b228ea | 11 | |
sblair | 0:230c10b228ea | 12 | int ber_get_length_Itl(); |
sblair | 0:230c10b228ea | 13 | int ber_encode_Itl(unsigned char *buf); |
sblair | 0:230c10b228ea | 14 | int ber_get_length_SynChk(); |
sblair | 0:230c10b228ea | 15 | int ber_encode_SynChk(unsigned char *buf); |
sblair | 0:230c10b228ea | 16 | int ber_get_length_MMXUResult(); |
sblair | 0:230c10b228ea | 17 | int ber_encode_MMXUResult(unsigned char *buf); |
sblair | 0:230c10b228ea | 18 | int gseEncodePacket(struct gseData *gseData, unsigned char *buf); |
sblair | 0:230c10b228ea | 19 | |
sblair | 0:230c10b228ea | 20 | extern struct gseData ItlPositions_Itl; |
sblair | 0:230c10b228ea | 21 | extern struct gseData SyckResult_SynChk; |
sblair | 0:230c10b228ea | 22 | extern struct gseData MMXUResult_MMXUResult; |
sblair | 0:230c10b228ea | 23 | |
sblair | 0:230c10b228ea | 24 | |
sblair | 0:230c10b228ea | 25 | #ifdef __cplusplus /* If this is a C++ compiler, end C linkage */ |
sblair | 0:230c10b228ea | 26 | } |
sblair | 0:230c10b228ea | 27 | #endif |
sblair | 0:230c10b228ea | 28 | |
sblair | 0:230c10b228ea | 29 | #endif |