Hi Nikhil, i've streamlined the write functions to a be a bit more efficient and more exandable. I've added a circular buffer (about 10 pending events) to allow non-blocking input of keys and request events to occur. I've also combined the alarm/key and module processing into one function that can handle all data types. This cleared a bit of code and simplified things. The system has no problem handling long sequences of keys at once.
Just thought I'd pass it on to you in case this is something that can work for you.
Hi Nikhil, i've streamlined the write functions to a be a bit more efficient and more exandable. I've added a circular buffer (about 10 pending events) to allow non-blocking input of keys and request events to occur. I've also combined the alarm/key and module processing into one function that can handle all data types. This cleared a bit of code and simplified things. The system has no problem handling long sequences of keys at once.
Just thought I'd pass it on to you in case this is something that can work for you.