summaryrefslogtreecommitdiff
path: root/minion/src/gymnasiearbete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minion/src/gymnasiearbete.cpp')
-rw-r--r--minion/src/gymnasiearbete.cpp5
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);