Menu

Bacnet abort/reject reason data size

2020-04-23
2020-04-27
  • Brad Lonergan

    Brad Lonergan - 2020-04-23

    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?

     
    • Steve Karg

      Steve Karg - 2020-04-27

      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

Log in to post a comment.