add status bit handler to serial spec
add serial error handler