Proof of concept for distance and temperature monitoring

Dependencies:   mbed mbedConnectorInterface mbedEndpointNetwork

Committer:
coyotebush
Date:
Mon May 18 00:44:59 2015 +0000
Revision:
10:338191178cbf
Parent:
3:b51fcb5fd114
max distance

Who changed what in which revision?

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