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><a href="globals_func.html"><span>Functions</span></a></li>
edamame22 0:29983394c6b6 47 <li class="current"><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><!-- top -->
edamame22 0:29983394c6b6 55 <div class="contents">
edamame22 0:29983394c6b6 56 &#160;<ul>
edamame22 0:29983394c6b6 57 <li>button_pressed
edamame22 0:29983394c6b6 58 : <a class="el" href="df/d12/pal__rtos__test__main__mbed_o_s_8cpp.html#ae8697e1a75bad4a53dd6d6ec81e486cb">pal_rtos_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 59 , <a class="el" href="d9/dc0/pal__socket__test__main__mbed_o_s_8cpp.html#ae8697e1a75bad4a53dd6d6ec81e486cb">pal_socket_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 60 </li>
edamame22 0:29983394c6b6 61 <li>g_networkInterface
edamame22 0:29983394c6b6 62 : <a class="el" href="d5/d2a/pal__socket__test_8c.html#a702871d3d9057fa4fc99031298fb425c">pal_socket_test.c</a>
edamame22 0:29983394c6b6 63 </li>
edamame22 0:29983394c6b6 64 <li>g_threadsArg
edamame22 0:29983394c6b6 65 : <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#a8f9b1f133f82ce955405d453f0c506d6">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 66 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a8f9b1f133f82ce955405d453f0c506d6">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 67 </li>
edamame22 0:29983394c6b6 68 <li>g_threadStorage
edamame22 0:29983394c6b6 69 : <a class="el" href="da/d2d/pal__rtos__test_8c.html#a9beaf51023e475986b8b182c80ccc023">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 70 , <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#a9beaf51023e475986b8b182c80ccc023">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 71 </li>
edamame22 0:29983394c6b6 72 <li>g_timerArgs
edamame22 0:29983394c6b6 73 : <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#a1a09db2f0cd5dd2d0929b34afad51ba1">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 74 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a1a09db2f0cd5dd2d0929b34afad51ba1">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 75 </li>
edamame22 0:29983394c6b6 76 <li>mutex1
edamame22 0:29983394c6b6 77 : <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#adb164ebbfd2189f434f5e550e2d93bb4">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 78 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#adb164ebbfd2189f434f5e550e2d93bb4">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 79 </li>
edamame22 0:29983394c6b6 80 <li>mutex2
edamame22 0:29983394c6b6 81 : <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#a8706c6b975e957968f23af2812bbc0cb">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 82 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a8706c6b975e957968f23af2812bbc0cb">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 83 </li>
edamame22 0:29983394c6b6 84 <li>s_palSelectPalCallbackFunctions
edamame22 0:29983394c6b6 85 : <a class="el" href="d3/dfb/pal__plat__network_8cpp.html#a4f6fdfaea202b7b50e57e7253705d96e">pal_plat_network.cpp</a>
edamame22 0:29983394c6b6 86 </li>
edamame22 0:29983394c6b6 87 <li>s_select_event_happened
edamame22 0:29983394c6b6 88 : <a class="el" href="d3/dfb/pal__plat__network_8cpp.html#a77af6aede7e9f4d41f8c87ebc381b517">pal_plat_network.cpp</a>
edamame22 0:29983394c6b6 89 </li>
edamame22 0:29983394c6b6 90 <li>semaphore1
edamame22 0:29983394c6b6 91 : <a class="el" href="d9/d28/pal__rtos__test__utils_8h.html#a2f8d675e43058c8f8b853b52366abf38">pal_rtos_test_utils.h</a>
edamame22 0:29983394c6b6 92 , <a class="el" href="da/d2d/pal__rtos__test_8c.html#a2f8d675e43058c8f8b853b52366abf38">pal_rtos_test.c</a>
edamame22 0:29983394c6b6 93 </li>
edamame22 0:29983394c6b6 94 <li>thread2
edamame22 0:29983394c6b6 95 : <a class="el" href="df/d12/pal__rtos__test__main__mbed_o_s_8cpp.html#a7d37e93ff0246ad7bf396650eaf84487">pal_rtos_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 96 , <a class="el" href="d9/dc0/pal__socket__test__main__mbed_o_s_8cpp.html#a7d37e93ff0246ad7bf396650eaf84487">pal_socket_test_main_mbedOS.cpp</a>
edamame22 0:29983394c6b6 97 </li>
edamame22 0:29983394c6b6 98 <li>threadsArg
edamame22 0:29983394c6b6 99 : <a class="el" href="d1/dee/pal__rtos__test__utils_8c.html#aecb21b545f5a0c542dc82a8ef0b89b3f">pal_rtos_test_utils.c</a>
edamame22 0:29983394c6b6 100 </li>
edamame22 0:29983394c6b6 101 <li>timerArgs
edamame22 0:29983394c6b6 102 : <a class="el" href="d1/dee/pal__rtos__test__utils_8c.html#ad4897778c444c8e8fbcb65c84901ac78">pal_rtos_test_utils.c</a>
edamame22 0:29983394c6b6 103 </li>
edamame22 0:29983394c6b6 104 </ul>
edamame22 0:29983394c6b6 105 </div><!-- contents -->
edamame22 0:29983394c6b6 106 <!-- start footer part -->
edamame22 0:29983394c6b6 107 <hr class="footer"/><address class="footer"><small>
edamame22 0:29983394c6b6 108 Generated by &#160;<a href="http://www.doxygen.org/index.html">
edamame22 0:29983394c6b6 109 <img class="footer" src="doxygen.png" alt="doxygen"/>
edamame22 0:29983394c6b6 110 </a> 1.8.11
edamame22 0:29983394c6b6 111 </small></address>
edamame22 0:29983394c6b6 112 </body>
edamame22 0:29983394c6b6 113 </html>