openlcb / OpenLCB_Java

Java implementation of OpenLCB / LCC protocols. This implementation operates inside JMRI, and can also be used inside Android apps.
6 stars 9 forks source link

Unknown MTI to node will now reply with OIR #253

Closed bobjacobsen closed 6 months ago

bobjacobsen commented 7 months ago

If a received MTI is not a member of the set of known and parsed MTIs, reply with an Optional Interaction Rejected with the proper message contents. Note that this is not the same as sending OIR when an unhandled but proper MTI is received; that's for future work.

Also fixes a case where the alias would not be reacquired when a conflict recurs.