Diaoul / arduino-ESP8266

An Arduino library to manage the ESP8266.
MIT License
68 stars 46 forks source link

setUnvarnishedMode() in the initialize() #12

Closed tprochazka closed 9 years ago

tprochazka commented 9 years ago

What is the reason to call setUnvarnishedMode(false) on every library initialize? Problem is that this call fail, if was already requested AT+CIPMUX=1 Working solution is restart module together with arduino on every code update, but I want to know the reason for this. Thanks.

Diaoul commented 9 years ago

The reason is to make sure it's false. Otherwise the library won't work properly.

Diaoul commented 9 years ago

If you have a better solution please send a PR

tprochazka commented 9 years ago

OK, so problem is that init fail if it is already false, it should be handled