Extract base class for protocols
stc12: fix detection of illegal baudrates
Add STC 89/90 series protocol support
Documentation fixes