Example program for the BSDInterface
Dependencies: BSDInterface NetworkSocketAPI
Fork of HelloLWIPInterface by
Diff: main.cpp
- Branch:
- api-changes
- Revision:
- 33:b80621db4a68
- Parent:
- 32:28a909a3748e
- Child:
- 37:4d946ea769fd
- Child:
- 38:561e0cdbba79
diff -r 28a909a3748e -r b80621db4a68 main.cpp --- a/main.cpp Tue Feb 23 01:35:24 2016 -0600 +++ b/main.cpp Tue Feb 23 01:37:07 2016 -0600 @@ -30,7 +30,7 @@ t.attach(flash, 0.4f); printf("NetworkSocketAPI Example\r\n"); - wifi.connect("Sniffer", "Sandcastle"); + wifi.connect("ssid", "password"); const char *ip = wifi.getIPAddress(); const char *mac = wifi.getMACAddress();