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 class="current"><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><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.html#index_a"><span>a</span></a></li>
edamame22 0:29983394c6b6 57 <li><a href="globals_b.html#index_b"><span>b</span></a></li>
edamame22 0:29983394c6b6 58 <li class="current"><a href="globals_c.html#index_c"><span>c</span></a></li>
edamame22 0:29983394c6b6 59 <li><a href="globals_d.html#index_d"><span>d</span></a></li>
edamame22 0:29983394c6b6 60 <li><a href="globals_g.html#index_g"><span>g</span></a></li>
edamame22 0:29983394c6b6 61 <li><a href="globals_i.html#index_i"><span>i</span></a></li>
edamame22 0:29983394c6b6 62 <li><a href="globals_l.html#index_l"><span>l</span></a></li>
edamame22 0:29983394c6b6 63 <li><a href="globals_m.html#index_m"><span>m</span></a></li>
edamame22 0:29983394c6b6 64 <li><a href="globals_n.html#index_n"><span>n</span></a></li>
edamame22 0:29983394c6b6 65 <li><a href="globals_p.html#index_p"><span>p</span></a></li>
edamame22 0:29983394c6b6 66 <li><a href="globals_s.html#index_s"><span>s</span></a></li>
edamame22 0:29983394c6b6 67 <li><a href="globals_t.html#index_t"><span>t</span></a></li>
edamame22 0:29983394c6b6 68 <li><a href="globals_u.html#index_u"><span>u</span></a></li>
edamame22 0:29983394c6b6 69 <li><a href="globals_v.html#index_v"><span>v</span></a></li>
edamame22 0:29983394c6b6 70 <li><a href="globals_x.html#index_x"><span>x</span></a></li>
edamame22 0:29983394c6b6 71 </ul>
edamame22 0:29983394c6b6 72 </div>
edamame22 0:29983394c6b6 73 </div><!-- top -->
edamame22 0:29983394c6b6 74 <div class="contents">
edamame22 0:29983394c6b6 75 <div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
edamame22 0:29983394c6b6 76
edamame22 0:29983394c6b6 77 <h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
edamame22 0:29983394c6b6 78 <li>configASSERT
edamame22 0:29983394c6b6 79 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#adeb674dafd926ad4dd27b70ecdc41163">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 80 </li>
edamame22 0:29983394c6b6 81 <li>configCHECK_FOR_STACK_OVERFLOW
edamame22 0:29983394c6b6 82 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a847511ee433494b1e32c90602c967ae7">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 83 </li>
edamame22 0:29983394c6b6 84 <li>configCPU_CLOCK_HZ
edamame22 0:29983394c6b6 85 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#aa68082df879e6fc96bcb9b26513639e7">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 86 </li>
edamame22 0:29983394c6b6 87 <li>configGENERATE_RUN_TIME_STATS
edamame22 0:29983394c6b6 88 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ad8081822f3ebc7c917b63bd7bdd7bc58">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 89 </li>
edamame22 0:29983394c6b6 90 <li>configIDLE_SHOULD_YIELD
edamame22 0:29983394c6b6 91 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ad6a5061a742fee450ac455e4ad0f4b6c">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 92 </li>
edamame22 0:29983394c6b6 93 <li>configKERNEL_INTERRUPT_PRIORITY
edamame22 0:29983394c6b6 94 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ac42cff506ad61d4174fa23e952e3225e">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 95 </li>
edamame22 0:29983394c6b6 96 <li>configLIBRARY_LOWEST_INTERRUPT_PRIORITY
edamame22 0:29983394c6b6 97 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a10da20f180ec9bd131b0052a802dbc39">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 98 </li>
edamame22 0:29983394c6b6 99 <li>configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY
edamame22 0:29983394c6b6 100 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a2254bd235d882be3061bcad0b1e8be98">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 101 </li>
edamame22 0:29983394c6b6 102 <li>configMAX_CO_ROUTINE_PRIORITIES
edamame22 0:29983394c6b6 103 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ae8f3fd645e6e78dfeb8a6e874af6195a">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 104 </li>
edamame22 0:29983394c6b6 105 <li>configMAX_PRIORITIES
edamame22 0:29983394c6b6 106 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a9a78f5ac61e6cb172dadf2a51f11db38">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 107 </li>
edamame22 0:29983394c6b6 108 <li>configMAX_SYSCALL_INTERRUPT_PRIORITY
edamame22 0:29983394c6b6 109 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a54bfc31c410ee452577a25a4552c3704">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 110 </li>
edamame22 0:29983394c6b6 111 <li>configMAX_TASK_NAME_LEN
edamame22 0:29983394c6b6 112 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ac388dc4041aab6997348828eb27fc1a8">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 113 </li>
edamame22 0:29983394c6b6 114 <li>configMINIMAL_STACK_SIZE
edamame22 0:29983394c6b6 115 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a6c534a6cf8a00528fe0be42083484f9a">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 116 </li>
edamame22 0:29983394c6b6 117 <li>configPRIO_BITS
edamame22 0:29983394c6b6 118 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a5796db11ec6f9aa38d017d2ac393c5ba">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 119 </li>
edamame22 0:29983394c6b6 120 <li>configQUEUE_REGISTRY_SIZE
edamame22 0:29983394c6b6 121 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#aa4b5138c4e42a180f0abd4f2455f90fb">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 122 </li>
edamame22 0:29983394c6b6 123 <li>configTICK_RATE_HZ
edamame22 0:29983394c6b6 124 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a2f0258dd1e3b877e5bc013be54c2db6a">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 125 </li>
edamame22 0:29983394c6b6 126 <li>configTIMER_QUEUE_LENGTH
edamame22 0:29983394c6b6 127 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#abb9aa0f31c1f3b14a15083a3c6120918">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 128 </li>
edamame22 0:29983394c6b6 129 <li>configTIMER_TASK_PRIORITY
edamame22 0:29983394c6b6 130 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a05c75ff9029ba3f0ab5bde9196f1e873">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 131 </li>
edamame22 0:29983394c6b6 132 <li>configTIMER_TASK_STACK_DEPTH
edamame22 0:29983394c6b6 133 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#aed7c7ebcdee603583a55e8ce04e55841">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 134 </li>
edamame22 0:29983394c6b6 135 <li>configTOTAL_HEAP_SIZE
edamame22 0:29983394c6b6 136 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a9f213227674effff0122a75d94d87938">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 137 </li>
edamame22 0:29983394c6b6 138 <li>configUSE_16_BIT_TICKS
edamame22 0:29983394c6b6 139 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#aac311ed9b9e5ae4d2d9648b33a24acce">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 140 </li>
edamame22 0:29983394c6b6 141 <li>configUSE_APPLICATION_TASK_TAG
edamame22 0:29983394c6b6 142 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a2eb2a0baf886a7adab15b5735029434b">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 143 </li>
edamame22 0:29983394c6b6 144 <li>configUSE_CO_ROUTINES
edamame22 0:29983394c6b6 145 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a57990715eb06402474b8b47e1d562616">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 146 </li>
edamame22 0:29983394c6b6 147 <li>configUSE_COUNTING_SEMAPHORES
edamame22 0:29983394c6b6 148 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a55778995203c57369d2fbfb10224943d">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 149 </li>
edamame22 0:29983394c6b6 150 <li>configUSE_IDLE_HOOK
edamame22 0:29983394c6b6 151 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ac637ae45863c19fa2e919db0ed49301f">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 152 </li>
edamame22 0:29983394c6b6 153 <li>configUSE_MALLOC_FAILED_HOOK
edamame22 0:29983394c6b6 154 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#abdf48e7c9cf513f083aa9cbed0dd7cd7">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 155 </li>
edamame22 0:29983394c6b6 156 <li>configUSE_MUTEXES
edamame22 0:29983394c6b6 157 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a543bf3c79008974cc1d36bab51d94fbf">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 158 </li>
edamame22 0:29983394c6b6 159 <li>configUSE_PREEMPTION
edamame22 0:29983394c6b6 160 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#adde83486022745409c40605922b0bdd6">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 161 </li>
edamame22 0:29983394c6b6 162 <li>configUSE_RECURSIVE_MUTEXES
edamame22 0:29983394c6b6 163 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a9fe02d866cb1c4fbaa0c3de79f53d42d">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 164 </li>
edamame22 0:29983394c6b6 165 <li>configUSE_TICK_HOOK
edamame22 0:29983394c6b6 166 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a23c5922c077106fad3f70b54d9071466">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 167 </li>
edamame22 0:29983394c6b6 168 <li>configUSE_TIME_SLICING
edamame22 0:29983394c6b6 169 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a493c5763eb7a39bd80779a1c58de0d82">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 170 </li>
edamame22 0:29983394c6b6 171 <li>configUSE_TIMERS
edamame22 0:29983394c6b6 172 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#ac342ae309b0c53828d2ecad3e6de355b">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 173 </li>
edamame22 0:29983394c6b6 174 <li>configUSE_TRACE_FACILITY
edamame22 0:29983394c6b6 175 : <a class="el" href="de/d33/_free_r_t_o_s_config_8h.html#a27f5ee137dc9f125681a31f0b0a4b3be">FreeRTOSConfig.h</a>
edamame22 0:29983394c6b6 176 </li>
edamame22 0:29983394c6b6 177 </ul>
edamame22 0:29983394c6b6 178 </div><!-- contents -->
edamame22 0:29983394c6b6 179 <!-- start footer part -->
edamame22 0:29983394c6b6 180 <hr class="footer"/><address class="footer"><small>
edamame22 0:29983394c6b6 181 Generated by &#160;<a href="http://www.doxygen.org/index.html">
edamame22 0:29983394c6b6 182 <img class="footer" src="doxygen.png" alt="doxygen"/>
edamame22 0:29983394c6b6 183 </a> 1.8.11
edamame22 0:29983394c6b6 184 </small></address>
edamame22 0:29983394c6b6 185 </body>
edamame22 0:29983394c6b6 186 </html>