Commit Graph

19 Commits

Author SHA1 Message Date
Rohit Grover ec545b79dc cosmetic changes. 2015-10-30 08:34:17 +00:00
Marcus Chang dd032631d7 Changed onConnection and onDisconnection to accept object/methods and merged them with the addTo-callchain. All calls to onConnection and onDisconnection will now be added to a call chain. 2015-09-17 11:38:14 +01:00
Rohit Grover 3f2f94ec1b update comment header for Gap::updateConnectionParams() 2015-09-01 12:52:31 +01:00
Marcus Chang 6f960cbecd Gap.h - Added onConnection callback chain simarly to the currently present onDisconnection callback chain. 2015-08-30 18:00:19 +01:00
Joshua Slater caadd8c62c added getIntervalInAdvUnits 2015-08-10 14:27:52 +01:00
Rohit Grover eb97fcf064 minor change to avoid a compiler warning about un-used variable. 2015-08-07 15:27:34 +01:00
Rohit Grover 45813579a5 fix #60: if scanning parameters are changed while scanning is active, their new values are propagated to the underlying stack rightaway. 2015-08-07 10:14:37 +01:00
Joshua Slater e65471d680 Fixed bugs with Gap:: and GapAdvertisingParams 2015-08-06 11:04:38 +01:00
Joshua Slater 0f2ba674c8 Conversion from advertisement duration units to ms moved from Gap to GapAdvertisingParams. getInterval converts to ms. Added conversion in GapScanningParams 2015-08-06 10:43:04 +01:00
Rohit Grover 97d939ca77 Minor updates to the implementation. Add a local struct to describe ADV fields. 2015-08-03 08:08:47 +01:00
Rohit Grover ea37b64307 Merge branch 'develop' of https://github.com/sunsmilearm/BLE_API into sunsmilearm-develop 2015-08-03 07:23:21 +01:00
Xiao Sun 509ffdd1de Add a new function updateAdvertisingPayload()
add updateAdvertisingPayload() to update  one field of the advertising
payload
2015-08-03 14:05:16 +08:00
Rohit Grover 64e5ef32c1 minor update to a comment header. Add a mention of units for accumulateAdvertisingPayloadTxPower(). 2015-07-29 12:06:51 +01:00
Rohit Grover f12267fc71 Update comment header for onRadioNotification() to explain the second prototype. 2015-07-21 11:16:36 +01:00
Rohit Grover c1c05e5f90 Extend onRadioNotification() to take a <object, member> pair.
Add new API to be implemented by BLE ports: initRadioNotification
2015-07-21 11:05:04 +01:00
Rohit Grover 9d289f811b minor changes to comments for porting. 2015-07-06 14:39:46 +01:00
Rohit Grover 163f9e010a add empty (void) declarations for unused variables. This avoids warnings.
I could have used the compiler-polyfill module, but I wanted to avoid creating that dependency.
2015-07-03 10:54:32 +01:00
Rohit Grover 417b857d1b changing a comment pattern to request action from porters. 2015-07-02 08:19:12 +01:00
Rohit Grover 75beb80315 switch to a yotta layout 2015-06-19 13:37:31 +01:00
Renamed from public/Gap.h (Browse further)