User's Manual

Table Of Contents
AI7688H User Manual
-39-
Copyright@2016 AcSiP
6.10 Query IP / MAC with the Wi-Fi button
With firmware v0.9.3 and above, you can use the Wi-Fi botton to query the IP / MAC
address through the UART0 port.
Note: the baudrate of the UART0 is 9,600. Please configure the serial monitor software
correctly to see the output from this UART port.+
The behavior of this function is: when AI7688H is under AP mode, by pressing the button
will output the MAC address information to the UART0 port. And when the platform is
under Station mode, its IP address will be outputted to the UART port when the Wi-Fi
button is pressed. If you watch the output on the UART0, you will see the output as below.
Under AP mode, the MAC address is printed:
AP MAC address: f0:56:76:88:9e:e8
Under Station mode, the IP address is printed:+
Device IP address: 192.168.2.3
For AI7688H users, you may need to do some wiring connections to listen to the data on
the UART0 port. This sketch can help pass through the UART0 message to the Arduino
serial output.
After uploading this sketch to the board, open Tools/Serial Monitor in the Arduino IDE
and set the baudrate to 115,200. Then you should be able to see the messages while
pressing the Wi-Fi button.