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