Christopher Wu / Mbed 2 deprecated Trail

Dependencies:   Chainable_RGB_LED mbed mbedConnectorInterface mbedEndpointNetwork

Fork of IoT_LED_demo by MBED_DEMOS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers nsp_configuration.h Source File

nsp_configuration.h

Go to the documentation of this file.
00001 /**
00002  * @file    nsp_configuration.h
00003  * @brief   mbed Connector Interface NSP configuration header
00004  * @author  Doug Anson
00005  * @version 1.0
00006  * @see
00007  *
00008  * Copyright (c) 2014
00009  *
00010  * Licensed under the Apache License, Version 2.0 (the "License");
00011  * you may not use this file except in compliance with the License.
00012  * You may obtain a copy of the License at
00013  *
00014  *     http://www.apache.org/licenses/LICENSE-2.0
00015  *
00016  * Unless required by applicable law or agreed to in writing, software
00017  * distributed under the License is distributed on an "AS IS" BASIS,
00018  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00019  * See the License for the specific language governing permissions and
00020  * limitations under the License.
00021  */
00022  
00023  #ifndef __NSP_CONFIGURATION_H__
00024  #define __NSP_CONFIGURATION_H__
00025  
00026  // NSP node name
00027  #define NODE_NAME_LENGTH         24
00028  #define NODE_NAME                "mbed-eth-endpoint"
00029  
00030  // NSP Address (4 bytes for IPV4, 16 bytes for IPV6)
00031  #define NSP_IP_ADDRESS_LENGTH    4
00032  #define NSP_IP_ADDRESS           {192,168,1,199}
00033  
00034  // NSP Endpoint Type specification
00035  #define NSP_ENDPOINT_TYPE_LENGTH 24
00036  #define NSP_ENDPOINT_TYPE        "mbed-eth-device"
00037  
00038  // NSP Domain used
00039  #define NSP_DOMAIN_LENGTH        24
00040  #define NSP_DOMAIN               "domain"
00041 
00042  #endif // __NSP_CONFIGURATION_H__