cc3000 websocket demo for cc3000

Dependencies:   NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed

Committer:
Kojto
Date:
Thu Oct 03 17:33:38 2013 +0200
Revision:
6:62b6aa700f85
Parent:
3:044c6bd2d569
Child:
10:a7f01c5e1e19
ending - unix, removed unreachable line

Who changed what in which revision?

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