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

main.h

Committer:
erigow01
Date:
2014-08-26
Revision:
23:7304a998959b
Parent:
16:3fb612af0dc5

File content as of revision 23:7304a998959b:

/* mbed Microcontroller Library
 * Copyright (c) 2006-2013 ARM Limited
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef MAIN_H
#define MAIN_H

#include "WIZnetInterface.h"

 // Default SSID Settings
#define AP_KEY       "asedemo1"
#define SSID         "trentonhub"


extern Endpoint nsp;
extern UDPSocket server;
extern char endpoint_name[];
extern uint8_t ep_type[];
extern uint8_t lifetime_ptr[];
#define USE_DHCP
/* Manual IP configurations, if DHCP not defined TODO These may not work!!!*/
#define IP      "192.168.1.15"
#define MASK    "255.255.255.0"
#define GW      "192.168.1.1"

#endif