CC3000 or ESP8266 MAC address?

Posted on
  • Any way I can get the MAC address of either of these WiFi modules via Pico/Web IDE? I'm interested in using Pico+WiFi in a school setting that requires web page authentication which is a barrier. However the network administrators are willing to allow access based on MAC address of modules, if I can figure out what they are.

  • You can use the AT protocol and query AT+CIPAPMAC? reference

    See the Espruino reference on ESP8266 specifically wifi.at and try wifi.at.cmd("AT+CIPAPMAC?", 1000, function() {}); there's probably a better way, maybe. I have not looked.

  • Is that the mac address of the access point? I guess they might both end up being the same...

    You might need the following to report back the address to the console:

    wifi.at.cmd("AT+CIPAPMAC?", 1000, console.log); // ESP8266 only
    

    Also a simple way would be to connect it to your home network and to then log into your router and see which devices it thinks are connected?

  • Perfect! These get me what I need for esp8266. And I think I can use Gordon's second alternative to get me what I need for the CC3000 as well. Thanks!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

CC3000 or ESP8266 MAC address?

Posted by Avatar for PakJeff @PakJeff

Actions