Add a link-layer type value for Wireless HART.
This commit is contained in:
parent
744a2b557b
commit
6a39db3ab2
|
@ -867,6 +867,15 @@ struct bpf_version {
|
||||||
*/
|
*/
|
||||||
#define DLT_AOS 222
|
#define DLT_AOS 222
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Wireless HART (Highway Addressable Remote Transducer)
|
||||||
|
* From the HART Communication Foundation
|
||||||
|
* IES/PAS 62591
|
||||||
|
*
|
||||||
|
* From Sam Roberts <vieuxtech@gmail.com>
|
||||||
|
*/
|
||||||
|
#define DLT_WIHART 223
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DLT and savefile link type values are split into a class and
|
* DLT and savefile link type values are split into a class and
|
||||||
|
|
12
savefile.c
12
savefile.c
|
@ -693,6 +693,15 @@ static const char rcsid[] _U_ =
|
||||||
*/
|
*/
|
||||||
#define LINKTYPE_AOS 222
|
#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 {
|
static struct linktype_map {
|
||||||
int dlt;
|
int dlt;
|
||||||
|
@ -1020,6 +1029,9 @@ static struct linktype_map {
|
||||||
/* AOS Space Data Link Protocol */
|
/* AOS Space Data Link Protocol */
|
||||||
{ DLT_AOS, LINKTYPE_AOS },
|
{ DLT_AOS, LINKTYPE_AOS },
|
||||||
|
|
||||||
|
/* Wireless HART */
|
||||||
|
{ DLT_WIHART, LINKTYPE_WIHART },
|
||||||
|
|
||||||
{ -1, -1 }
|
{ -1, -1 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in New Issue