diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-30 20:27:44 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-05-30 20:27:44 +0200 |
commit | 7afb8aedd6f3553aa0ec138373aea18068abd2f8 (patch) | |
tree | f5d806be8c8564bdf082602befb8f4e981c67196 /minion/src/gymnasiearbete.cpp | |
parent | fddfa1a7f48b5fa0dd5a3746206952581ef34128 (diff) |
feat(minion): add print MAC address
Diffstat (limited to 'minion/src/gymnasiearbete.cpp')
-rw-r--r-- | minion/src/gymnasiearbete.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/minion/src/gymnasiearbete.cpp b/minion/src/gymnasiearbete.cpp index 54e8d50..d2a970b 100644 --- a/minion/src/gymnasiearbete.cpp +++ b/minion/src/gymnasiearbete.cpp @@ -80,6 +80,11 @@ void setup() Serial.print(F("IP address: ")); Serial.println(wifi_module.get_local_ip(local_ip)); + char mac_address[MAX_NETWORK_MODULE_RESPONSE_LENGTH] = ""; + + Serial.print(F("MAC address: ")); + Serial.println(wifi_module.get_mac_address(mac_address)); + wifi_module.set_multiple_connections_enabled(true); delay(MILLIS_IN_SECOND); |