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: Data Fields - Variables</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 class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
edamame22 0:29983394c6b6 34 <li><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="annotated.html"><span>Data&#160;Structures</span></a></li>
edamame22 0:29983394c6b6 40 <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
edamame22 0:29983394c6b6 41 <li class="current"><a href="functions.html"><span>Data&#160;Fields</span></a></li>
edamame22 0:29983394c6b6 42 </ul>
edamame22 0:29983394c6b6 43 </div>
edamame22 0:29983394c6b6 44 <div id="navrow3" class="tabs2">
edamame22 0:29983394c6b6 45 <ul class="tablist">
edamame22 0:29983394c6b6 46 <li><a href="functions.html"><span>All</span></a></li>
edamame22 0:29983394c6b6 47 <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
edamame22 0:29983394c6b6 48 </ul>
edamame22 0:29983394c6b6 49 </div>
edamame22 0:29983394c6b6 50 </div><!-- top -->
edamame22 0:29983394c6b6 51 <div class="contents">
edamame22 0:29983394c6b6 52 &#160;<ul>
edamame22 0:29983394c6b6 53 <li>address
edamame22 0:29983394c6b6 54 : <a class="el" href="d9/d16/structpal_net_interface_info.html#affc930af87e8696f63b30b911cf8b03d">palNetInterfaceInfo</a>
edamame22 0:29983394c6b6 55 </li>
edamame22 0:29983394c6b6 56 <li>addressData
edamame22 0:29983394c6b6 57 : <a class="el" href="db/d42/structpal_socket_address.html#a0a5471b518ef60cfa0f28c47a323ec4c">palSocketAddress</a>
edamame22 0:29983394c6b6 58 </li>
edamame22 0:29983394c6b6 59 <li>addressSize
edamame22 0:29983394c6b6 60 : <a class="el" href="d9/d16/structpal_net_interface_info.html#a9b816dd947f25d303e32fca36d04080e">palNetInterfaceInfo</a>
edamame22 0:29983394c6b6 61 </li>
edamame22 0:29983394c6b6 62 <li>addressType
edamame22 0:29983394c6b6 63 : <a class="el" href="db/d42/structpal_socket_address.html#a8bdecffc9afacbdf84fc78d26090c221">palSocketAddress</a>
edamame22 0:29983394c6b6 64 </li>
edamame22 0:29983394c6b6 65 <li>arg1
edamame22 0:29983394c6b6 66 : <a class="el" href="d3/d30/structthreads_argument.html#a9532cb931dee4c326444e7c366019639">threadsArgument</a>
edamame22 0:29983394c6b6 67 </li>
edamame22 0:29983394c6b6 68 <li>arg2
edamame22 0:29983394c6b6 69 : <a class="el" href="d3/d30/structthreads_argument.html#acecc240150225e2786524a2e4b3adf78">threadsArgument</a>
edamame22 0:29983394c6b6 70 </li>
edamame22 0:29983394c6b6 71 <li>arg3
edamame22 0:29983394c6b6 72 : <a class="el" href="d3/d30/structthreads_argument.html#abcba9882b15e3845a7794220a5c9e4f4">threadsArgument</a>
edamame22 0:29983394c6b6 73 </li>
edamame22 0:29983394c6b6 74 <li>arg4
edamame22 0:29983394c6b6 75 : <a class="el" href="d3/d30/structthreads_argument.html#a6fad7cea38d81eb88f9ff01d4baec32a">threadsArgument</a>
edamame22 0:29983394c6b6 76 </li>
edamame22 0:29983394c6b6 77 <li>arg5
edamame22 0:29983394c6b6 78 : <a class="el" href="d3/d30/structthreads_argument.html#a2720a7d49d96277778f83a2488859fe9">threadsArgument</a>
edamame22 0:29983394c6b6 79 </li>
edamame22 0:29983394c6b6 80 <li>arg6
edamame22 0:29983394c6b6 81 : <a class="el" href="d3/d30/structthreads_argument.html#a460c4a55dba6130f386f648138184074">threadsArgument</a>
edamame22 0:29983394c6b6 82 </li>
edamame22 0:29983394c6b6 83 <li>arg7
edamame22 0:29983394c6b6 84 : <a class="el" href="d3/d30/structthreads_argument.html#a200c590896768ffb09f8d90c774f6b74">threadsArgument</a>
edamame22 0:29983394c6b6 85 </li>
edamame22 0:29983394c6b6 86 <li>buffer
edamame22 0:29983394c6b6 87 : <a class="el" href="d8/d19/struct__pal_buffer__t.html#a80fff022df87cf0d4817ae19eb8257bb">_palBuffer_t</a>
edamame22 0:29983394c6b6 88 , <a class="el" href="d2/dab/struct__pal_const_buffer__t.html#a3660dfb9336b8d57a3c2223de14646d3">_palConstBuffer_t</a>
edamame22 0:29983394c6b6 89 </li>
edamame22 0:29983394c6b6 90 <li>bufferLength
edamame22 0:29983394c6b6 91 : <a class="el" href="d8/d19/struct__pal_buffer__t.html#a7f87cfadd565637bee1de625d19f3d3a">_palBuffer_t</a>
edamame22 0:29983394c6b6 92 , <a class="el" href="d2/dab/struct__pal_const_buffer__t.html#a8d4966dc771ad87628b4bd01ae4ea801">_palConstBuffer_t</a>
edamame22 0:29983394c6b6 93 </li>
edamame22 0:29983394c6b6 94 <li>interfaceName
edamame22 0:29983394c6b6 95 : <a class="el" href="d9/d16/structpal_net_interface_info.html#ad028021cafddc5355dfccfac1345f4f6">palNetInterfaceInfo</a>
edamame22 0:29983394c6b6 96 </li>
edamame22 0:29983394c6b6 97 <li>maxBufferLength
edamame22 0:29983394c6b6 98 : <a class="el" href="d8/d19/struct__pal_buffer__t.html#a27cc969a96cc37cb772a3fd76dd860cd">_palBuffer_t</a>
edamame22 0:29983394c6b6 99 , <a class="el" href="d2/dab/struct__pal_const_buffer__t.html#ad411a35599e0f8500f29e5bd2cb66cc7">_palConstBuffer_t</a>
edamame22 0:29983394c6b6 100 </li>
edamame22 0:29983394c6b6 101 <li>pal_tv_sec
edamame22 0:29983394c6b6 102 : <a class="el" href="de/dfc/structpal__time_val.html#a8c0bfa9026d4b23b598f0652aa975fcf">pal_timeVal</a>
edamame22 0:29983394c6b6 103 </li>
edamame22 0:29983394c6b6 104 <li>pal_tv_usec
edamame22 0:29983394c6b6 105 : <a class="el" href="de/dfc/structpal__time_val.html#acf8b8c0480064a16325f94f155db4e1c">pal_timeVal</a>
edamame22 0:29983394c6b6 106 </li>
edamame22 0:29983394c6b6 107 <li>storeData
edamame22 0:29983394c6b6 108 : <a class="el" href="df/d48/structpal__thread_local_store.html#abe68dca8335fc1c9e6da5359117625bc">pal_threadLocalStore</a>
edamame22 0:29983394c6b6 109 </li>
edamame22 0:29983394c6b6 110 <li>ticksBeforeTimer
edamame22 0:29983394c6b6 111 : <a class="el" href="dc/d2c/structtimer_argument.html#a18bf51a6db87346257b34c24fefbd1b1">timerArgument</a>
edamame22 0:29983394c6b6 112 </li>
edamame22 0:29983394c6b6 113 <li>ticksInFunc1
edamame22 0:29983394c6b6 114 : <a class="el" href="dc/d2c/structtimer_argument.html#afe9607363a4b6ae7b835ef129743ec08">timerArgument</a>
edamame22 0:29983394c6b6 115 </li>
edamame22 0:29983394c6b6 116 <li>ticksInFunc2
edamame22 0:29983394c6b6 117 : <a class="el" href="dc/d2c/structtimer_argument.html#af9f23b828a589dfac13cad4cb6e7da34">timerArgument</a>
edamame22 0:29983394c6b6 118 </li>
edamame22 0:29983394c6b6 119 </ul>
edamame22 0:29983394c6b6 120 </div><!-- contents -->
edamame22 0:29983394c6b6 121 <!-- start footer part -->
edamame22 0:29983394c6b6 122 <hr class="footer"/><address class="footer"><small>
edamame22 0:29983394c6b6 123 Generated by &#160;<a href="http://www.doxygen.org/index.html">
edamame22 0:29983394c6b6 124 <img class="footer" src="doxygen.png" alt="doxygen"/>
edamame22 0:29983394c6b6 125 </a> 1.8.11
edamame22 0:29983394c6b6 126 </small></address>
edamame22 0:29983394c6b6 127 </body>
edamame22 0:29983394c6b6 128 </html>