This is an example of BLE GATT Client, which receives broadcast data from BLE_Server_BME280 ( a GATT server) , then transfers values up to mbed Device Connector (cloud).

Please refer details about BLEClient_mbedDevConn below. https://github.com/soramame21/BLEClient_mbedDevConn

The location of required BLE GATT server, BLE_Server_BME280, is at here. https://developer.mbed.org/users/edamame22/code/BLE_Server_BME280/

Committer:
Ren Boting
Date:
Tue Sep 05 11:56:13 2017 +0900
Revision:
2:b894b3508057
Parent:
0:29983394c6b6
Update all libraries and reform main.cpp

Who changed what in which revision?

UserRevisionLine numberNew contents of line
edamame22 0:29983394c6b6 1 #!/bin/bash
edamame22 0:29983394c6b6 2
edamame22 0:29983394c6b6 3 # Copyright (c) 2015 ARM Limited. All rights reserved.
edamame22 0:29983394c6b6 4 # SPDX-License-Identifier: Apache-2.0
edamame22 0:29983394c6b6 5 # Licensed under the Apache License, Version 2.0 (the License); you may
edamame22 0:29983394c6b6 6 # not use this file except in compliance with the License.
edamame22 0:29983394c6b6 7 # You may obtain a copy of the License at
edamame22 0:29983394c6b6 8 #
edamame22 0:29983394c6b6 9 # http://www.apache.org/licenses/LICENSE-2.0
edamame22 0:29983394c6b6 10 #
edamame22 0:29983394c6b6 11 # Unless required by applicable law or agreed to in writing, software
edamame22 0:29983394c6b6 12 # distributed under the License is distributed on an AS IS BASIS, WITHOUT
edamame22 0:29983394c6b6 13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
edamame22 0:29983394c6b6 14 # See the License for the specific language governing permissions and
edamame22 0:29983394c6b6 15 # limitations under the License.
edamame22 0:29983394c6b6 16
edamame22 0:29983394c6b6 17
edamame22 0:29983394c6b6 18 rm -rf coverage
edamame22 0:29983394c6b6 19 lcov --base-directory ../../ --directory ../../output/gcc_linux/source -c -o testapp.info
edamame22 0:29983394c6b6 20 lcov --base-directory ../../ --directory ../../output/lwm2m-client-linux/source -c -o lwm2mlinux.info
edamame22 0:29983394c6b6 21 lcov --base-directory ../../ --directory ../../output/lwm2m-client-mbedtls/source -c -o mbedtls.info
edamame22 0:29983394c6b6 22 lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libCoap/src -c -o libcoap.info
edamame22 0:29983394c6b6 23 lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libNsdl/src -c -o libnsdl.info
edamame22 0:29983394c6b6 24 genhtml -o coverage -t "lwm2mtestapplication coverage" --num-spaces 4 testapp.info libcoap.info libnsdl.info lwm2mlinux.info mbedtls.info
edamame22 0:29983394c6b6 25 lcov --base-directory ../../ --directory ../../output/gcc_linux/source -z
edamame22 0:29983394c6b6 26 lcov --base-directory ../../ --directory ../../output/lwm2m-client-linux/source -z
edamame22 0:29983394c6b6 27 lcov --base-directory ../../ --directory ../../output/lwm2m-client-mbedtls/source -z
edamame22 0:29983394c6b6 28 lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libCoap/src -z
edamame22 0:29983394c6b6 29 lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libNsdl/src -z