Commit graph

74 commits

Author SHA1 Message Date
Rohit Grover
3832347ea8 rename accessors within Gap 2015-06-17 09:58:40 +01:00
Rohit Grover
f3de00348d rename members within GAP with an underscore prefix 2015-06-17 09:55:33 +01:00
Rohit Grover
e74eb3b4f2 moved GAP related members out of BLE and into GAP 2015-06-17 09:51:37 +01:00
Rohit Grover
532535b1ec Merge branch 'gattClient' into develop 2015-06-16 11:17:54 +01:00
Rohit Grover
bfc5480375 fixes #43. Added a few items to DisconnectionReason_t 2015-06-13 00:31:21 +01:00
Rohit Grover
8ebf721ef2 move setTxPower() and getPermittedTxPowerValues() into Gap.h 2015-06-12 17:48:48 +01:00
Rohit Grover
ab66c925bc Gap APIs should be mostly public. 2015-06-12 17:34:52 +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
4eb839361c introduce Gap::Role_t 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
6a88d2af37 use Gap::ConnectionParams_t in connect() 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
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
f89fcb3ec2 remove extraneous declaration of AdvertisementReportCallback_t 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
8d3e092916 add a missing include for GapScanningParams.h 2015-06-05 08:04:18 +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
bee91cabe5 enable <object,callbackMember> context for startScan. 2015-05-18 09:10:22 +01:00
Rohit Grover
aebfbce3f5 redefine AdvertisementReportCallback_t in terms of AdvertisementCallbackParams_t.
This allows us to make use of FunctionPointerWithContext.
2015-05-18 07:41:24 +01:00
Rohit Grover
9263436522 replace instances of Gap::address_t with Gap::Address_t 2015-05-18 07:39:31 +01:00
Rohit Grover
ca9f8a9c12 add some comments to highlight deprecated type aliases. 2015-05-12 09:16:38 +01:00
Rohit Grover
0a59dd0c84 remove extraneous declaration of AdvertisementType_t 2015-05-12 09:16:38 +01:00
Rohit Grover
deac909a33 rename Gap::GAP_DURATION_UNITS_TO_MS to Gap::ADVERTISEMENT_DURATION_UNITS_TO_MS 2015-05-12 09:16:38 +01:00
Rohit Grover
ca3ed00d36 fix value of UNIT_0_625_MS 2015-05-12 09:16:38 +01:00
Rohit Grover
002ebbe3a8 replace inclusion of GapScanningParams with a forward declaration. 2015-05-12 09:16:38 +01:00
Rohit Grover
abf3316803 shorten *scanning* to *scan* in APIs 2015-05-12 09:16:38 +01:00
Rohit Grover
a655f86025 add AdvertisementType_t 2015-05-12 09:16:38 +01:00
Rohit Grover
c7717aa41d add API for stopScanning() 2015-05-12 09:16:38 +01:00
Rohit Grover
c2e9d87163 add API for startScanning() 2015-05-12 09:16:38 +01:00
Rohit Grover
b8b185160b add Gap::onAdvertisementReport and processAdvertisementReport() 2015-05-12 09:16:38 +01:00
Rohit Grover
aabb9c1837 update declaration for AdvertisementReportCallback_t 2015-05-12 09:16:38 +01:00
Rohit Grover
06529208f5 add AdvertisementType_t 2015-05-12 09:16:38 +01:00
Rohit Grover
6a9409fde9 white space diff. 2015-05-12 09:16:38 +01:00
Rohit Grover
ef97790264 simplifying declarations for some enumerations within Gap. 2015-05-11 14:45:31 +01:00
Rohit Grover
94f50a0316 minor simplification of some comments. 2015-05-11 07:54:30 +01:00
Rohit Grover
d1bd1a612c add support for passkey display. 2015-05-08 13:54:06 +01:00
Rohit Grover
2d801b4f46 fix a couple of typos. 2015-05-08 13:49:13 +01:00
Rohit Grover
968ac2aa6f some more renaming around securitySetup 2015-05-08 12:13:25 +01:00
Rohit Grover
689848a5dd minor renames around securitySetup 2015-05-08 11:55:56 +01:00
Rohit Grover
9cdae9625b add LinkSecuredCallback_t 2015-05-08 11:39:19 +01:00
Rohit Grover
6580e463c0 remove constants from the enumeration of SecurityMode_t 2015-05-08 11:38:37 +01:00
Rohit Grover
8eba398fd8 move SecurityMode_t within Gap 2015-05-08 11:12:23 +01:00
Rohit Grover
624b7a6c3a handle securityProcedureCompleted 2015-05-08 11:00:17 +01:00
Rohit Grover
d07eac2383 add SecurityProcedureInitiatedCallback_t 2015-05-08 10:29:58 +01:00