![](/media/cache/profiles/37f5bdb3a2a1159584d0a30e9a1e71bf.jpg.50x50_q85.jpg)
Change to wifi AP mode. SSID "GR-PEACH_1", PSK "12345"
Dependencies: DhcpServer EthernetInterface FATFileSystem GR-PEACH_WlanBP3595AP GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed
Fork of GR-Boards_WebCamera by
Diff: main.cpp
- Revision:
- 8:3711d702305e
- Parent:
- 7:c45ecff1b44d
- Child:
- 9:2e3ccd27b4f9
--- a/main.cpp Thu Dec 03 08:10:53 2015 +0000 +++ b/main.cpp Tue Dec 15 08:11:36 2015 +0000 @@ -338,8 +338,8 @@ RPCFunction rpcSetI2C(SetI2CfromWeb, "SetI2CfromWeb"); printf("EthernetInterface Setting up...\r\n"); - if (eth.init() != 0) { //for DHCP Server -// if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway) +// if (eth.init() != 0) { //for DHCP Server + if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway) printf("EthernetInterface Initialize Error \r\n"); return -1; }