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/
Diff: gseEncode.h
- Revision:
- 0:230c10b228ea
- Child:
- 1:9399d44c2b1a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gseEncode.h Fri Oct 07 13:41:08 2011 +0000 @@ -0,0 +1,29 @@ +#ifndef GSE_ENCODE_H +#define GSE_ENCODE_H + +#ifdef __cplusplus /* If this is a C++ compiler, use C linkage */ +extern "C" { +#endif + +#include "gseEncodeBasic.h" +#include "gsePacketData.h" + + +int ber_get_length_Itl(); +int ber_encode_Itl(unsigned char *buf); +int ber_get_length_SynChk(); +int ber_encode_SynChk(unsigned char *buf); +int ber_get_length_MMXUResult(); +int ber_encode_MMXUResult(unsigned char *buf); +int gseEncodePacket(struct gseData *gseData, unsigned char *buf); + +extern struct gseData ItlPositions_Itl; +extern struct gseData SyckResult_SynChk; +extern struct gseData MMXUResult_MMXUResult; + + +#ifdef __cplusplus /* If this is a C++ compiler, end C linkage */ +} +#endif + +#endif