2011-04-05 02:18:28 +00:00
|
|
|
/* packet-bacapp.h
|
|
|
|
* by fkraemer, SAUTER
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2011-04-05 02:18:28 +00:00
|
|
|
*/
|
|
|
|
|
2017-12-27 12:06:24 +00:00
|
|
|
#ifndef __PACKET_BACAPP_H__
|
|
|
|
#define __PACKET_BACAPP_H__
|
2011-04-05 02:18:28 +00:00
|
|
|
|
2013-02-21 15:32:29 +00:00
|
|
|
#define BACINFO_SERVICE 0
|
|
|
|
#define BACINFO_INVOKEID 1
|
|
|
|
#define BACINFO_INSTANCEID 2
|
|
|
|
#define BACINFO_OBJECTID 4
|
2011-04-05 02:18:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* Used for BACnet statistics */
|
|
|
|
typedef struct _bacapp_info_value_t {
|
2013-02-21 15:32:29 +00:00
|
|
|
const gchar *service_type;
|
|
|
|
const gchar *invoke_id;
|
|
|
|
const gchar *instance_ident;
|
|
|
|
const gchar *object_ident;
|
2011-04-05 02:18:28 +00:00
|
|
|
} bacapp_info_value_t;
|
|
|
|
|
2018-11-30 17:41:05 +00:00
|
|
|
/* Possible datatypes of the present_value property.
|
|
|
|
Follows the order of Application Tag Number. */
|
|
|
|
typedef enum BacappPresentValueType {
|
|
|
|
BACAPP_PRESENT_VALUE_NULL,
|
|
|
|
BACAPP_PRESENT_VALUE_BOOL,
|
|
|
|
BACAPP_PRESENT_VALUE_UNSIGNED,
|
|
|
|
BACAPP_PRESENT_VALUE_SIGNED,
|
|
|
|
BACAPP_PRESENT_VALUE_REAL,
|
|
|
|
BACAPP_PRESENT_VALUE_DOUBLE,
|
|
|
|
BACAPP_PRESENT_VALUE_OCTET_STRING,
|
|
|
|
BACAPP_PRESENT_VALUE_CHARACTER_STRING,
|
|
|
|
BACAPP_PRESENT_VALUE_BIT_STRING,
|
|
|
|
BACAPP_PRESENT_VALUE_ENUM,
|
|
|
|
BACAPP_PRESENT_VALUE_OBJECT_IDENTIFIER
|
|
|
|
} BacappPresentValueType;
|
|
|
|
|
2011-04-05 02:18:28 +00:00
|
|
|
#endif /* __PACKET_BACNET_H__ */
|
2013-02-21 15:32:29 +00:00
|
|
|
|
|
|
|
/*
|
2019-07-26 18:43:17 +00:00
|
|
|
* Editor modelines - https://www.wireshark.org/tools/modelines.html
|
2013-02-21 15:32:29 +00:00
|
|
|
*
|
|
|
|
* Local variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|