Connected switch with wifi for Project Trenton (weather control switch!). Targets NXP LPC1768 device with WiFly connectivity module.

Dependencies:   WiflyInterface mbed nanoservice_client_1_12

Fork of cc3000_simple_socket_demo by Martin Kojtal

main.h

Committer:
erigow01
Date:
2014-08-26
Revision:
22:3a6ce4ba0222
Parent:
16:3fb612af0dc5

File content as of revision 22:3a6ce4ba0222:

/* 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 "WiflyInterface.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[];

#endif