I am using Nodemcu V3 as host an AP and an ESP 32 which receiver which receives nodemcu MAC address by using Bssidstr() .But the Problem is when i Print mac address of nodemcu it starts with 44 and when i print mac address of nodemcu via esp32 it starts with 46 .the rest of the mac address are correct
Code of Nodemcu
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
const char *ssid = "Test";
const char *password = "123456789";
void setup() {
Serial.begin(115200);
// WiFi.mode(WIFI_AP_STA);
WiFi.softAP(ssid, password);
Serial.println(" ");
Serial.println(WiFi.macAddress());
}
void loop() {
// put your main code here, to run repeatedly:
}
Code of ESP32
#include <WiFi.h>
const char* ssid = "Test";
const char* password = "123456789";
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.print("IP address: ");
Serial.println(WiFi.localIP());
Serial.print("AP MAC address: ");
Serial.println(WiFi.BSSIDstr());
}
void loop() {
// put your main code here, to run repeatedly:
}
Output of the above code left side is Nodemcu and right side is ESP32
I want get same mac address of host on both Host and receiver side

