From 7afb8aedd6f3553aa0ec138373aea18068abd2f8 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 30 May 2022 20:27:44 +0200 Subject: feat(minion): add print MAC address --- minion/src/gymnasiearbete.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'minion/src/gymnasiearbete.cpp') 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); -- cgit v1.2.3-18-g5258