Sparkfun CC3000 WiFi Shield meets mbed. Supports the following boards: (1)FRDM-KL25Z (KL25Z) (2)ST Nucleo F401RE (STM32F401) (3)ST Nucleo F030R8 (STM32F030) (4)LPCXpresso1549 (LPC1549) (5)Seeduino-Arch-Pro (ARCH_PRO)
Dependencies: cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_hello_world_demo by
main.h@0:db8738fc21e8, 2013-10-06 (annotated)
- Committer:
- Kojto
- Date:
- Sun Oct 06 16:29:29 2013 +0000
- Revision:
- 0:db8738fc21e8
- Child:
- 3:9fb9fa2cec61
initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 0:db8738fc21e8 | 1 | /* mbed Microcontroller Library |
Kojto | 0:db8738fc21e8 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Kojto | 0:db8738fc21e8 | 3 | * |
Kojto | 0:db8738fc21e8 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 0:db8738fc21e8 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 0:db8738fc21e8 | 6 | * You may obtain a copy of the License at |
Kojto | 0:db8738fc21e8 | 7 | * |
Kojto | 0:db8738fc21e8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 0:db8738fc21e8 | 9 | * |
Kojto | 0:db8738fc21e8 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 0:db8738fc21e8 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 0:db8738fc21e8 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 0:db8738fc21e8 | 13 | * See the License for the specific language governing permissions and |
Kojto | 0:db8738fc21e8 | 14 | * limitations under the License. |
Kojto | 0:db8738fc21e8 | 15 | */ |
Kojto | 0:db8738fc21e8 | 16 | #ifndef MAIN_H |
Kojto | 0:db8738fc21e8 | 17 | #define MAIN_H |
Kojto | 0:db8738fc21e8 | 18 | |
Kojto | 0:db8738fc21e8 | 19 | #define WIGO 1 |
Kojto | 0:db8738fc21e8 | 20 | #define WIFI_DIPCORTEX 2 |
Kojto | 0:db8738fc21e8 | 21 | #define UNDEFINED 3 |
Kojto | 0:db8738fc21e8 | 22 | |
Kojto | 0:db8738fc21e8 | 23 | #define MY_BOARD WIGO |
Kojto | 0:db8738fc21e8 | 24 | |
Kojto | 0:db8738fc21e8 | 25 | // use this defines in AP_SECURITY |
Kojto | 0:db8738fc21e8 | 26 | #define NONE 0 |
Kojto | 0:db8738fc21e8 | 27 | #define WEP 1 |
Kojto | 0:db8738fc21e8 | 28 | #define WPA 2 |
Kojto | 0:db8738fc21e8 | 29 | #define WPA2 3 |
Kojto | 0:db8738fc21e8 | 30 | |
Kojto | 0:db8738fc21e8 | 31 | // use smart config |
Kojto | 0:db8738fc21e8 | 32 | #define USE_SMART_CONFIG 0 |
Kojto | 0:db8738fc21e8 | 33 | |
Kojto | 0:db8738fc21e8 | 34 | // Default SSID Settings |
Kojto | 0:db8738fc21e8 | 35 | #define AP_KEY "test" |
Kojto | 0:db8738fc21e8 | 36 | #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! |
Kojto | 0:db8738fc21e8 | 37 | #define SSID "test" |
Kojto | 0:db8738fc21e8 | 38 | |
Kojto | 0:db8738fc21e8 | 39 | void init(); |
Kojto | 0:db8738fc21e8 | 40 | |
Kojto | 0:db8738fc21e8 | 41 | #endif |