Commit graph

617 commits

Author SHA1 Message Date
Rohit Grover
3c76cf7ed4 switch DiscoveredService::getShortUUID() to getUUID() 2015-06-05 08:04:18 +01:00
Rohit Grover
97d170308d Provide alternate setup() methods for DiscoveredService. This helps setup longUUID. 2015-06-05 08:04:18 +01:00
Rohit Grover
f4773ae12f add UUID::setupLong() 2015-06-05 08:04:18 +01:00
Rohit Grover
6208ed9a35 white space diffs. 2015-06-05 08:04:18 +01:00
Rohit Grover
273ed9e69f add a comment to UUID constructor to explain MSB byte ordering. 2015-06-05 08:04:18 +01:00
Rohit Grover
dc406f5b23 white space diffs. 2015-06-05 08:04:18 +01:00
Rohit Grover
3ff7472d48 switch to UUID within DiscoveredCharacteristic 2015-06-05 08:04:18 +01:00
Rohit Grover
ec704356ac switch to using UUID within DiscoveredService 2015-06-05 08:04:18 +01:00
Rohit Grover
081ceb5c01 Move certain UUID related declarations within the UUID namespace. 2015-06-05 08:04:18 +01:00
Rohit Grover
1ca94c9479 enhance ServiceDiscovery with isActive() and onTermination() 2015-06-05 08:04:18 +01:00
Rohit Grover
09063c3668 ServiceDiscovery::Launch() should take in const references for UUID. 2015-06-05 08:04:18 +01:00
Rohit Grover
bd866737e6 merge versions of ServiceDiscovery::launch() into a single API. 2015-06-05 08:04:18 +01:00
Rohit Grover
4c1feadcc5 white space diffs. 2015-06-05 08:04:18 +01:00
Rohit Grover
2963968e00 Add Gap::ConnectionCallbackParams_t (with a new member to define role as central or peripheral). 2015-06-05 08:04:18 +01:00
Rohit Grover
93033eca69 rehome a declaration 2015-06-05 08:04:18 +01:00
Rohit Grover
e49d800d20 white space diff. 2015-06-05 08:04:18 +01:00
Rohit Grover
e9cc4d6ed5 replaced more deprecated uses of Gap::address_t 2015-06-05 08:04:18 +01:00
Rohit Grover
4eb839361c introduce Gap::Role_t 2015-06-05 08:04:18 +01:00
Rohit Grover
2909d1a5a1 white space diffs. 2015-06-05 08:04:18 +01:00
Rohit Grover
639e3c681d add a comment header for BLEDevice::connect() 2015-06-05 08:04:18 +01:00
Rohit Grover
6da31dcedd consolidated the connect APIs into a single API. Takes pointers instead of references. 2015-06-05 08:04:18 +01:00
Rohit Grover
cc30c92fa5 pass in some useful connection paramters from connect() 2015-06-05 08:04:18 +01:00
Rohit Grover
6a88d2af37 use Gap::ConnectionParams_t in connect() 2015-06-05 08:04:18 +01:00
Rohit Grover
611f05f577 minor: adding a public accessor. 2015-06-05 08:04:18 +01:00
Rohit Grover
25bef2bd6e add ScanParams to connect() 2015-06-05 08:04:18 +01:00
Rohit Grover
b899ac13e9 introduce API for BLEDevice::connect(peerAddr, peerAddrType) 2015-06-05 08:04:18 +01:00
Rohit Grover
f3040fa0a6 turn DiscoveredCharacteristic() into a class. 2015-06-05 08:04:18 +01:00
Rohit Grover
21c86533f9 turn DiscoveredService into a class. 2015-06-05 08:04:18 +01:00
Rohit Grover
b2c77f0351 should use GattAttribute::Handle_t 2015-06-05 08:04:18 +01:00
Rohit Grover
6e45d2ae71 add GattAttribute::INVALID_HANDLE 2015-06-05 08:04:18 +01:00
Rohit Grover
56d3b330e1 white space diffs. 2015-06-05 08:04:18 +01:00
Rohit Grover
5f5a312d40 use forward declarations in Gap.h 2015-06-05 08:04:18 +01:00
Rohit Grover
9dc93936fd add some includes for types used in BLEDevice 2015-06-05 08:04:18 +01:00
Rohit Grover
564c53db53 get rid of some stuff from a bad rebase 2015-06-05 08:04:18 +01:00
Rohit Grover
f89fcb3ec2 remove extraneous declaration of AdvertisementReportCallback_t 2015-06-05 08:04:18 +01:00
Rohit Grover
c2b53a6f8a add ServiceDiscovery.h 2015-06-05 08:04:18 +01:00
Rohit Grover
e6c44ac779 add copy and default constructors for UUID. 2015-06-05 08:04:18 +01:00
Rohit Grover
9f9e3b872d fill in APIs around setScanningParams 2015-06-05 08:04:18 +01:00
Rohit Grover
c607797150 update declaration for AdvertisementReportCallback_t 2015-06-05 08:04:18 +01:00
Rohit Grover
6a5663babb add AdvertisementType_t 2015-06-05 08:04:18 +01:00
Rohit Grover
8980b6d7d2 add API for stopScanning() 2015-06-05 08:04:18 +01:00
Rohit Grover
17a74c04d7 add API for startScanning() 2015-06-05 08:04:18 +01:00
Rohit Grover
8d3e092916 add a missing include for GapScanningParams.h 2015-06-05 08:04:18 +01:00
Rohit Grover
0ff09c61c3 remove un-necessary checks for SCAN_TIMEOUT_MAX 2015-06-05 08:03:48 +01:00
Rohit Grover
73a6be23d8 move the static declarations for char UUIDs out of URIBeaconConfigService.h into .cpp. 2015-06-04 09:24:09 +01:00
Rohit Grover
d9283d5868 white space diffs. 2015-06-03 09:01:51 +01:00
Rohit Grover
6a7c543d86 simplify declaration of GapState_t 2015-05-21 11:24:15 +01:00
Rohit Grover
37fce3e7b7 repalced uses of Gap::addr_type_t with Gap::AddressType_t 2015-05-19 13:28:10 +01:00
Rohit Grover
92fca3c11a add a comment header block to explain why BLEDevice::init() may not be safe to call from global static context. 2015-05-19 09:52:02 +01:00
Rohit Grover
01ffebdc80 Merge Marcus's work on accessors to advertising payload and params. 2015-05-19 09:51:03 +01:00