![](/media/cache/profiles/8b649862360f1c2b5ccee333c282b1d4.jpg.50x50_q85.jpg)
cc3000_ntp_demo_F446RE
Dependencies: NTPClient2 NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_ntp_demo by
main.h@3:4a2dfa38a61e, 2013-10-03 (annotated)
- Committer:
- Kojto
- Date:
- Thu Oct 03 17:32:27 2013 +0200
- Revision:
- 3:4a2dfa38a61e
- Parent:
- 2:f163731f852a
- Child:
- 5:6d9d149b01cd
line ending - unix, init function, printf \r\n\
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 3:4a2dfa38a61e | 1 | /* mbed Microcontroller Library |
Kojto | 3:4a2dfa38a61e | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 3:4a2dfa38a61e | 3 | * |
Kojto | 3:4a2dfa38a61e | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 3:4a2dfa38a61e | 5 | * you may not use this file except in compliance with the License. |
Kojto | 3:4a2dfa38a61e | 6 | * You may obtain a copy of the License at |
Kojto | 3:4a2dfa38a61e | 7 | * |
Kojto | 3:4a2dfa38a61e | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 3:4a2dfa38a61e | 9 | * |
Kojto | 3:4a2dfa38a61e | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 3:4a2dfa38a61e | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 3:4a2dfa38a61e | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 3:4a2dfa38a61e | 13 | * See the License for the specific language governing permissions and |
Kojto | 3:4a2dfa38a61e | 14 | * limitations under the License. |
Kojto | 3:4a2dfa38a61e | 15 | */ |
Kojto | 3:4a2dfa38a61e | 16 | #ifndef MAIN_H |
Kojto | 3:4a2dfa38a61e | 17 | #define MAIN_H |
Kojto | 3:4a2dfa38a61e | 18 | |
Kojto | 3:4a2dfa38a61e | 19 | #define WIGO 1 |
Kojto | 3:4a2dfa38a61e | 20 | #define WIFI_DIPCORTEX 2 |
Kojto | 3:4a2dfa38a61e | 21 | #define UNDEFINED 3 |
Kojto | 3:4a2dfa38a61e | 22 | |
Kojto | 3:4a2dfa38a61e | 23 | #define MY_BOARD WIGO |
Kojto | 3:4a2dfa38a61e | 24 | |
Kojto | 3:4a2dfa38a61e | 25 | // use this defines in AP_SECURITY |
Kojto | 3:4a2dfa38a61e | 26 | #define NONE 0 |
Kojto | 3:4a2dfa38a61e | 27 | #define WEP 1 |
Kojto | 3:4a2dfa38a61e | 28 | #define WPA 2 |
Kojto | 3:4a2dfa38a61e | 29 | #define WPA2 3 |
Kojto | 3:4a2dfa38a61e | 30 | |
Kojto | 3:4a2dfa38a61e | 31 | // use smart config |
Kojto | 3:4a2dfa38a61e | 32 | #define USE_SMART_CONFIG 0 |
Kojto | 3:4a2dfa38a61e | 33 | |
Kojto | 3:4a2dfa38a61e | 34 | // Default SSID Settings |
Kojto | 3:4a2dfa38a61e | 35 | #define AP_KEY "test" |
Kojto | 3:4a2dfa38a61e | 36 | #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! |
Kojto | 3:4a2dfa38a61e | 37 | #define SSID "test" |
Kojto | 3:4a2dfa38a61e | 38 | |
Kojto | 3:4a2dfa38a61e | 39 | void init(); |
Kojto | 3:4a2dfa38a61e | 40 | |
Kojto | 3:4a2dfa38a61e | 41 | #endif |