summaryrefslogtreecommitdiff
path: root/minion/src/wifi_module.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-30 20:27:44 +0200
committerHampusM <hampus@hampusmat.com>2022-05-30 20:27:44 +0200
commit7afb8aedd6f3553aa0ec138373aea18068abd2f8 (patch)
treef5d806be8c8564bdf082602befb8f4e981c67196 /minion/src/wifi_module.hpp
parentfddfa1a7f48b5fa0dd5a3746206952581ef34128 (diff)
feat(minion): add print MAC address
Diffstat (limited to 'minion/src/wifi_module.hpp')
-rw-r--r--minion/src/wifi_module.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp
index 9bc2c20..da4a487 100644
--- a/minion/src/wifi_module.hpp
+++ b/minion/src/wifi_module.hpp
@@ -98,6 +98,15 @@ public:
auto get_local_ip(char *local_ip_out) noexcept -> const char *;
/**
+ * Gets the MAC address of the wifi module.
+ *
+ * @param mac_address_out MAC address output buffer.
+ *
+ * @returns A pointer to the MAC address output buffer.
+ */
+ auto get_mac_address(char *mac_address_out) noexcept -> const char *;
+
+ /**
* Reads a incoming HTTP request.
*
* @returns A request. Has a connection with a ID of -1 if reading the request failed.