Serial command handler Improvements Help.

Robin2:
Very strange ...
My code works fine for me and lots of other folks here. It works with Bluetooth, it doesn't block and it doesn't miss characters.
Can we all have some of that good stuff you are enjoying?

...R

sarcasm and frustration are sold anywhere you see the arduino logo help yourself, glad to share.

as for your code, i know it works. i have seen it in the examples dozens of times, i probably have more than one arduino that runs it in multiple variations, however, in this instance it wont work, i havent reall delved into the why i was more looking for something that i didnt have to mess with on a 1v1 sort of relationship.

thus the library, in the code i am working on the serial communication plays second fiddle to a bunch of other things. mainly the driving of the matrix display. to scroll a message on that thing really consumes alot of time and that could be why i have issues... However..

when i tested the code from the forum topic all that was in the sketch was the serial code, i tried it as typed at first and it would still miss at times, once i changed the filters it would miss more. that is when i put the qulifier in there and moved it around to several different places before i decided on using some premade library. when the library worked i wanted to know how to expand it so that i dont have to spend 3 minutes processing if i have to use code that will only pass one command and one variable then it becomes a serious tree seeing as i have 32 adc channels, 128 digittal i/O a dht 11, ds 1302, bluetooth and a 20x8 hard wired matrix led.

roughly that would be 200 statements vs maybe a case select and a few functions if the serial would act right, im not trying to make the serial algorithem the primary focus of the sketch even though that is proving more and more what i will need to do and if that is the case i will jsut go back to virtuino that way i dont have to mess with it ...