I have noticed that the abort and reject functions have a uint8_t for the abort/reject reason, but the enum goes up to 65535. Is this an error or is there something I'm missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have noticed that the abort and reject functions have a uint8_t for the abort/reject reason, but the enum goes up to 65535. Is this an error or is there something I'm missing?
BACnetAbortReason and BACnetRejectReason are both 0-255 (8-bit) and the enumeration and comments are incorrect. Thank you for noticing! Fixing.
https://github.com/bacnet-stack/bacnet-stack/pull/78
Last edit: Steve Karg 2020-04-27