IEC_BACNET_STATUS (ENUM)

TYPE IEC_BACNET_STATUS :

Common enumeration of return values for all API functions.

InOut:

Name

Initial

Comment

_BACNET_STATUS_MAX_SIZE

16#7FFFFFFF

BACNET_STATUS_OK

16#0

Request was successful.

BACNET_STATUS_UNKNOWN_ERROR

16#1

Some undefined error has been detected.

BACNET_STATUS_SERVICE_NOT_FOUND

16#2

Application could not connect to the datalink layer.

BACNET_STATUS_NOT_INITIALIZED

16#3

Some request should be sent but the API is not initialized correctly.

BACNET_STATUS_NOT_SUPPORTED

16#4

Some request should be executed which is not supported.

BACNET_STATUS_REJECT

16#5

Some request was make which was rejected.

BACNET_STATUS_DCC_DISABLED

16#6

Some request should be sent but the device communication control is disabled.

BACNET_STATUS_CHARSET_NOT_SUPPORTED

16#7

Some character set given which is not supported.

BACNET_STATUS_FUNCTION_NOT_SUPPORTED

16#8

Some optional object or property function is not supported.

BACNET_STATUS_NULL_VALUE_IGNORED

16#9

A NULL value has been written and was ignored (no error).

BACNET_STATUS_INVALID_PARAM

16#10

Some request should be sent but some parameters had invalid values.

BACNET_STATUS_BUSY

16#11

Some request should be sent but datalink or device is busy with other tasks.

BACNET_STATUS_ALREADY_EXISTS

16#12

Construction of object failed because of duplicate name or instance.

BACNET_STATUS_BAD_CONFIG

16#13

BACnet stack datalink layer has some bad configuration detected.

BACNET_STATUS_OBJECT_NOT_FOUND

16#14

The requested object was not found.

BACNET_STATUS_PROPERTY_NOT_FOUND

16#15

The requested object property was not found.

BACNET_STATUS_MISSING_REQUIRED_PARAM

16#16

Some parameter was not found.

BACNET_STATUS_SECURITY_ENTRY_NOT_FOUND

16#17

The requested security entry was not found.

BACNET_STATUS_DEVICE_NOT_FOUND

16#18

The requested device was not found.

BACNET_STATUS_ENTRY_NOT_FOUND

16#19

The requested entry was not found.

BACNET_STATUS_OUT_OF_MEMORY

16#20

Application has run out of memory.

BACNET_STATUS_OUT_OF_RESOURCES

16#21

Application has run out of system resources (sockets/timers…).

BACNET_STATUS_XMT_OVERFLOW

16#22

Application transmitter queue is missing data.

BACNET_STATUS_RCV_OVERFLOW

16#23

Application receiver queue is missing data.

BACNET_STATUS_TIMEOUT

16#30

Request sent had no response received. If the functions ::BACnetReadProperty, ::BACnetReadPropertyMultiple, ::BACNET_READ_PROP_COMPLETE_CB return this as status the request could be sent but no valid response has been received within the configured APDU timeout.

BACNET_STATUS_REQUEST_TOO_LONG

16#31

Request is too long to be sent to datalink.

BACNET_STATUS_ILLEGAL_RESPONSE

16#32

Application tried to send an invalid response for some received request.

BACNET_STATUS_RESPONSE_TOO_LONG

16#33

Response is too long to be sent to datalink.

BACNET_STATUS_INVALID_DATA_TYPE

16#34

Application specified an invalid datatype.

BACNET_STATUS_VAL_OUT_OF_RANGE

16#35

Application specified an value which is out of range.

BACNET_STATUS_VAL_OUT_OF_SPACE

16#36

Application specified an value which is too long.

BACNET_STATUS_SEG_NOT_SUPPORTED

16#37

Application tried to send an segmented request but segmentation is not supported or disabled.

BACNET_STATUS_TRANSACTION_ABORTED

16#38

An BACnet transaction has been cancelled.

BACNET_STATUS_UNSUPPORTED_DATA_TYPE

16#39

Application specified an unsupported datatype.

BACNET_STATUS_BACNET_ERROR

16#40

An request has been answered with an BACnetError response.

BACNET_STATUS_BACNET_REJECT

16#41

An request has been answered with an BACnetReject response.

BACNET_STATUS_BACNET_ABORT

16#42

An request has been answered with an BACnetAbort response.

BACNET_STATUS_INVALID_PACKET

16#43

Application received some invalid packet (obsolete code).

BACNET_STATUS_SEG_ERROR

16#44

Application received some invalid segmented packet (obsolete code).

BACNET_STATUS_INCONSISTENT_TAGS

16#45

Application received some packet with inconsistent tags (obsolete code).

BACNET_STATUS_CANNOT_BIND_TO_PORT

16#49

Application tried to bind to an datalink port which doesn’t exist.

BACNET_STATUS_DRV_NOT_FOUND

16#50

Application tried to bind to an invalid datalink (obsolete code).

BACNET_STATUS_DRV_NOT_SUPPORTED

16#51

Configuration has an unknown or unsupported datalink configured (obsolete code).

BACNET_STATUS_DRV_CANT_INIT

16#52

Some datalink could not be initialized correctly.

BACNET_STATUS_DRV_CANT_SEND

16#53

Application tried to send some request but corresponding datalink queues are full.

BACNET_STATUS_INVALID_ADDRESS

16#54

Application tried to send some request but corresponding datalink is unable to send to specified address.

BACNET_STATUS_WRITEACCESS_DENIED

16#60

Property which is not writeable has been accessed (obsolete code).

BACNET_STATUS_NO_ROUTE_FOUND

16#61

Frame could not be sent over router (obsolete code).

BACNET_STATUS_SEC_DIS_NON_TRUST

16#70

Security disabled non trusted routing.

BACNET_STATUS_SEC_INVAL_KEY_DATA

16#71

Invalid key data specified.

BACNET_STATUS_SEC_INVAL_DEST_ID

16#72

Invalid destination device id specified.

BACNET_STATUS_SEC_INVAL_SRC_ID

16#73

Invalid source device id specified.

BACNET_STATUS_SEC_BAD_VALIDATION

16#74

Unable to validate message.

BACNET_STATUS_SEC_DEC_NO_DECRYPT

16#75

Unable to decrypt and verify the message (possible wrong key).

BACNET_STATUS_RAW_VALUE

16#F0

Some proprietary value has been decoded (only for internal use).

BACNET_STATUS_PRIMITIVE_VALUE

16#F1

Some proprietary primitive value has been decoded (only for internal use).

BACNET_STATUS_STANDARD_VALUE

16#F2

Some standard value has been decoded (only for internal use).

BACNET_STATUS_PROPRIETARY_VALUE

16#F3

Some proprietary complex value has been decoded (only for internal use).

BACNET_STATUS_INVALID_VALUE

16#F4

Some invalid value has been decoded (only for internal use).

BACNET_STATUS_USER_APP_STATES

16#1000

User applications may use status values starting at this value for own purposes.