Fork of KL46Z Wifi version. Moved to KL25Z as umbrella stand now requires 2 SPIs, thus requires 46z.

Dependencies:   WIZnet_Library_ASE mbed nanoservice_client_1_12

Fork of Trenton_Doormat_FRDM-KL25Z_ETH by Eric Gowland

Committer:
erigow01
Date:
Tue Aug 26 15:21:11 2014 +0000
Revision:
23:7304a998959b
Parent:
16:3fb612af0dc5
Ethernet KL25Z version of doormat. Forked from KL46Z Wifi version.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 6:6eaae34586b8 1 /* mbed Microcontroller Library
Kojto 6:6eaae34586b8 2 * Copyright (c) 2006-2013 ARM Limited
Kojto 6:6eaae34586b8 3 *
Kojto 6:6eaae34586b8 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 6:6eaae34586b8 5 * you may not use this file except in compliance with the License.
Kojto 6:6eaae34586b8 6 * You may obtain a copy of the License at
Kojto 6:6eaae34586b8 7 *
Kojto 6:6eaae34586b8 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 6:6eaae34586b8 9 *
Kojto 6:6eaae34586b8 10 * Unless required by applicable law or agreed to in writing, software
Kojto 6:6eaae34586b8 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 6:6eaae34586b8 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 6:6eaae34586b8 13 * See the License for the specific language governing permissions and
Kojto 6:6eaae34586b8 14 * limitations under the License.
Kojto 6:6eaae34586b8 15 */
Kojto 6:6eaae34586b8 16 #ifndef MAIN_H
Kojto 6:6eaae34586b8 17 #define MAIN_H
Kojto 6:6eaae34586b8 18
erigow01 23:7304a998959b 19 #include "WIZnetInterface.h"
Kojto 6:6eaae34586b8 20
Kojto 6:6eaae34586b8 21 // Default SSID Settings
erigow01 16:3fb612af0dc5 22 #define AP_KEY "asedemo1"
erigow01 16:3fb612af0dc5 23 #define SSID "trentonhub"
erigow01 16:3fb612af0dc5 24
Kojto 6:6eaae34586b8 25
erigow01 16:3fb612af0dc5 26 extern Endpoint nsp;
erigow01 16:3fb612af0dc5 27 extern UDPSocket server;
erigow01 16:3fb612af0dc5 28 extern char endpoint_name[];
erigow01 16:3fb612af0dc5 29 extern uint8_t ep_type[];
erigow01 16:3fb612af0dc5 30 extern uint8_t lifetime_ptr[];
erigow01 23:7304a998959b 31 #define USE_DHCP
erigow01 23:7304a998959b 32 /* Manual IP configurations, if DHCP not defined TODO These may not work!!!*/
erigow01 23:7304a998959b 33 #define IP "192.168.1.15"
erigow01 23:7304a998959b 34 #define MASK "255.255.255.0"
erigow01 23:7304a998959b 35 #define GW "192.168.1.1"
Kojto 6:6eaae34586b8 36
Kojto 6:6eaae34586b8 37 #endif