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