example using mbed loramac with GPS in application layer

Dependencies:   lib_gps

This repository can work on NAmote72.

This main.cpp generates Cayenne LPP GPS payload.

See mbed documentation for provisioning instructions.

Committer:
Wayne Roberts
Date:
Thu Jan 03 16:18:09 2019 -0800
Revision:
0:2e040cc7f7b8
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Wayne Roberts 0:2e040cc7f7b8 1 /**
Wayne Roberts 0:2e040cc7f7b8 2 * Copyright (c) 2017, Arm Limited and affiliates.
Wayne Roberts 0:2e040cc7f7b8 3 * SPDX-License-Identifier: Apache-2.0
Wayne Roberts 0:2e040cc7f7b8 4 *
Wayne Roberts 0:2e040cc7f7b8 5 * Licensed under the Apache License, Version 2.0 (the "License");
Wayne Roberts 0:2e040cc7f7b8 6 * you may not use this file except in compliance with the License.
Wayne Roberts 0:2e040cc7f7b8 7 * You may obtain a copy of the License at
Wayne Roberts 0:2e040cc7f7b8 8 *
Wayne Roberts 0:2e040cc7f7b8 9 * http://www.apache.org/licenses/LICENSE-2.0
Wayne Roberts 0:2e040cc7f7b8 10 *
Wayne Roberts 0:2e040cc7f7b8 11 * Unless required by applicable law or agreed to in writing, software
Wayne Roberts 0:2e040cc7f7b8 12 * distributed under the License is distributed on an "AS IS" BASIS,
Wayne Roberts 0:2e040cc7f7b8 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Wayne Roberts 0:2e040cc7f7b8 14 * See the License for the specific language governing permissions and
Wayne Roberts 0:2e040cc7f7b8 15 * limitations under the License.
Wayne Roberts 0:2e040cc7f7b8 16 */
Wayne Roberts 0:2e040cc7f7b8 17
Wayne Roberts 0:2e040cc7f7b8 18 #ifndef APP_TRACE_HELPER_H_
Wayne Roberts 0:2e040cc7f7b8 19 #define APP_TRACE_HELPER_H_
Wayne Roberts 0:2e040cc7f7b8 20
Wayne Roberts 0:2e040cc7f7b8 21 /**
Wayne Roberts 0:2e040cc7f7b8 22 * Helper function for the application to setup Mbed trace.
Wayne Roberts 0:2e040cc7f7b8 23 * It Wouldn't do anything if the FEATURE_COMMON_PAL is not added
Wayne Roberts 0:2e040cc7f7b8 24 * or if the trace is disabled using mbed_app.json
Wayne Roberts 0:2e040cc7f7b8 25 */
Wayne Roberts 0:2e040cc7f7b8 26 void setup_trace();
Wayne Roberts 0:2e040cc7f7b8 27
Wayne Roberts 0:2e040cc7f7b8 28 #endif /* APP_TRACE_HELPER_H_ */