Serial command handler Improvements Help.

id prefer hardware flow control.. but bluetooth modules dont do that... well hm06 doesnt anyway ... i dont particularily care how it is done, more or less it just cant be blocking, and if it missed part of the message it needs to chuc out the whole message ..

i dont care if its trivial or non trivial, i mean i aint asking for anyone to do it for me, i am tying to get information to understand it , i dont care if that jsut means i get pointed in the right direction.. how hacky it turns out when im done is the only difference.. lmao. i been sitting here playing with it for the last few hours as i have responded to these messages and yeah im not making progress because im not sure what exactly is going on .. ive also looked at the other 20 or so serial wrappers for arduino while ive sat here either they are not generic enough or they are too heavy/ dont work better than this does. ..