Open msp1974 opened 2 months ago
NTS: CM ACK'd the b0 51 request as the integration doesn't. Did Alarm not like the ACK and was waiting for a different one which is why it didn't ACK the next request before timeout. See second log 2024-08-02 02:15:39.446
NTS: Implemented a dodgy fix in flow manager to send data receive event and then wait 0.01s before releasing queue to ensure the ACK is on the send queue before releasing, ensuring ACK gets sent next.
This needs improving as uses a blocking tactic to do, rather than good logic and flow!
Interestingly, this also seems to have fixed the Comms Failure trouble - time will tell!
When creating requests in response to a b0 51 message, they seem to get sent to Alarm in quick succession without handling the ACK first. Need to look at why this is. Causes a timeout waiting for ACK.