Commit graph

86 commits

Author SHA1 Message Date
Rohit Grover
75beb80315 switch to a yotta layout 2015-06-19 13:37:31 +01:00
Rohit Grover
9183583ffa disconnect() should take a connection handle. 2015-06-19 10:21:08 +01:00
Rohit Grover
d90f07cc77 white space diff. 2015-06-19 10:11:18 +01:00
Rohit Grover
3bf2c95c59 Gap.h: provide default implementations for virtual functions and fix up comments. 2015-06-19 09:29:33 +01:00
Rohit Grover
ebd6bbceb5 introduce SecurityManager 2015-06-19 08:14:12 +01:00
Rohit Grover
db2de9114e handle Gap::onRadioNotification() 2015-06-18 20:41:43 +01:00
Rohit Grover
183665a01b setup Gap::onDisconnection 2015-06-18 20:19:30 +01:00
Rohit Grover
692fe6d445 setup Gap::onConnection() 2015-06-18 19:18:56 +01:00
Rohit Grover
42d440b3ce minor cosmetic move of APIs within Gap.h 2015-06-18 19:06:30 +01:00
Rohit Grover
61eae6c03a fix Gap::onTimeout().
Introduce Gap::TimeoutSource_t. Update TimeoutEventCallback_t
2015-06-18 19:04:16 +01:00
Rohit Grover
68683f1c43 deprecate all GAP APIs from within BLE;
add consistent comment headers.
2015-06-18 14:20:43 +01:00
Rohit Grover
0e9fdf09a7 copy over GAP APIs from BLE into GAP 2015-06-17 11:09:28 +01:00
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