aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-06-26 15:29:43 -0700
committerGuy Harris <gharris@steve.local>2009-06-26 15:29:43 -0700
commit6a39db3ab2de5daa718e0f9b00440b8f7ad673fb (patch)
tree60fcc5b29be8d1236fe66847d3e9715be64599c1 /savefile.c
parent744a2b557b246733a8c28e9d6bf1efc00d6100f0 (diff)
Add a link-layer type value for Wireless HART.
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/savefile.c b/savefile.c
index ccb26a4..9efbefb 100644
--- a/savefile.c
+++ b/savefile.c
@@ -693,6 +693,15 @@ static const char rcsid[] _U_ =
*/
#define LINKTYPE_AOS 222
+/*
+ * Wireless HART (Highway Addressable Remote Transducer)
+ * From the HART Communication Foundation
+ * IES/PAS 62591
+ *
+ * From Sam Roberts <vieuxtech@gmail.com>
+ */
+#define LINKTYPE_WIHART 223
+
static struct linktype_map {
int dlt;
@@ -1020,6 +1029,9 @@ static struct linktype_map {
/* AOS Space Data Link Protocol */
{ DLT_AOS, LINKTYPE_AOS },
+ /* Wireless HART */
+ { DLT_WIHART, LINKTYPE_WIHART },
+
{ -1, -1 }
};