Skip to content

Commit

Permalink
Log SSID on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Nov 9, 2024
1 parent a03ee48 commit 3a8fafc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/devices/Device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,13 +507,14 @@ class Device {

kernel.getKernelReadyState().set();

Log.info("Device ready in %.2f s (kernel version %s on %s instance '%s' with hostname '%s' and IP '%s', current time is %lld)",
Log.info("Device ready in %.2f s (kernel version %s on %s instance '%s' with hostname '%s' and IP '%s', SSID '%s', current time is %lld)",
millis() / 1000.0,
kernel.version.c_str(),
deviceConfig.model.get().c_str(),
deviceConfig.instance.get().c_str(),
deviceConfig.getHostname().c_str(),
WiFi.localIP().toString().c_str(),
WiFi.SSID().c_str(),
duration_cast<seconds>(system_clock::now().time_since_epoch()).count());
}

Expand Down

0 comments on commit 3a8fafc

Please sign in to comment.