itead/ITEADLIB-ESP8266 — pull request #6 by chrwei (2014-11-17 21:57:29+00:00)
Title: Enhance Debug option

current release the debug flag sends most data sent to _cell, but not all, and requires a lot of duplicated code to do it.

This enhances it by adding private print and println methods so that everything sent is also sent to debug when enabled.

It also changes confMode to read the rest of the message and send to debug when there's an error. this bit might be applicable elsewhere too.