Commit Graph

69 Commits

Author SHA1 Message Date
James Devine 97f6bff7c4 nrf51-sdk: refined patch to repo and removed debug
This commit removes an unneccessary changed, and also resolves printf statements to DM_LOG statements.
2016-02-26 12:05:44 +00:00
James Devine 62ad4f4e4b nrf51-sdk : rough first draft of working BLE STACK
added correct IRK matching which softdevice doesn't do correctly.

Fixed whitelisting from adding IRK and Address.
2016-02-26 12:05:44 +00:00
James Devine 94c31c8dd2 bonding duplication bug fix
This patch corrects a problem where the bonding table would add a duplicate entry for a device that uses private resolvable addressing.
2016-02-26 12:05:43 +00:00
Joe Finney 762c85be56 microbit: Increase of maximum bond count from 4 to 6.
Some devices (e.g. Android 4.4.2) consume two entries in the bonding table when
paired. This patch provides some 'headroom' to the effective maximum bond
count of 4 that is employed by microbit-dal.
2016-02-01 22:37:06 +00:00
Joe Finney 2836a891d8 microbit: Update of maximum BLE bond count from 2 to 4.
BLE bond information is stored in a table in flash memory during the pairing process with another BLE device.
This information is required for a secure BLE connection.

There is a limit to the number of entries in this table. It used to be 4 but was recently changed to 2
during a code merge with mbed updates. This patch returns to support four bonds.
2016-01-17 01:04:33 +00:00
Vincent Coubard 90647e370e version v2.2.0 2016-01-11 21:44:16 +00:00
Vincent Coubard 60bfeb3065 Merge pull request #17 from andresag01/expose-ble-hash
Expose function in DM to calculate BLE hash
2016-01-11 17:30:32 +00:00
Andres Amaya Garcia c4ecce5675 Fix typo in id_manager.h @note 2016-01-11 17:28:57 +00:00
Vincent Coubard 5a5f81441f Merge pull request #18 from pan-/fixMissingImplementations
Add missing implementations for peer_manager.
2016-01-11 17:25:41 +00:00
Vincent Coubard 48a98bb46c Fix indentation 2016-01-11 14:45:30 +00:00
Vincent Coubard 51c333fe69 Add missing implementations for peer_manager. This is required by armcc,
even if implementations doesn't makes it into final binary
2016-01-11 14:42:49 +00:00
Andres Amaya Garcia 25cbf4dd40 Add warning to ah() for porters of future nRF51 SDKs to mbed 2016-01-11 12:12:46 +00:00
Andres Amaya Garcia b0017f9fbf Expose function in DM to calculate BLE hash
The hash function is needed to generate this a new Private Resolvable address.
This functionality is required to generate a table with a list of addresses
from the information in the bond table (See the getAddressesFromBondTable() API
in BLE API SecurityManager). However, this function is not exposed by the
nRF51 SDK to external code. This pull requests simply adds the function
declaration to the relevant .h file to make external use possible.
2016-01-11 11:10:10 +00:00
Vincent Coubard a0faa63aae version v2.1.0 2016-01-08 13:40:31 +00:00
Vincent Coubard 3843844ef2 Merge pull request #15 from andresag01/master
Add files from peer manager from nRF51 SDK 10.0.0
2016-01-08 13:36:10 +00:00
Andres Amaya Garcia 4663a53af0 Fix indentation in require_files.txt 2016-01-08 09:57:42 +00:00
Andres Amaya Garcia 61ecdef2c5 Delete ble_conn_params.c that is a duplicate of ble_conn_params.cpp 2016-01-07 19:02:06 +00:00
Andres Amaya Garcia 4c8760c90c Add files from peer manager from nRF51 SDK 10.0.0
Add a subset of the files from the peer manager from nRF51 SDK 10.0.0. This
code is required to implement whitelising in the ble-nrf51822 module.
2016-01-07 18:55:04 +00:00
Liyou Zhou 79118e224c version v2.0.0 2016-01-07 15:56:28 +00:00
Vincent Coubard 7ff95c97f4 Merge pull request #9 from andresag01/master
Add ifdef to include correct mbed.h file in mbedOS
2016-01-07 15:49:56 +00:00
Vincent Coubard d24043f31d Merge pull request #13 from ARMmbed/nordic_sdk_10.0.0
Nordic sdk 10.0.0
2016-01-07 15:44:02 +00:00
Liyou Zhou 8a57aa2d59 Change README to point to sdk v10 2015-12-23 15:36:47 +00:00
LIYOU ZHOU 164b319592 Merge pull request #8 from ARMmbed/nordic_sdk_9.0.0
Update files to Nordic sdk 9.0.0 - Merging to prepare for v10 PR
2015-12-23 15:33:50 +00:00
Liyou Zhou c63391e05c Port modifications made to noridc files 2015-12-21 15:48:57 +00:00
Liyou Zhou 22c7454f7e Add copyright license headers. 2015-12-21 15:23:54 +00:00
Liyou Zhou 012b811878 Pull in files from sdk 10.0 2015-12-21 15:23:23 +00:00
Andres Amaya Garcia 25dc1a7185 Add ifdef to include correct mbed.h file in mbedOS 2015-12-18 16:01:19 +00:00
Liyou Zhou 7f488715ed Change hci mem pool size to sdk 8 values 2015-12-15 10:42:02 +00:00
Liyou Zhou 3f1b2a67ef reduce pstorage cmd queue size to minimize mem usage 2015-12-14 13:30:41 +00:00
Liyou Zhou 709d3cdb8c Change version number in README 2015-12-14 13:29:01 +00:00
Liyou Zhou 624cd84c4f Revert "Change version number in README"
Commit applied to wrong branch.
This reverts commit 21d0f023a2.
2015-12-14 13:27:11 +00:00
Liyou Zhou 21d0f023a2 Change version number in README 2015-12-11 18:18:10 +00:00
Liyou Zhou 9da4af9c11 Port all modification made to noridc files 2015-12-11 12:34:14 +00:00
Liyou Zhou 709071c7a3 Change license headers 2015-12-11 12:09:09 +00:00
Liyou Zhou 9251259fa8 Copy over coresponding files from nordic-sdk 9.0.0 2015-12-11 12:07:45 +00:00
Liyou Zhou c882164713 Add folder to filter out softdevice 310 2015-12-11 12:01:20 +00:00
Liyou Zhou 1fc3a6fa91 version v1.0.1 2015-12-10 15:17:39 +00:00
LIYOU ZHOU 13cb06829e Merge pull request #7 from andresag01/master
Add GCC diagnostics to suppress unused-parameter warnings
2015-12-07 12:46:20 +00:00
Andres Amaya Garcia a4a6412210 Add GCC diagnostics to suppress unused-parameter warnings 2015-12-02 16:16:32 +00:00
Rohit Grover ea51baa33e version v1.0.0 2015-12-02 13:46:55 +00:00
LIYOU ZHOU 72668df834 Merge pull request #6 from rgrover/master
supress warnings for the sources in nRF51 SDK
2015-12-02 13:41:33 +00:00
Rohit Grover dbd0353632 add -Wno-unused-function 2015-12-02 10:38:32 +00:00
Rohit Grover da4b1aa86c supress warnings for the sources in nRF51 SDK 2015-12-02 09:17:53 +00:00
Liyou Zhou a384ffab52 Add script functionality to add direcotries
add purge and dry-run options to script.
2015-12-01 18:05:48 +00:00
Liyou Zhou 497a325268 Remove specifics about modifications to nordics files
from readme. The way to manage our changes to nordic
files need rethinking.
2015-12-01 13:31:16 +00:00
Liyou Zhou 66a5e90d15 Stop tracking nordic versions, use sementic versioning from 0.0.1 2015-12-01 12:26:55 +00:00
LIYOU ZHOU 545566992e Merge pull request #4 from ARMmbed/migrate-changes-from-ble-nrf51822
Migrate changes from ble nrf51822
2015-12-01 12:25:37 +00:00
Liyou Zhou dc215189c2 Putting back an include because we have that file. 2015-12-01 12:23:40 +00:00
Liyou Zhou 5190a08459 Update files with changes made to nordic files in cmsis-core-nrf51822 2015-11-27 11:46:08 +00:00
Liyou Zhou 65d2c1a60f Remove nordic header from originally ARM files. 2015-11-24 14:38:42 +00:00