Commit Graph

37 Commits (7e2acee49a35d1744efe03aa3ab5c17493b51a22)

Author SHA1 Message Date
Vincent Coubard 2e859cdab4 BLE: Conditionally compile PAL depending on the feature selected.
Previously (most) of the code was not pulled in because the pal interface was not virtual.
2020-10-23 12:17:31 +01:00
Paul Szczeanek 0931709516 replace current bool state combination for keeping track of ble scanning with an enum that covers all states 2020-10-19 15:47:39 +01:00
Paul Szczeanek 119d459361 fix removed friend function 2020-10-14 09:58:11 +01:00
Paul Szczeanek 9f09bb4956 rename private address controller to match security manager 2020-10-13 17:40:37 +01:00
Paul Szczeanek 3f9798b52d Fix conditional compilation based on config 2020-10-13 17:32:49 +01:00
Vincent Coubard f32141a051 BLE: Notify application when advertising start or stop
Applicable for legacy and extended advertising.
2020-10-05 11:54:05 +01:00
Paul Szczeanek f0bbc4c7ae use enum for state 2020-10-05 11:54:05 +01:00
Paul Szczeanek b0086919ed scan forever and allow cancellation 2020-10-05 11:54:05 +01:00
Paul Szczeanek 18c218b027 allow host resolved address to be used for connection 2020-10-05 11:54:04 +01:00
Vincent Coubard bb35cba134 BLE: Add function to signal privacy initialization. 2020-10-05 11:54:04 +01:00
Paul Szczeanek 03cc0f9940 host privacy config option to enable it 2020-10-05 11:54:04 +01:00
Vincent Coubard 76f89f6f89 BLE: Factorize peripheral privacy applied when connected 2020-10-05 11:54:04 +01:00
Vincent Coubard 8fe2d7ebbe BLE: Report connection internally when address resolution has completed. 2020-10-05 11:54:03 +01:00
Paul Szczeanek f126793f20 Add host reolustion for advertising and connections 2020-10-05 11:53:59 +01:00
Paul Szczeanek 593c1776b4 add EventList class for storing pending events 2020-10-05 11:53:23 +01:00
Paul Szczeanek df17942c2c remove unused enhanced conn complete 2020-10-05 11:53:23 +01:00
Vincent Coubard 5cb05958a9 BLE: Add function to get the device random static address. 2020-10-05 11:53:22 +01:00
Vincent Coubard c39d03a531 BLE: Implement private address rotation for initiating. 2020-10-05 11:53:22 +01:00
Vincent Coubard 4685322f4e BLE: Add routine that computes the random address to use depending on the procedure. 2020-10-05 11:53:21 +01:00
Vincent Coubard e5128689aa BLE: Fix random static address storage 2020-10-05 11:53:21 +01:00
Vincent Coubard 924f8b1dc9 BLE: Update state when scan started/stopped callback received. 2020-10-05 11:53:21 +01:00
Vincent Coubard d8c6820cbd BLE: Add callback for scan started and stoped. 2020-10-05 11:53:21 +01:00
Vincent Coubard b8549ec91d BLE: rename address resolution handler. 2020-10-05 11:53:21 +01:00
Vincent Coubard 4b853956d9 BLE: Add resolvable and non resolvable private address rotation with advertising 2020-10-05 11:53:15 +01:00
Vincent Coubard f810ec4c2a BLE: Add initiating flag into gap to track if the local device tries to connect to a peer. 2020-10-05 11:50:34 +01:00
Vincent Coubard 7e16ee448e BLE: Bind address controller with Gap 2020-10-05 11:50:33 +01:00
Vincent Coubard 313676a089 BLE: Add gap handlers to be informed when advertising as started or been stopped 2020-10-05 11:50:33 +01:00
Vincent Coubard f116604024 BLE: correctness improvments
Remove unused variable, improve header inclusion, fix initialization list order,
2020-09-04 13:26:29 +01:00
Vincent Coubard cf91053f93 BLE: Move cordio implementation include into source folder 2020-08-25 11:34:00 +01:00
Vincent Coubard 029ed3a0c5 BLE: Cleanup BLEInstanceBas implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard b42abd0e25 BLE: cleanup PalEvent queue and implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard bc259c561d BLE: cleanup generic sources 2020-08-25 11:32:37 +01:00
Vincent Coubard 13c358717f BLE: Move GATT public header into ble/gatt
Move private headers GattServerEvents.h, GapEvents,h and GapType.h in relevant part of the source tree.
2020-08-25 11:26:26 +01:00
Vincent Coubard 27cb03824e BLE: Move common publi headers into ble/common 2020-08-25 11:26:26 +01:00
Vincent Coubard d3427ca495 BLE: Move gap public header at the root. 2020-08-25 11:26:26 +01:00
Vincent Coubard e11bfb6514 BLE: move PAL headers into source/pal 2020-08-25 11:26:26 +01:00
Vincent Coubard 381700a250 BLE: Move generic implementation and headers into source/generic 2020-08-25 11:26:26 +01:00