cc3000_ntp_demo_F446RE

Dependencies:   NTPClient2 NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed

Fork of cc3000_ntp_demo by Martin Kojtal

Committer:
Kojto
Date:
Thu Oct 03 14:46:22 2013 +0000
Revision:
2:f163731f852a
Parent:
1:fd70c76e74b2
Child:
3:4a2dfa38a61e
update to NVIC set all priorities, update host driver, init function

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 0:606d6c8dcb58 1 /* mbed Microcontroller Library
Kojto 0:606d6c8dcb58 2 * Copyright (c) 2006-2013 ARM Limited
Kojto 0:606d6c8dcb58 3 *
Kojto 0:606d6c8dcb58 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 0:606d6c8dcb58 5 * you may not use this file except in compliance with the License.
Kojto 0:606d6c8dcb58 6 * You may obtain a copy of the License at
Kojto 0:606d6c8dcb58 7 *
Kojto 0:606d6c8dcb58 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 0:606d6c8dcb58 9 *
Kojto 0:606d6c8dcb58 10 * Unless required by applicable law or agreed to in writing, software
Kojto 0:606d6c8dcb58 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 0:606d6c8dcb58 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 0:606d6c8dcb58 13 * See the License for the specific language governing permissions and
Kojto 0:606d6c8dcb58 14 * limitations under the License.
Kojto 0:606d6c8dcb58 15 */
Kojto 0:606d6c8dcb58 16 #ifndef MAIN_H
Kojto 0:606d6c8dcb58 17 #define MAIN_H
Kojto 0:606d6c8dcb58 18
Kojto 2:f163731f852a 19 #define WIGO 1
Kojto 2:f163731f852a 20 #define WIFI_DIPCORTEX 2
Kojto 2:f163731f852a 21 #define UNDEFINED 3
Kojto 2:f163731f852a 22
Kojto 2:f163731f852a 23 #define MY_BOARD WIGO
Kojto 2:f163731f852a 24
Kojto 2:f163731f852a 25 // use this defines in AP_SECURITY
Kojto 0:606d6c8dcb58 26 #define NONE 0
Kojto 0:606d6c8dcb58 27 #define WEP 1
Kojto 0:606d6c8dcb58 28 #define WPA 2
Kojto 0:606d6c8dcb58 29 #define WPA2 3
Kojto 0:606d6c8dcb58 30
Kojto 0:606d6c8dcb58 31 // use smart config
Kojto 0:606d6c8dcb58 32 #define USE_SMART_CONFIG 0
Kojto 0:606d6c8dcb58 33
Kojto 0:606d6c8dcb58 34 // Default SSID Settings
Kojto 1:fd70c76e74b2 35 #define AP_KEY "zxcvbnm,./"
Kojto 2:f163731f852a 36 #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot!
Kojto 2:f163731f852a 37 #define SSID "SSID"
Kojto 0:606d6c8dcb58 38
Kojto 2:f163731f852a 39 void init();
Kojto 0:606d6c8dcb58 40
Kojto 0:606d6c8dcb58 41 #endif