Normalize the output format

This commit is contained in:
Lucidiot 2021-07-06 08:14:15 +02:00
parent fec52e8468
commit 163237cca6
1 changed files with 6 additions and 10 deletions

View File

@ -8,15 +8,6 @@ void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.disconnect();
Serial.printf(
"ssid%schannel%ssignal%sencryption%sbssid%s",
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
ROW_SEPARATOR
);
}
void loop() {
@ -60,7 +51,12 @@ void loop() {
}
Serial.printf(
"%s%s%d%s%d%s%s%s%s%s",
"%s%s%s%s%s%s%d%s%d%s%s%s%s%s",
// Empty columns to replace lat/lon/hdop/age
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
COLUMN_SEPARATOR,
ssid.c_str(),
COLUMN_SEPARATOR,
channel,