cc3000 websocket demo for cc3000
Dependencies: NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed
main.h@10:a7f01c5e1e19, 2013-11-07 (annotated)
- Committer:
- Kojto
- Date:
- Thu Nov 07 20:18:18 2013 +0000
- Revision:
- 10:a7f01c5e1e19
- Parent:
- 6:62b6aa700f85
- updated to the host driver rev 45; - using the new EthernetInterface
Who changed what in which revision?
User | Revision | Line number | New 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 | 10:a7f01c5e1e19 | 19 | #define WIGO 1 |
Kojto | 10:a7f01c5e1e19 | 20 | #define WIFI_DIPCORTEX 2 |
Kojto | 10:a7f01c5e1e19 | 21 | #define MBED_BOARD_EXAMPLE 3 |
Kojto | 10:a7f01c5e1e19 | 22 | #define UNDEFINED 4 |
Kojto | 6:62b6aa700f85 | 23 | |
Kojto | 6:62b6aa700f85 | 24 | #define MY_BOARD WIGO |
Kojto | 6:62b6aa700f85 | 25 | |
Kojto | 6:62b6aa700f85 | 26 | void init(); |
Kojto | 6:62b6aa700f85 | 27 | |
Kojto | 6:62b6aa700f85 | 28 | #endif |