record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
Merges https://github.com/espressif/esp-idf/pull/6904