File tree 1 file changed +19
-0
lines changed
libraries/SocketWrapper/src
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,26 @@ class MbedSocketClass {
128
128
129
129
int hostByName (const char * aHostname, IPAddress& aResult);
130
130
131
+ /*
132
+ * Get the interface MAC address.
133
+ *
134
+ * Network interface should be ready to get a valid mac address.
135
+ * Call WiFi.begin("",""); or Ethernet.begin(); before issuing a mac address
136
+ * request, otherwhise returned value will be ff:ff:ff:ff:ff:ff
137
+ *
138
+ * return: pointer to uint8_t array with length WL_MAC_ADDR_LENGTH
139
+ */
131
140
uint8_t * macAddress (uint8_t * mac);
141
+
142
+ /*
143
+ * Get the interface MAC address String.
144
+ *
145
+ * Network interface should be ready to get a valid MAC address.
146
+ * Call WiFi.begin("",""); or Ethernet.begin(); before issuing a mac address
147
+ * request, otherwhise returned value will be ff:ff:ff:ff:ff:ff
148
+ *
149
+ * return: MAC Address String
150
+ */
132
151
String macAddress ();
133
152
134
153
void setFeedWatchdogFunc (voidFuncPtr func);
You can’t perform that action at this time.
0 commit comments