Connect to SSID, get ip by dhcp, ping google.com, display statistics

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed

Fork of cc3000_ping_demo by Martin Kojtal

Committer:
erezi
Date:
Wed Jun 25 06:12:22 2014 +0000
Revision:
10:b98f2d6e6da5
Parent:
7:fbc17364ea63
version_2.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 3:f38499c4000e 1 /* mbed Microcontroller Library
Kojto 3:f38499c4000e 2 * Copyright (c) 2006-2013 ARM Limited
Kojto 3:f38499c4000e 3 *
Kojto 3:f38499c4000e 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 3:f38499c4000e 5 * you may not use this file except in compliance with the License.
Kojto 3:f38499c4000e 6 * You may obtain a copy of the License at
Kojto 3:f38499c4000e 7 *
Kojto 3:f38499c4000e 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 3:f38499c4000e 9 *
Kojto 3:f38499c4000e 10 * Unless required by applicable law or agreed to in writing, software
Kojto 3:f38499c4000e 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 3:f38499c4000e 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 3:f38499c4000e 13 * See the License for the specific language governing permissions and
Kojto 3:f38499c4000e 14 * limitations under the License.
Kojto 3:f38499c4000e 15 */
Kojto 3:f38499c4000e 16 #ifndef MAIN_H
Kojto 3:f38499c4000e 17 #define MAIN_H
Kojto 3:f38499c4000e 18
Kojto 3:f38499c4000e 19 #define WIGO 1
Kojto 3:f38499c4000e 20 #define WIFI_DIPCORTEX 2
Kojto 3:f38499c4000e 21 #define UNDEFINED 3
Kojto 3:f38499c4000e 22
erezi 10:b98f2d6e6da5 23 //#define MY_BOARD WIGO
erezi 10:b98f2d6e6da5 24 #define MY_BOARD MBED_BOARD_EXAMPLE
erezi 10:b98f2d6e6da5 25
erezi 10:b98f2d6e6da5 26 #include "my_port_mapping.h"
Kojto 3:f38499c4000e 27
Kojto 3:f38499c4000e 28 void init();
Kojto 3:f38499c4000e 29
Kojto 3:f38499c4000e 30 #endif