Rohit Grover
40c5c3142b
get rid of some compiler warnings.
2015-06-04 08:58:13 +01:00
Rohit Grover
6c12041f89
reduce the maximum number of CHARACTERISTICS and DESCRIPTORS that can be handled.
2015-05-28 15:51:43 +01:00
Rohit Grover
3089e90f59
reduce pStorage command queue size to 2; this has memory impliciations for static global memory.
2015-05-28 15:30:16 +01:00
Rohit Grover
0b6fc3e48f
reduce max bonds to managed by device-manager to 4.
...
This has an impact on global static memory.
2015-05-28 15:22:18 +01:00
Rohit Grover
7c9ec1a3ff
move nRF51Gap::getInstance() into a cpp file.
...
Leaving it in the header was causing duplication of some static allocations.
2015-05-28 15:19:22 +01:00
Rohit Grover
c1223374fd
move GattServer::getInstance() into a .cpp file.
...
Leaving it in the header was causing duplication of some static memory.
2015-05-28 15:18:07 +01:00
Rohit Grover
a440201b9c
replace Gap::addr_type_t with Gap::AddressType_t
2015-05-19 15:34:40 +01:00
Rohit Grover
192a19dc40
Release 0.3.6
...
=============
Enhancements
~~~~~~~~~~~~
* Detach start radio scan from setting up advertisement report callback.
Bugfixes
~~~~~~~~
none.
2015-05-18 09:52:06 +01:00
Rohit Grover
b87dd448d9
reimplement nRF51Gap::startScan() in terms of AdvertisementCallbackParams.
2015-05-18 07:43:39 +01:00
Rohit Grover
29c8549ab1
Release 0.3.5
...
=============
Enhancements
~~~~~~~~~~~~
* Add support for scanning APIs.
Bugfixes
~~~~~~~~
none.
2015-05-12 11:00:23 +01:00
Rohit Grover
853f379e69
Add support for scanning.
2015-05-12 10:56:12 +01:00
Rohit Grover
be6166ee63
white space diffs.
2015-05-12 10:55:13 +01:00
Rohit Grover
69bfe8a59a
add missing include for GapScanningParams to nRF51Gap.h
2015-05-12 10:55:13 +01:00
Rohit Grover
14f066b92a
rename GAP_DURATION_UNITS to ADVERTISEMENT_DURATION_UNITS
2015-05-12 10:55:13 +01:00
Rohit Grover
d154894d1f
simplify the name used to include Gap.h
2015-05-12 10:55:13 +01:00
Rohit Grover
233e5228e1
minor white space diffs.
2015-05-12 10:55:13 +01:00
Rohit Grover
459e83e03b
add support for active scanning.
2015-05-12 10:55:13 +01:00
Rohit Grover
7d0cc16975
shorten names for *scanning* APIs to *scan*.
2015-05-12 10:55:13 +01:00
Rohit Grover
82408ba7ca
add implementation for stopScanning()
2015-05-12 10:55:13 +01:00
Rohit Grover
b90fafa58b
connect call to processAdvertisementReport() from GAP_EVT_ADV_REPORT
2015-05-12 10:55:13 +01:00
Rohit Grover
13bbda2a7d
add API for startScanning()
2015-05-12 10:55:13 +01:00
Rohit Grover
b4eef8fc57
initial attempt at installing a handler for ADV_REPORT
2015-05-12 10:55:13 +01:00
Rohit Grover
4fb156a651
Release 0.3.4
...
=============
Enhancements
~~~~~~~~~~~~
* Upgrade to Nordic's S130 softdevice (production version). This is a
merge between the previous S110 and S120 softdevices. It brings in
features from BLE4.1.
Bugfixes
~~~~~~~~
none.
2015-05-12 10:53:03 +01:00
Rohit Grover
477645595c
update to S130 alpha
2015-05-12 09:12:38 +01:00
Rohit Grover
09570bd683
nRF51GattServer::hwCallback: use handle_value instead of characteristic index at a couple of places.
2015-05-12 09:11:59 +01:00
Rohit Grover
a524435708
Release 0.3.3
...
=============
Enhancements
~~~~~~~~~~~~
* Bring in support for security related APIs.
Bugfixes
~~~~~~~~
none.
2015-05-08 15:32:30 +01:00
Rohit Grover
2edf0b1b51
process GAP_EVT_PASSKEY_DISPLAY
2015-05-08 13:39:43 +01:00
Rohit Grover
364ab5a1ad
remove un-necessary comment blocks. unrelated to security, really.
2015-05-08 13:29:31 +01:00
Rohit Grover
67e8989ed0
minor renames around securitySetup
2015-05-08 11:57:20 +01:00
Rohit Grover
c426e97708
add a securityMode arg to processLinkSecuredEvent
2015-05-08 11:43:07 +01:00
Rohit Grover
256f8f8927
add some defaults to a couple of switches around security modes.
2015-05-08 11:39:48 +01:00
Rohit Grover
bc99c5488f
white space diffs.
2015-05-08 11:15:12 +01:00
Rohit Grover
33f02bc072
move SecurityMode_t within Gap
2015-05-08 11:13:20 +01:00
Rohit Grover
9c406b4924
handle securityProcedureCompletedEvent
2015-05-08 11:00:33 +01:00
Rohit Grover
2d0cff4ef4
delete handling of BLE_GAP_EVT_SEC_PARAMS_REQUEST in btle.cpp.
...
THis is now done in btle_security.cpp
2015-05-08 10:32:16 +01:00
Rohit Grover
4b9b2d8a02
handle SecurityProcedureInitiatedEvent with augmented parameters.
2015-05-08 10:31:26 +01:00
Rohit Grover
f6aeede597
update for BLEDeviceInstanceBase::initializeSecurity()
2015-05-07 13:14:25 +01:00
Rohit Grover
4f10b57155
initializeSecurity() should take default arguments for security capabilities.
2015-05-07 13:02:01 +01:00
Rohit Grover
4a80052d4c
add a missing include.
2015-05-07 12:54:59 +01:00
Rohit Grover
5dafff52d6
fixed implementation for getLinkSecurity().
...
needed filling in of application instance.
2015-05-07 09:46:16 +01:00
Rohit Grover
5c91df5cfd
use correct type for applicationInstance.
2015-05-07 09:45:24 +01:00
Rohit Grover
4af88a2be7
update GattCharacteristic::ble_gatt_char_required_security_t to SecurityMode_t
2015-05-07 08:30:49 +01:00
Rohit Grover
1c3349f7a2
adjust for rename of ble_gatt_char_required_security to SecurityMode_t.
2015-05-07 08:16:28 +01:00
Rohit Grover
989c629008
guard against repeated calls to ble_initializeSecurity()
2015-05-07 08:15:48 +01:00
Rohit Grover
002f61cf83
ble_initializeSecurity: minor inversion of error checking code.
2015-05-07 08:15:48 +01:00
Rohit Grover
509325724e
intermediate checkin with stray debugging printfs
2015-05-07 08:15:48 +01:00
Rohit Grover
d99e272f7c
minor re-ordering of variables.
2015-05-07 08:15:48 +01:00
Rohit Grover
f258300a53
rename to purgeAllBondingState()
2015-05-07 08:15:48 +01:00
Rohit Grover
caf49f6c53
white space diff.
2015-05-07 08:15:48 +01:00
Rohit Grover
590b9828cf
add getLinkSecurity()
2015-05-07 08:15:48 +01:00