6LowPAN mesh-based network support for mbedConnectorInterface. The Atmel-based mbed 6LowPAN shield is the assumed network hardware.

Dependencies:   libnsdl Nanostack_lib

Committer:
ansond
Date:
Tue Nov 03 17:07:01 2015 +0000
Revision:
13:17948fd0fe32
Parent:
12:cdc0826b3d9b
updated buffer sizes, updated

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 12:cdc0826b3d9b 1 /**
ansond 12:cdc0826b3d9b 2 * @file mbedEndpointNetworkStubs.h
ansond 12:cdc0826b3d9b 3 * @brief mbed Endpoint Network header - declares underling network instance
ansond 12:cdc0826b3d9b 4 * @author Doug Anson
ansond 12:cdc0826b3d9b 5 * @version 1.0
ansond 12:cdc0826b3d9b 6 * @see
ansond 12:cdc0826b3d9b 7 *
ansond 12:cdc0826b3d9b 8 * Copyright (c) 2014
ansond 12:cdc0826b3d9b 9 *
ansond 12:cdc0826b3d9b 10 * Licensed under the Apache License, Version 2.0 (the "License");
ansond 12:cdc0826b3d9b 11 * you may not use this file except in compliance with the License.
ansond 12:cdc0826b3d9b 12 * You may obtain a copy of the License at
ansond 12:cdc0826b3d9b 13 *
ansond 12:cdc0826b3d9b 14 * http://www.apache.org/licenses/LICENSE-2.0
ansond 12:cdc0826b3d9b 15 *
ansond 12:cdc0826b3d9b 16 * Unless required by applicable law or agreed to in writing, software
ansond 12:cdc0826b3d9b 17 * distributed under the License is distributed on an "AS IS" BASIS,
ansond 12:cdc0826b3d9b 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ansond 12:cdc0826b3d9b 19 * See the License for the specific language governing permissions and
ansond 12:cdc0826b3d9b 20 * limitations under the License.
ansond 12:cdc0826b3d9b 21 */
ansond 12:cdc0826b3d9b 22
ansond 12:cdc0826b3d9b 23 #ifndef __MBED_ENDPOINT_NETWORK_H__
ansond 12:cdc0826b3d9b 24 #define __MBED_ENDPOINT_NETWORK_H__
ansond 12:cdc0826b3d9b 25
ansond 12:cdc0826b3d9b 26 // mbed
ansond 12:cdc0826b3d9b 27 #include "mbed.h"
ansond 12:cdc0826b3d9b 28
ansond 12:cdc0826b3d9b 29 // USB Serial port access for debugging/logging
ansond 12:cdc0826b3d9b 30 RawSerial pc(USBTX,USBRX);
ansond 12:cdc0826b3d9b 31
ansond 12:cdc0826b3d9b 32 // Logging facility
ansond 12:cdc0826b3d9b 33 #include "Logger.h"
ansond 12:cdc0826b3d9b 34 Logger logger(&pc);
ansond 12:cdc0826b3d9b 35
ansond 12:cdc0826b3d9b 36 // mbed Connector Endpoint includes
ansond 12:cdc0826b3d9b 37 #include "ConnectorEndpoint.h"
ansond 12:cdc0826b3d9b 38 #include "OptionsBuilder.h"
ansond 12:cdc0826b3d9b 39
ansond 12:cdc0826b3d9b 40 #endif // __MBED_ENDPOINT_NETWORK_H__