4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef __PACKET_BACAPP_H__
12 #define __PACKET_BACAPP_H__
14 #define BACINFO_SERVICE 0
15 #define BACINFO_INVOKEID 1
16 #define BACINFO_INSTANCEID 2
17 #define BACINFO_OBJECTID 4
20 /* Used for BACnet statistics */
21 typedef struct _bacapp_info_value_t
{
22 const char *service_type
;
23 const char *invoke_id
;
24 const char *instance_ident
;
25 const char *object_ident
;
26 } bacapp_info_value_t
;
28 /* Possible datatypes of the present_value property.
29 Follows the order of Application Tag Number. */
30 typedef enum BacappPresentValueType
{
31 BACAPP_PRESENT_VALUE_NULL
,
32 BACAPP_PRESENT_VALUE_BOOL
,
33 BACAPP_PRESENT_VALUE_UNSIGNED
,
34 BACAPP_PRESENT_VALUE_SIGNED
,
35 BACAPP_PRESENT_VALUE_REAL
,
36 BACAPP_PRESENT_VALUE_DOUBLE
,
37 BACAPP_PRESENT_VALUE_OCTET_STRING
,
38 BACAPP_PRESENT_VALUE_CHARACTER_STRING
,
39 BACAPP_PRESENT_VALUE_BIT_STRING
,
40 BACAPP_PRESENT_VALUE_ENUM
,
41 BACAPP_PRESENT_VALUE_DATE
,
42 BACAPP_PRESENT_VALUE_TIME
,
43 BACAPP_PRESENT_VALUE_OBJECT_IDENTIFIER
44 } BacappPresentValueType
;
46 #endif /* __PACKET_BACNET_H__ */
49 * Editor modelines - https://www.wireshark.org/tools/modelines.html
54 * indent-tabs-mode: nil
57 * vi: set shiftwidth=4 tabstop=8 expandtab:
58 * :indentSize=4:tabSize=8:noTabs=true: