Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterface by
mbedConnectorInterface.h
00001 /** 00002 * @file mbedConnectorInterface.h 00003 * @brief mbed Connector Inteface configuration header file 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 __MBED_CONNECTOR_INTERFACE_H__ 00024 #define __MBED_CONNECTOR_INTERFACE_H__ 00025 00026 // Include specific NSP configuration details 00027 #include "nsp_configuration.h" 00028 00029 /************** DEFAULT CONFIGURATION PARAMETERS ************************/ 00030 00031 // NSP Configuration 00032 #define NSP_COAP_UDP_PORT 5683 // Default CoAP UDP port 00033 #define NSP_LIFE_TIME_LENGTH 24 // length of the lifetime buffer string 00034 #define NSP_LIFE_TIME "120" // liftime buffer (representing seconds) 00035 #define NSP_RD_UPDATE_PERIOD 30000 // (in ms) - 30 seconds (1/4 of NSP_LIFE_TIME seconds) 00036 #define NSP_TICKERUPDATE_PERIOD 30.0 // (float secs) - 30 seconds (used for Ticker-based re-registration periods) 00037 #define NSP_DEFAULT_OBS_PERIOD 10000 // (in ms) - 10 seconds between observations.. 00038 00039 // 6LowPAN Configuration 00040 #define NODE_MAC_ADDRESS_LENGTH 8 00041 #define NODE_MAC_ADDRESS {0x00,0x00,0x06,0x02,0x00,0x00,0x36,0x18} 00042 #define NODE_CHANNEL_LIST 0x07FFF800 // All channels 00043 00044 // DynamicResource Configuration 00045 #define MAX_VALUE_BUFFER_LENGTH 128 // largest "value" a dynamic resource may assume as a string 00046 00047 // Instance Pointer Table Configuration 00048 #define IPT_MAX_ENTRIES 10 // maximum number of unique pointers managed by the IPT (i.e. number of independent dynamic resources) 00049 00050 // Logger buffer size 00051 #define LOGGER_BUFFER_LENGTH 300 // largest single print of a given debug line 00052 00053 // 802.15.4 Network ID and RF channel defaults 00054 #define MESH_NETWORK_ID_LENGTH 32 00055 #define MESH_DEF_NETWORK_ID "Network000000000" 00056 #define MESH_DEF_RF_CHANNEL 11 00057 00058 00059 // WiFi Configuration 00060 #define WIFI_SSID_LENGTH 128 00061 #define WIFI_DEFAULT_SSID "changeme" 00062 #define WIFI_AUTH_KEY_LENGTH 128 00063 #define WIFI_DEFAULT_AUTH_KEY "changeme" 00064 00065 /************** DEFAULT CONFIGURATION PARAMETERS ************************/ 00066 00067 #endif // __MBED_CONNECTOR_INTERFACE___
Generated on Wed Jul 13 2022 02:58:57 by
1.7.2
