Xively demo for cc3000

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket libxively mbed

Committer:
Kojto
Date:
Mon Oct 14 15:33:28 2013 +0000
Revision:
3:6eb505b0beb3
Parent:
2:ed5cf21e63b4
Child:
4:cea07f0d1eeb
xively update with xi_user_config

Who changed what in which revision?

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