Weather control switch for connected day. NXP LPC 1768 module. Ethernet connectivity.
Dependencies: EthernetInterface mbed-rtos mbed nanoservice_client_1_12
Fork of Trenton_Switch_LPC1768_WIFLY by
main.h@16:3fb612af0dc5, 2014-04-04 (annotated)
- Committer:
- erigow01
- Date:
- Fri Apr 04 15:17:07 2014 +0000
- Revision:
- 16:3fb612af0dc5
- Parent:
- 15:59f4cee0da79
- Child:
- 22:b361f7ae0508
Seems to be working relatively reliably.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 6:6eaae34586b8 | 1 | /* mbed Microcontroller Library |
Kojto | 6:6eaae34586b8 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 6:6eaae34586b8 | 3 | * |
Kojto | 6:6eaae34586b8 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 6:6eaae34586b8 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 6:6eaae34586b8 | 6 | * You may obtain a copy of the License at |
Kojto | 6:6eaae34586b8 | 7 | * |
Kojto | 6:6eaae34586b8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 6:6eaae34586b8 | 9 | * |
Kojto | 6:6eaae34586b8 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 6:6eaae34586b8 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 6:6eaae34586b8 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 6:6eaae34586b8 | 13 | * See the License for the specific language governing permissions and |
Kojto | 6:6eaae34586b8 | 14 | * limitations under the License. |
Kojto | 6:6eaae34586b8 | 15 | */ |
Kojto | 6:6eaae34586b8 | 16 | #ifndef MAIN_H |
Kojto | 6:6eaae34586b8 | 17 | #define MAIN_H |
Kojto | 6:6eaae34586b8 | 18 | |
erigow01 | 16:3fb612af0dc5 | 19 | #include "WiflyInterface.h" |
Kojto | 6:6eaae34586b8 | 20 | |
Kojto | 6:6eaae34586b8 | 21 | // Default SSID Settings |
erigow01 | 16:3fb612af0dc5 | 22 | #define AP_KEY "asedemo1" |
erigow01 | 16:3fb612af0dc5 | 23 | #define SSID "trentonhub" |
erigow01 | 16:3fb612af0dc5 | 24 | |
Kojto | 6:6eaae34586b8 | 25 | |
erigow01 | 16:3fb612af0dc5 | 26 | extern Endpoint nsp; |
erigow01 | 16:3fb612af0dc5 | 27 | extern UDPSocket server; |
erigow01 | 16:3fb612af0dc5 | 28 | extern char endpoint_name[]; |
erigow01 | 16:3fb612af0dc5 | 29 | extern uint8_t ep_type[]; |
erigow01 | 16:3fb612af0dc5 | 30 | extern uint8_t lifetime_ptr[]; |
Kojto | 6:6eaae34586b8 | 31 | |
Kojto | 6:6eaae34586b8 | 32 | #endif |