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/

Revision:
0:230c10b228ea
Child:
1:9399d44c2b1a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/svEncodeBasic.h	Fri Oct 07 13:41:08 2011 +0000
@@ -0,0 +1,27 @@
+#ifndef SV_ENCODE_BASIC_H
+#define SV_ENCODE_BASIC_H
+
+#ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
+extern "C" {
+#endif
+
+#include "datatypes.h"
+
+int ENCODE_CTYPE_FLOAT32(unsigned char *buf, CTYPE_FLOAT32 *value);
+int ENCODE_CTYPE_FLOAT64(unsigned char *buf, CTYPE_FLOAT64 *value);
+int ENCODE_CTYPE_QUALITY(unsigned char *buf, CTYPE_QUALITY *value);
+int ENCODE_CTYPE_TIMESTAMP(unsigned char *buf, CTYPE_TIMESTAMP *value);
+int ENCODE_CTYPE_ENUM(unsigned char *buf, CTYPE_ENUM *value);
+int ENCODE_CTYPE_INT16(unsigned char *buf, CTYPE_INT16 *value);
+int ENCODE_CTYPE_INT32(unsigned char *buf, CTYPE_INT32 *value);
+int ENCODE_CTYPE_INT16U(unsigned char *buf, CTYPE_INT16U *value);
+int ENCODE_CTYPE_INT32U(unsigned char *buf, CTYPE_INT32U *value);
+int ENCODE_CTYPE_VISSTRING255(unsigned char *buf, CTYPE_VISSTRING255 *value);
+int ENCODE_CTYPE_BOOLEAN(unsigned char *buf, CTYPE_BOOLEAN *value);
+int ENCODE_CTYPE_DBPOS(unsigned char *buf, CTYPE_DBPOS *value);
+
+#ifdef __cplusplus /* If this is a C++ compiler, end C linkage */
+}
+#endif
+
+#endif