[Feature] new wifi connection
[Change] fix code style
Merge pull request #37 from lixiaopeng/wifi

new wifi connection logic