Cellular (U-Blox) network support for mbedConnectorInterface.

Dependencies:   libnsdl C027_Support mbed-rtos

Dependents:   mbed-3g-sample

Committer:
ansond
Date:
Mon Dec 07 17:33:01 2015 +0000
Revision:
8:d6c30a9a5ebe
Parent:
6:172c371557fa
updates

Who changed what in which revision?

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