more debug for networks
This commit is contained in:
parent
a410c1ad91
commit
b997846f45
|
|
@ -21,10 +21,6 @@ generate_website_index() {
|
||||||
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
commit_website_files() {
|
commit_website_files() {
|
||||||
git status
|
|
||||||
git log
|
|
||||||
BRANCH=`git symbolic-ref --short -q HEAD`
|
|
||||||
echo "Travis branch is ${TRAVIS_BRANCH}"
|
|
||||||
BRANCH=$TRAVIS_BRANCH
|
BRANCH=$TRAVIS_BRANCH
|
||||||
VERSION=`cat RX_FSK/version.h | tail -1 | egrep -o '".*"' | sed 's/"//g' | sed 's/ /_/g'`
|
VERSION=`cat RX_FSK/version.h | tail -1 | egrep -o '".*"' | sed 's/"//g' | sed 's/ /_/g'`
|
||||||
MYPATH=$PWD
|
MYPATH=$PWD
|
||||||
|
|
|
||||||
|
|
@ -439,6 +439,13 @@ int fetchWifiIndex(const char *id) {
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
Serial.printf("No match: '%s' vs '%s'\n", id, networks[i].id.c_str());
|
Serial.printf("No match: '%s' vs '%s'\n", id, networks[i].id.c_str());
|
||||||
|
const char *cfgid = networks[i].id.c_str();
|
||||||
|
int len=strlen(cfgid);
|
||||||
|
if(strlen(id)>len) len=strlen(id);
|
||||||
|
Serial.print("SSID: ");
|
||||||
|
for(int i = 0; i < len; i++) { Serial.printf("%02x ", id[i]); } Serial.println("");
|
||||||
|
Serial.print("Conf: ");
|
||||||
|
for(int i = 0; i < len; i++) { Serial.printf("%02x ", cfgid[i]); } Serial.println("");
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue