Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTTPClient cc3000_hostdriver_mbedsocket mbed
Fork of EECS149_email_notifier by
main.h@0:fe1445e57b7d, 2013-10-07 (annotated)
- Committer:
- Kojto
- Date:
- Mon Oct 07 15:19:40 2013 +0000
- Revision:
- 0:fe1445e57b7d
- Child:
- 4:b61a6b6190be
initial version
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Kojto | 0:fe1445e57b7d | 1 | /* mbed Microcontroller Library |
| Kojto | 0:fe1445e57b7d | 2 | * Copyright (c) 2006-2013 ARM Limited |
| Kojto | 0:fe1445e57b7d | 3 | * |
| Kojto | 0:fe1445e57b7d | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| Kojto | 0:fe1445e57b7d | 5 | * you may not use this file except in compliance with the License. |
| Kojto | 0:fe1445e57b7d | 6 | * You may obtain a copy of the License at |
| Kojto | 0:fe1445e57b7d | 7 | * |
| Kojto | 0:fe1445e57b7d | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| Kojto | 0:fe1445e57b7d | 9 | * |
| Kojto | 0:fe1445e57b7d | 10 | * Unless required by applicable law or agreed to in writing, software |
| Kojto | 0:fe1445e57b7d | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| Kojto | 0:fe1445e57b7d | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| Kojto | 0:fe1445e57b7d | 13 | * See the License for the specific language governing permissions and |
| Kojto | 0:fe1445e57b7d | 14 | * limitations under the License. |
| Kojto | 0:fe1445e57b7d | 15 | */ |
| Kojto | 0:fe1445e57b7d | 16 | #ifndef MAIN_H |
| Kojto | 0:fe1445e57b7d | 17 | #define MAIN_H |
| Kojto | 0:fe1445e57b7d | 18 | |
| Kojto | 0:fe1445e57b7d | 19 | #define WIGO 1 |
| Kojto | 0:fe1445e57b7d | 20 | #define WIFI_DIPCORTEX 2 |
| Kojto | 0:fe1445e57b7d | 21 | #define UNDEFINED 3 |
| Kojto | 0:fe1445e57b7d | 22 | |
| Kojto | 0:fe1445e57b7d | 23 | #define MY_BOARD WIGO |
| Kojto | 0:fe1445e57b7d | 24 | |
| Kojto | 0:fe1445e57b7d | 25 | // use this defines in AP_SECURITY |
| Kojto | 0:fe1445e57b7d | 26 | #define NONE 0 |
| Kojto | 0:fe1445e57b7d | 27 | #define WEP 1 |
| Kojto | 0:fe1445e57b7d | 28 | #define WPA 2 |
| Kojto | 0:fe1445e57b7d | 29 | #define WPA2 3 |
| Kojto | 0:fe1445e57b7d | 30 | |
| Kojto | 0:fe1445e57b7d | 31 | // use smart config |
| Kojto | 0:fe1445e57b7d | 32 | #define USE_SMART_CONFIG 0 |
| Kojto | 0:fe1445e57b7d | 33 | |
| Kojto | 0:fe1445e57b7d | 34 | // Default SSID Settings |
| Kojto | 0:fe1445e57b7d | 35 | #define AP_KEY "test" |
| Kojto | 0:fe1445e57b7d | 36 | #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! |
| Kojto | 0:fe1445e57b7d | 37 | #define SSID "test" |
| Kojto | 0:fe1445e57b7d | 38 | |
| Kojto | 0:fe1445e57b7d | 39 | void init(); |
| Kojto | 0:fe1445e57b7d | 40 | |
| Kojto | 0:fe1445e57b7d | 41 | #endif |
