Added abort to error code conversion. Added unit test. (#20)

* Added abort to error code conversion. Added unit test.

* add javadoc header to new function.
This commit is contained in:
Steve Karg
2020-01-15 14:50:16 -06:00
committed by GitHub
parent 6e0ebb99f4
commit 0f82748413
3 changed files with 97 additions and 13 deletions
+2
View File
@@ -970,6 +970,8 @@ INDTEXT_DATA bacnet_abort_reason_names[] = { { ABORT_REASON_OTHER, "Other" },
{ ABORT_REASON_PREEMPTED_BY_HIGHER_PRIORITY_TASK,
"Preempted by Higher Priority Task" },
{ ABORT_REASON_SEGMENTATION_NOT_SUPPORTED, "Segmentation Not Supported" },
{ ABORT_REASON_SECURITY_ERROR, "Security Error" },
{ ABORT_REASON_INSUFFICIENT_SECURITY, "Insufficient Security" },
{ ABORT_REASON_PROPRIETARY_FIRST, "Proprietary" }, { 0, NULL } };
const char *bactext_abort_reason_name(unsigned index)