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: Globals</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><a href="files.html"><span>File&#160;List</span></a></li>
edamame22 0:29983394c6b6 40 <li class="current"><a href="globals.html"><span>Globals</span></a></li>
edamame22 0:29983394c6b6 41 </ul>
edamame22 0:29983394c6b6 42 </div>
edamame22 0:29983394c6b6 43 <div id="navrow3" class="tabs2">
edamame22 0:29983394c6b6 44 <ul class="tablist">
edamame22 0:29983394c6b6 45 <li><a href="globals.html"><span>All</span></a></li>
edamame22 0:29983394c6b6 46 <li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
edamame22 0:29983394c6b6 47 <li><a href="globals_vars.html"><span>Variables</span></a></li>
edamame22 0:29983394c6b6 48 <li><a href="globals_type.html"><span>Typedefs</span></a></li>
edamame22 0:29983394c6b6 49 <li><a href="globals_enum.html"><span>Enumerations</span></a></li>
edamame22 0:29983394c6b6 50 <li><a href="globals_eval.html"><span>Enumerator</span></a></li>
edamame22 0:29983394c6b6 51 <li><a href="globals_defs.html"><span>Macros</span></a></li>
edamame22 0:29983394c6b6 52 </ul>
edamame22 0:29983394c6b6 53 </div>
edamame22 0:29983394c6b6 54 <div id="navrow4" class="tabs3">
edamame22 0:29983394c6b6 55 <ul class="tablist">
edamame22 0:29983394c6b6 56 <li><a href="globals_func.html#index_b"><span>b</span></a></li>
edamame22 0:29983394c6b6 57 <li><a href="globals_func_d.html#index_d"><span>d</span></a></li>
edamame22 0:29983394c6b6 58 <li><a href="globals_func_l.html#index_l"><span>l</span></a></li>
edamame22 0:29983394c6b6 59 <li><a href="globals_func_m.html#index_m"><span>m</span></a></li>
edamame22 0:29983394c6b6 60 <li><a href="globals_func_n.html#index_n"><span>n</span></a></li>
edamame22 0:29983394c6b6 61 <li><a href="globals_func_p.html#index_p"><span>p</span></a></li>
edamame22 0:29983394c6b6 62 <li><a href="globals_func_s.html#index_s"><span>s</span></a></li>
edamame22 0:29983394c6b6 63 <li class="current"><a href="globals_func_t.html#index_t"><span>t</span></a></li>
edamame22 0:29983394c6b6 64 <li><a href="globals_func_u.html#index_u"><span>u</span></a></li>
edamame22 0:29983394c6b6 65 </ul>
edamame22 0:29983394c6b6 66 </div>
edamame22 0:29983394c6b6 67 </div><!-- top -->
edamame22 0:29983394c6b6 68 <div class="contents">
edamame22 0:29983394c6b6 69 &#160;
edamame22 0:29983394c6b6 70
edamame22 0:29983394c6b6 71 <h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
edamame22 0:29983394c6b6 72 <li>TEST()
edamame22 0:29983394c6b6 73 : <a class="el" href="da/d2d/pal__rtos__test_8c.html#a1e33659cb747282e1869e9f86fe2d33f">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 74 , <a class="el" href="d5/d2a/pal__socket__test_8c.html#a89cecd4b07ef1acbb0b40c00189a0f36">pal_socket_test.c</a>
edamame22 0:29983394c6b6 75 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#ab6e3467dab64a1ae60a313f6c004e337">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 76 , <a class="el" href="d5/d2a/pal__socket__test_8c.html#a38479981768fb5d46c11768870af9d8e">pal_socket_test.c</a>
edamame22 0:29983394c6b6 77 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a236b8351236670bd5b5a07c92d22df4b">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 78 , <a class="el" href="d5/d2a/pal__socket__test_8c.html#ab28ce473e377fbe30049cb41b31dfa4b">pal_socket_test.c</a>
edamame22 0:29983394c6b6 79 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a9286efb458d9a35e4c89e79111bc5b32">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 80 , <a class="el" href="d5/d2a/pal__socket__test_8c.html#abbfd14915bd054b23f91a485d4f8fb1e">pal_socket_test.c</a>
edamame22 0:29983394c6b6 81 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a0efc309d0e8eb82d8caf439877959e21">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 82 </li>
edamame22 0:29983394c6b6 83 <li>TEST_GROUP()
edamame22 0:29983394c6b6 84 : <a class="el" href="d5/d2a/pal__socket__test_8c.html#ad324fc284dd938317109a9fc47dd1732">pal_socket_test.c</a>
edamame22 0:29983394c6b6 85 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#ab19fea07339238925c3b105637ce92c1">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 86 </li>
edamame22 0:29983394c6b6 87 <li>TEST_GROUP_RUNNER()
edamame22 0:29983394c6b6 88 : <a class="el" href="dd/df6/pal__rtos__test__runner_8c.html#ace47ba1b1706d7b654cdf18e7008b174">pal_rtos_test_runner.c</a>
edamame22 0:29983394c6b6 89 , <a class="el" href="dc/da5/pal__socket__test__runner_8c.html#a7d7471d47d062a2bf20410044b712192">pal_socket_test_runner.c</a>
edamame22 0:29983394c6b6 90 </li>
edamame22 0:29983394c6b6 91 <li>TEST_pal_all_GROUPS_RUNNER()
edamame22 0:29983394c6b6 92 : <a class="el" href="dd/d30/pal__all__test__main__mbed_o_s_8cpp.html#adc9a94aa19f52027390d7b0256a6693c">pal_all_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 93 </li>
edamame22 0:29983394c6b6 94 <li>TEST_pal_rtos_GROUP_RUNNER()
edamame22 0:29983394c6b6 95 : <a class="el" href="dd/d30/pal__all__test__main__mbed_o_s_8cpp.html#a9e9aa39842df82b3f5086f3215cc74fc">pal_all_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 96 , <a class="el" href="df/d12/pal__rtos__test__main__mbed_o_s_8cpp.html#a9e9aa39842df82b3f5086f3215cc74fc">pal_rtos_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 97 </li>
edamame22 0:29983394c6b6 98 <li>TEST_pal_socket_GROUP_RUNNER()
edamame22 0:29983394c6b6 99 : <a class="el" href="dd/d30/pal__all__test__main__mbed_o_s_8cpp.html#a2393bacb0eb76d2dd1b0c200a8769cab">pal_all_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 100 , <a class="el" href="d9/dc0/pal__socket__test__main__mbed_o_s_8cpp.html#a2393bacb0eb76d2dd1b0c200a8769cab">pal_socket_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 101 </li>
edamame22 0:29983394c6b6 102 <li>TEST_pal_update_GROUP_RUNNER()
edamame22 0:29983394c6b6 103 : <a class="el" href="dd/d30/pal__all__test__main__mbed_o_s_8cpp.html#a59390bc31498889208cfda7dea51bffa">pal_all_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 104 </li>
edamame22 0:29983394c6b6 105 <li>TEST_SETUP()
edamame22 0:29983394c6b6 106 : <a class="el" href="d5/d2a/pal__socket__test_8c.html#a26217052dc55731aa82231669a8cf0df">pal_socket_test.c</a>
edamame22 0:29983394c6b6 107 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a8a7c6f6a71607f9dce69207f1f7ed3c1">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 108 </li>
edamame22 0:29983394c6b6 109 <li>TEST_TEAR_DOWN()
edamame22 0:29983394c6b6 110 : <a class="el" href="d5/d2a/pal__socket__test_8c.html#ac307640c84843ab78607af150bcbe143">pal_socket_test.c</a>
edamame22 0:29983394c6b6 111 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#ac5fc4009112ba6cadc74ad8cd14c427b">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 112 </li>
edamame22 0:29983394c6b6 113 </ul>
edamame22 0:29983394c6b6 114 </div><!-- contents -->
edamame22 0:29983394c6b6 115 <!-- start footer part -->
edamame22 0:29983394c6b6 116 <hr class="footer"/><address class="footer"><small>
edamame22 0:29983394c6b6 117 Generated by &#160;<a href="http://www.doxygen.org/index.html">
edamame22 0:29983394c6b6 118 <img class="footer" src="doxygen.png" alt="doxygen"/>
edamame22 0:29983394c6b6 119 </a> 1.8.11
edamame22 0:29983394c6b6 120 </small></address>
edamame22 0:29983394c6b6 121 </body>
edamame22 0:29983394c6b6 122 </html>