add wifi serial code, work well