Support new serial API in initial scanning process