BLE mbed Endpoint network stack for mbedConnectorInterface. The stack makes use of a special BLE Socket abstraction to create socket() semantics over BLE.
Dependencies: libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler
mbedEndpointNetwork.h
00001 /** 00002 * @file mbedEndpointNetworkStubs.h 00003 * @brief mbed Endpoint Network header - declares underling network instance 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_ENDPOINT_NETWORK_H__ 00024 #define __MBED_ENDPOINT_NETWORK_H__ 00025 00026 // mbed 00027 #include "mbed.h" 00028 00029 // USB Serial port access for debugging/logging 00030 RawSerial pc(USBTX,USBRX); 00031 00032 // Logging facility 00033 #include "Logger.h" 00034 Logger logger(&pc); 00035 00036 // mbed Connector Endpoint includes 00037 #include "ConnectorEndpoint.h" 00038 #include "OptionsBuilder.h" 00039 00040 #endif // __MBED_ENDPOINT_NETWORK_H__
Generated on Sun Jul 17 2022 05:11:06 by 1.7.2