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
Revision 9:2e3ccd27b4f9, committed 2015-12-15
- Comitter:
- 1050186
- Date:
- Tue Dec 15 08:13:55 2015 +0000
- Parent:
- 8:3711d702305e
- Child:
- 10:3a176dc33f74
- Commit message:
- Change the type of function by updating the FATSileSystem library.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 15 08:11:36 2015 +0000
+++ b/main.cpp Tue Dec 15 08:13:55 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;
}
