Demo project for IoT World Hackathon

Dependencies:   Chainable_RGB_LED mbed mbedConnectorInterface mbedEndpointNetwork

Committer:
michaeljkoster
Date:
Tue May 12 00:51:01 2015 +0000
Revision:
0:a9025db1ac76
Initial Fork

Who changed what in which revision?

UserRevisionLine numberNew contents of line
michaeljkoster 0:a9025db1ac76 1 /**
michaeljkoster 0:a9025db1ac76 2 * @file nsp_configuration.h
michaeljkoster 0:a9025db1ac76 3 * @brief mbed Connector Interface NSP configuration header
michaeljkoster 0:a9025db1ac76 4 * @author Doug Anson
michaeljkoster 0:a9025db1ac76 5 * @version 1.0
michaeljkoster 0:a9025db1ac76 6 * @see
michaeljkoster 0:a9025db1ac76 7 *
michaeljkoster 0:a9025db1ac76 8 * Copyright (c) 2014
michaeljkoster 0:a9025db1ac76 9 *
michaeljkoster 0:a9025db1ac76 10 * Licensed under the Apache License, Version 2.0 (the "License");
michaeljkoster 0:a9025db1ac76 11 * you may not use this file except in compliance with the License.
michaeljkoster 0:a9025db1ac76 12 * You may obtain a copy of the License at
michaeljkoster 0:a9025db1ac76 13 *
michaeljkoster 0:a9025db1ac76 14 * http://www.apache.org/licenses/LICENSE-2.0
michaeljkoster 0:a9025db1ac76 15 *
michaeljkoster 0:a9025db1ac76 16 * Unless required by applicable law or agreed to in writing, software
michaeljkoster 0:a9025db1ac76 17 * distributed under the License is distributed on an "AS IS" BASIS,
michaeljkoster 0:a9025db1ac76 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michaeljkoster 0:a9025db1ac76 19 * See the License for the specific language governing permissions and
michaeljkoster 0:a9025db1ac76 20 * limitations under the License.
michaeljkoster 0:a9025db1ac76 21 */
michaeljkoster 0:a9025db1ac76 22
michaeljkoster 0:a9025db1ac76 23 #ifndef __NSP_CONFIGURATION_H__
michaeljkoster 0:a9025db1ac76 24 #define __NSP_CONFIGURATION_H__
michaeljkoster 0:a9025db1ac76 25
michaeljkoster 0:a9025db1ac76 26 // NSP node name
michaeljkoster 0:a9025db1ac76 27 #define NODE_NAME_LENGTH 24
michaeljkoster 0:a9025db1ac76 28 #define NODE_NAME "mbed-eth-endpoint"
michaeljkoster 0:a9025db1ac76 29
michaeljkoster 0:a9025db1ac76 30 // NSP Address (4 bytes for IPV4, 16 bytes for IPV6)
michaeljkoster 0:a9025db1ac76 31 #define NSP_IP_ADDRESS_LENGTH 4
michaeljkoster 0:a9025db1ac76 32 #define NSP_IP_ADDRESS {192,168,1,199}
michaeljkoster 0:a9025db1ac76 33
michaeljkoster 0:a9025db1ac76 34 // NSP Endpoint Type specification
michaeljkoster 0:a9025db1ac76 35 #define NSP_ENDPOINT_TYPE_LENGTH 24
michaeljkoster 0:a9025db1ac76 36 #define NSP_ENDPOINT_TYPE "mbed-eth-device"
michaeljkoster 0:a9025db1ac76 37
michaeljkoster 0:a9025db1ac76 38 // NSP Domain used
michaeljkoster 0:a9025db1ac76 39 #define NSP_DOMAIN_LENGTH 24
michaeljkoster 0:a9025db1ac76 40 #define NSP_DOMAIN "domain"
michaeljkoster 0:a9025db1ac76 41
michaeljkoster 0:a9025db1ac76 42 #endif // __NSP_CONFIGURATION_H__