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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
edamame22 0:29983394c6b6 2 <html xmlns="http://www.w3.org/1999/xhtml">
edamame22 0:29983394c6b6 3 <head>
edamame22 0:29983394c6b6 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
edamame22 0:29983394c6b6 5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
edamame22 0:29983394c6b6 6 <meta name="generator" content="Doxygen 1.8.11"/>
edamame22 0:29983394c6b6 7 <title>PAL: File List</title>
edamame22 0:29983394c6b6 8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
edamame22 0:29983394c6b6 9 <script type="text/javascript" src="jquery.js"></script>
edamame22 0:29983394c6b6 10 <script type="text/javascript" src="dynsections.js"></script>
edamame22 0:29983394c6b6 11 <link href="doxygen.css" rel="stylesheet" type="text/css" />
edamame22 0:29983394c6b6 12 </head>
edamame22 0:29983394c6b6 13 <body>
edamame22 0:29983394c6b6 14 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
edamame22 0:29983394c6b6 15 <div id="titlearea">
edamame22 0:29983394c6b6 16 <table cellspacing="0" cellpadding="0">
edamame22 0:29983394c6b6 17 <tbody>
edamame22 0:29983394c6b6 18 <tr style="height: 56px;">
edamame22 0:29983394c6b6 19 <td id="projectalign" style="padding-left: 0.5em;">
edamame22 0:29983394c6b6 20 <div id="projectname">PAL
edamame22 0:29983394c6b6 21 </div>
edamame22 0:29983394c6b6 22 <div id="projectbrief">A Platform Abstraction Layer connects the mbed-client with the underlying platform.</div>
edamame22 0:29983394c6b6 23 </td>
edamame22 0:29983394c6b6 24 </tr>
edamame22 0:29983394c6b6 25 </tbody>
edamame22 0:29983394c6b6 26 </table>
edamame22 0:29983394c6b6 27 </div>
edamame22 0:29983394c6b6 28 <!-- end header part -->
edamame22 0:29983394c6b6 29 <!-- Generated by Doxygen 1.8.11 -->
edamame22 0:29983394c6b6 30 <div id="navrow1" class="tabs">
edamame22 0:29983394c6b6 31 <ul class="tablist">
edamame22 0:29983394c6b6 32 <li><a href="index.html"><span>Main&#160;Page</span></a></li>
edamame22 0:29983394c6b6 33 <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
edamame22 0:29983394c6b6 34 <li class="current"><a href="files.html"><span>Files</span></a></li>
edamame22 0:29983394c6b6 35 </ul>
edamame22 0:29983394c6b6 36 </div>
edamame22 0:29983394c6b6 37 <div id="navrow2" class="tabs2">
edamame22 0:29983394c6b6 38 <ul class="tablist">
edamame22 0:29983394c6b6 39 <li class="current"><a href="files.html"><span>File&#160;List</span></a></li>
edamame22 0:29983394c6b6 40 <li><a href="globals.html"><span>Globals</span></a></li>
edamame22 0:29983394c6b6 41 </ul>
edamame22 0:29983394c6b6 42 </div>
edamame22 0:29983394c6b6 43 </div><!-- top -->
edamame22 0:29983394c6b6 44 <div class="header">
edamame22 0:29983394c6b6 45 <div class="headertitle">
edamame22 0:29983394c6b6 46 <div class="title">File List</div> </div>
edamame22 0:29983394c6b6 47 </div><!--header-->
edamame22 0:29983394c6b6 48 <div class="contents">
edamame22 0:29983394c6b6 49 <div class="textblock">Here is a list of all files with brief descriptions:</div><div class="directory">
edamame22 0:29983394c6b6 50 <div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span><span onclick="javascript:toggleLevel(4);">4</span><span onclick="javascript:toggleLevel(5);">5</span><span onclick="javascript:toggleLevel(6);">6</span>]</div><table class="directory">
edamame22 0:29983394c6b6 51 <tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')">&#160;</span><a class="el" href="dir_74389ed8173ad57b461b9d623a1f3867.html" target="_self">Source</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 52 <tr id="row_0_0_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_0_" class="arrow" onclick="toggleFolder('0_0_')">&#9660;</span><span id="img_0_0_" class="iconfopen" onclick="toggleFolder('0_0_')">&#160;</span><a class="el" href="dir_8a9a67948239eaee56ff05ba80ad2d3c.html" target="_self">PAL-Impl</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 53 <tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_0_" class="arrow" onclick="toggleFolder('0_0_0_')">&#9660;</span><span id="img_0_0_0_" class="iconfopen" onclick="toggleFolder('0_0_0_')">&#160;</span><a class="el" href="dir_5097254b22164c5ad71a4eec719a72ee.html" target="_self">Modules</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 54 <tr id="row_0_0_0_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span id="arr_0_0_0_0_" class="arrow" onclick="toggleFolder('0_0_0_0_')">&#9660;</span><span id="img_0_0_0_0_" class="iconfopen" onclick="toggleFolder('0_0_0_0_')">&#160;</span><a class="el" href="dir_59e3d70b06141856a554dd7aab1293ae.html" target="_self">Networking</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 55 <tr id="row_0_0_0_0_0_" class="even"><td class="entry"><span style="width:80px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d1/dc4/pal__network_8c.html" target="_self">pal_network.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 56 <tr id="row_0_0_0_1_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span id="arr_0_0_0_1_" class="arrow" onclick="toggleFolder('0_0_0_1_')">&#9660;</span><span id="img_0_0_0_1_" class="iconfopen" onclick="toggleFolder('0_0_0_1_')">&#160;</span><a class="el" href="dir_0a6b9d10733e8fa4306fa781def1f127.html" target="_self">RTOS</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 57 <tr id="row_0_0_0_1_0_" class="even"><td class="entry"><span style="width:80px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="de/d33/pal__rtos_8c.html" target="_self">pal_rtos.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 58 <tr id="row_0_0_1_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_0_1_" class="arrow" onclick="toggleFolder('0_0_1_')">&#9660;</span><span id="img_0_0_1_" class="iconfopen" onclick="toggleFolder('0_0_1_')">&#160;</span><a class="el" href="dir_18cc01a76aedd55acdee1b7ef37dd546.html" target="_self">Services-API</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 59 <tr id="row_0_0_1_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d9/d16/pal_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d9/d16/pal_8h.html" target="_self">pal.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 60 <tr id="row_0_0_1_1_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d2/d87/pal__configuration_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d2/d87/pal__configuration_8h.html" target="_self">pal_configuration.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 61 <tr id="row_0_0_1_2_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="da/dfe/pal__errors_8h_source.html"><span class="icondoc"></span></a><a class="el" href="da/dfe/pal__errors_8h.html" target="_self">pal_errors.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 62 <tr id="row_0_0_1_3_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="db/dcf/pal__macros_8h_source.html"><span class="icondoc"></span></a><a class="el" href="db/dcf/pal__macros_8h.html" target="_self">pal_macros.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 63 <tr id="row_0_0_1_4_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d9/d17/pal__network_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d9/d17/pal__network_8h.html" target="_self">pal_network.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 64 <tr id="row_0_0_1_5_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d4/d01/pal__rtos_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d4/d01/pal__rtos_8h.html" target="_self">pal_rtos.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 65 <tr id="row_0_0_1_6_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d6/dc2/pal__types_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d6/dc2/pal__types_8h.html" target="_self">pal_types.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 66 <tr id="row_0_0_2_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d7/d66/pal__init_8c.html" target="_self">pal_init.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 67 <tr id="row_0_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_1_" class="arrow" onclick="toggleFolder('0_1_')">&#9660;</span><span id="img_0_1_" class="iconfopen" onclick="toggleFolder('0_1_')">&#160;</span><a class="el" href="dir_0bf78cffa0901bd3b5cb7be7888aabc9.html" target="_self">Port</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 68 <tr id="row_0_1_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_1_0_" class="arrow" onclick="toggleFolder('0_1_0_')">&#9660;</span><span id="img_0_1_0_" class="iconfopen" onclick="toggleFolder('0_1_0_')">&#160;</span><a class="el" href="dir_21bbc5adf7d2637a4cb8a3cee979c96f.html" target="_self">Platform-API</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 69 <tr id="row_0_1_0_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d9/d2c/pal__plat__network_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d9/d2c/pal__plat__network_8h.html" target="_self">pal_plat_network.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 70 <tr id="row_0_1_0_1_"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><a href="d5/d59/pal__plat__rtos_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d5/d59/pal__plat__rtos_8h.html" target="_self">pal_plat_rtos.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 71 <tr id="row_0_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span id="arr_0_1_1_" class="arrow" onclick="toggleFolder('0_1_1_')">&#9660;</span><span id="img_0_1_1_" class="iconfopen" onclick="toggleFolder('0_1_1_')">&#160;</span><a class="el" href="dir_c08386f3c1aee312ced83a5951d11ed6.html" target="_self">Reference-Impl</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 72 <tr id="row_0_1_1_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span id="arr_0_1_1_0_" class="arrow" onclick="toggleFolder('0_1_1_0_')">&#9660;</span><span id="img_0_1_1_0_" class="iconfopen" onclick="toggleFolder('0_1_1_0_')">&#160;</span><a class="el" href="dir_7b7fa73f1a1b36d6dab78f50bb89ca7b.html" target="_self">mbedOS</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 73 <tr id="row_0_1_1_0_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><span id="arr_0_1_1_0_0_" class="arrow" onclick="toggleFolder('0_1_1_0_0_')">&#9660;</span><span id="img_0_1_1_0_0_" class="iconfopen" onclick="toggleFolder('0_1_1_0_0_')">&#160;</span><a class="el" href="dir_ddf5611ee10e8b15ebe1664d2c043f4e.html" target="_self">Networking</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 74 <tr id="row_0_1_1_0_0_0_"><td class="entry"><span style="width:96px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d3/dfb/pal__plat__network_8cpp.html" target="_self">pal_plat_network.cpp</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 75 <tr id="row_0_1_1_0_1_" class="even"><td class="entry"><span style="width:64px;display:inline-block;">&#160;</span><span id="arr_0_1_1_0_1_" class="arrow" onclick="toggleFolder('0_1_1_0_1_')">&#9660;</span><span id="img_0_1_1_0_1_" class="iconfopen" onclick="toggleFolder('0_1_1_0_1_')">&#160;</span><a class="el" href="dir_1460475e8e667d8c97e1be97dbcd2231.html" target="_self">RTOS</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 76 <tr id="row_0_1_1_0_1_0_"><td class="entry"><span style="width:96px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d4/dc5/pal__plat__rtos_8c.html" target="_self">pal_plat_rtos.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 77 <tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">&#9660;</span><span id="img_1_" class="iconfopen" onclick="toggleFolder('1_')">&#160;</span><a class="el" href="dir_37618a71d99bdfed5979e976980d5eec.html" target="_self">Test</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 78 <tr id="row_1_0_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_1_0_" class="arrow" onclick="toggleFolder('1_0_')">&#9660;</span><span id="img_1_0_" class="iconfopen" onclick="toggleFolder('1_0_')">&#160;</span><a class="el" href="dir_f8e9a069a0807d5f7341f9bc5892e16f.html" target="_self">Common</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 79 <tr id="row_1_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d1/dee/pal__rtos__test__utils_8c.html" target="_self">pal_rtos_test_utils.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 80 <tr id="row_1_0_1_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="d9/d28/pal__rtos__test__utils_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d9/d28/pal__rtos__test__utils_8h.html" target="_self">pal_rtos_test_utils.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 81 <tr id="row_1_0_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d8/d5f/pal__socket__test__utils_8cpp.html" target="_self">pal_socket_test_utils.cpp</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 82 <tr id="row_1_0_3_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="df/d2a/pal__socket__test__utils_8h_source.html"><span class="icondoc"></span></a><a class="el" href="df/d2a/pal__socket__test__utils_8h.html" target="_self">pal_socket_test_utils.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 83 <tr id="row_1_0_4_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><a href="d0/d51/pal__test__utils_8h_source.html"><span class="icondoc"></span></a><a class="el" href="d0/d51/pal__test__utils_8h.html" target="_self">pal_test_utils.h</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 84 <tr id="row_1_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_1_1_" class="arrow" onclick="toggleFolder('1_1_')">&#9660;</span><span id="img_1_1_" class="iconfopen" onclick="toggleFolder('1_1_')">&#160;</span><a class="el" href="dir_b922272f3c09a4cbb928a2f2eda5adf8.html" target="_self">Unitest</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 85 <tr id="row_1_1_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d5/de2/pal__all__test_8c.html" target="_self">pal_all_test.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 86 <tr id="row_1_1_1_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="dd/d30/pal__all__test__main__mbed_o_s_8cpp.html" target="_self">pal_all_test_main_mbedOS.cpp</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 87 <tr id="row_1_1_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d3/dab/pal__all__test__runner_8c.html" target="_self">pal_all_test_runner.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 88 <tr id="row_1_1_3_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="da/d2d/pal__rtos__test_8c.html" target="_self">pal_rtos_test.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 89 <tr id="row_1_1_4_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="df/d12/pal__rtos__test__main__mbed_o_s_8cpp.html" target="_self">pal_rtos_test_main_mbedOS.cpp</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 90 <tr id="row_1_1_5_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="dd/df6/pal__rtos__test__runner_8c.html" target="_self">pal_rtos_test_runner.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 91 <tr id="row_1_1_6_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d5/d2a/pal__socket__test_8c.html" target="_self">pal_socket_test.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 92 <tr id="row_1_1_7_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="d9/dc0/pal__socket__test__main__mbed_o_s_8cpp.html" target="_self">pal_socket_test_main_mbedOS.cpp</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 93 <tr id="row_1_1_8_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="dc/da5/pal__socket__test__runner_8c.html" target="_self">pal_socket_test_runner.c</a></td><td class="desc"></td></tr>
edamame22 0:29983394c6b6 94 </table>
edamame22 0:29983394c6b6 95 </div><!-- directory -->
edamame22 0:29983394c6b6 96 </div><!-- contents -->
edamame22 0:29983394c6b6 97 <!-- start footer part -->
edamame22 0:29983394c6b6 98 <hr class="footer"/><address class="footer"><small>
edamame22 0:29983394c6b6 99 Generated by &#160;<a href="http://www.doxygen.org/index.html">
edamame22 0:29983394c6b6 100 <img class="footer" src="doxygen.png" alt="doxygen"/>
edamame22 0:29983394c6b6 101 </a> 1.8.11
edamame22 0:29983394c6b6 102 </small></address>
edamame22 0:29983394c6b6 103 </body>
edamame22 0:29983394c6b6 104 </html>