Commit graph

257 commits

Author SHA1 Message Date
Rohit Grover
a7e64ea461 make members of UUID private; add accessors() 2014-05-29 08:57:57 +01:00
Rohit Grover
95af932316 remove comment about TODO for 128bit characteristic uuids 2014-05-29 08:28:02 +01:00
Rohit Grover
97e78fc44a constructor for GattService should take a constant 2014-05-29 08:17:36 +01:00
Rohit Grover
76ac2a5291 remove need for UUID::update() 2014-05-29 08:16:31 +01:00
Rohit Grover
e1ae67ab8c GattCharacteristic now uses UUID instead of uint16_t 2014-05-28 17:24:30 +01:00
Rohit Grover
73e104a011 use initializer list in the constructor for GattCharacteristic 2014-05-28 16:52:09 +01:00
Rohit Grover
efee45e600 define LENGTH_OF_LONG_UUID as a constant 2014-05-28 15:25:55 +01:00
Rohit Grover
f7e4300039 simplify the api for accumulating advertising payload 2014-05-23 17:45:16 +01:00
Rohit Grover
b347ecd31f mark BLEDevice::setAdvertisingData() as deprecated 2014-05-23 17:28:44 +01:00
Rohit Grover
05a4e99f5d adding const to the "data" member of GapAdvertisingData::addData() 2014-05-23 17:05:53 +01:00
Rohit Grover
ac72488c70 simplification of the API used to setup GAP advertising 2014-05-23 15:21:47 +01:00
Rohit Grover
6b06ea38c1 minor improvement to the API 2014-05-23 15:21:16 +01:00
Rohit Grover
bed1843e86 fix a documentation error regarding advertising interval 2014-05-23 14:52:12 +01:00
Rohit Grover
440699c764 white space cleanup 2014-05-23 13:12:52 +01:00
Rohit Grover
c1a43c52ad add const to parameter accepted by startAdvertising() 2014-05-23 11:08:43 +01:00
Rohit Grover
4480ea28e7 Use composition to hide the transport functionality behind an interface object.
The underlying target BLE library must implement the function which creates this object.
2014-05-23 08:56:31 +01:00
Rohit Grover
c4e1f43b1a adding use of consts for GAP related apis 2014-05-22 15:02:40 +01:00
Rohit Grover
abfb51ae4b white space diffs 2014-05-22 14:51:06 +01:00
Rohit Grover
3541e6ff6f add consts to the declaration of BLEDevice::setAddress() 2014-05-22 13:30:05 +01:00
Rohit Grover
789bd6f6c0 add a trivial comment header block for setAddress 2014-05-22 13:25:24 +01:00
Rohit Grover
417f2f58c2 move the inline definitions for GAP API out of the BLEDevice class 2014-05-22 13:25:02 +01:00
Rohit Grover
8380959a31 enhancing the interface for BLEDevice to absorb GAP API.
This will allow applications to avoid having to call getGAP() or
similar before operating on underlying services.
2014-05-22 12:11:12 +01:00
Rohit Grover
a9cf898a4b white space diffs; generated using uncrustify 2014-05-21 15:01:14 +01:00
mbed_official
887047c58f Synchronized with git revision 348e2de6c8b2badc1fd1fe7ae044c24c25244a11
Full URL: 348e2de6c8/
2014-04-03 01:45:33 +01:00
Bogdan Marinescu
b8ea6143f0 Removed dependency on mbed library 2014-04-01 11:33:50 +01:00
bogdanm
f1655e0b62 Synchronized with git revision fdcc1e387426ce216bc17175b73bcd5f4aececff 2014-04-01 11:04:56 +01:00
ktownsend
496a607f88 Added Gap and GattServer event definitions 2014-01-17 14:25:29 +00:00
ktownsend
88fc64ded8 Added better radio abstraction layer, moved Gatt enums from blecommon.h to GattCharacteristic.h 2014-01-16 22:29:53 +00:00
sam_grove
552de461fb Updated constructor to take parameters 2014-01-09 16:41:15 +00:00
ktownsend
d16bc537fd Matching file names and apache headers 2014-01-09 11:03:10 +00:00
ktownsend
a730083f82 Removed main.cpp to enable as library 2014-01-09 10:44:47 +00:00
ktownsend
07e679bea3 Minor cleanup (better comments, etc.) 2014-01-08 18:49:39 +00:00
ktownsend
b9cf8e2cee Code cleanup 2014-01-08 11:13:14 +00:00
ktownsend
cbb13c0aa7 Added GattService example 2014-01-07 19:58:06 +00:00
ktownsend
29f5fb900b More doxygen cleanup 2014-01-07 10:54:02 +00:00
ktownsend
9371e48c3f Improved some doxygen comment 2014-01-07 10:50:31 +00:00
ktownsend
7749e93bb4 Switched to main mbed library 2013-12-19 14:02:49 +00:00
ktownsend
d30933c63f A few more doxygen improvements 2013-12-18 20:11:45 +00:00
ktownsend
539ea63227 Doxygen Cleanup 2013-12-18 19:39:19 +00:00
ktownsend
90a10fba36 Switched to RawSerial 2013-12-18 19:15:07 +00:00
ktownsend
64d6fc5de0 Cleaned up example code (iBeacon only) 2013-12-18 18:02:45 +00:00
ktownsend
87ea616662 Cleanup for GAP publication (iBeacon working) 2013-12-18 12:07:38 +00:00
ktownsend
66da5fce1b Fixed advertising interval checks 2013-12-18 11:52:37 +00:00
ktownsend
80f18dad9e Better debugging output 2013-12-18 06:22:35 +00:00
ktownsend
a9a8fcf7fb Fixed some simple logic errors 2013-12-18 04:55:56 +00:00
ktownsend
a7eae6e568 Added debug info to nrf51822.cpp 2013-12-17 17:28:41 +00:00
ktownsend
7922665401 Further advertising tests 2013-12-16 20:00:05 +00:00
ktownsend
396a2dd9ef Preview code enabling most advertising features (requires new nRF51 firmware) 2013-12-16 19:43:33 +00:00
ktownsend
04c3b07d19 Fixed AdvertisingType enum values 2013-12-16 18:16:01 +00:00
ktownsend
92b46b339a More GAP cleanup (Scan Response, etc.) 2013-12-16 12:46:12 +00:00