Humberto Active Member Licensed User Longtime User Dec 18, 2019 #1 This routine seems that is not working any more B4X: Sub MacAddress() As Byte() RunNative("getMac", Null) Return macarray End Sub #if C #include <ESP8266WiFi.h> void getMac(B4R::Object* u) { WiFi.macAddress((Byte*)b4r_wifiserver::_macarray->data); } #end if
This routine seems that is not working any more B4X: Sub MacAddress() As Byte() RunNative("getMac", Null) Return macarray End Sub #if C #include <ESP8266WiFi.h> void getMac(B4R::Object* u) { WiFi.macAddress((Byte*)b4r_wifiserver::_macarray->data); } #end if
janderkan Well-Known Member Licensed User Longtime User Dec 18, 2019 #2 The function is for esp8266 Look here https://www.b4x.com/android/forum/threads/esp32extras-library.106766/ Upvote 0
The function is for esp8266 Look here https://www.b4x.com/android/forum/threads/esp32extras-library.106766/