Commit Graph

252 Commits (cb4dd19ad040c947bc9c96d5b11fc282c81b2898)

Author SHA1 Message Date
Vincent Coubard b42abd0e25 BLE: cleanup PalEvent queue and implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard 52b132e042 BLE: Cleanup pal security manager 2020-08-25 11:33:59 +01:00
Vincent Coubard 2952a5b327 BLE: Cleanup pal Gap 2020-08-25 11:33:59 +01:00
Vincent Coubard 3f3c11b113 BLE: Move GattServer implementation from generic to cordio 2020-08-25 11:32:38 +01:00
Vincent Coubard e59e1b5ef6 BLE: Cleanup of pal AttClient and GattClient
Fix interface namespace being not used.
Move generic AttClient to GattClient adapter back into the  pal
2020-08-25 11:32:38 +01:00
Vincent Coubard bc259c561d BLE: cleanup generic sources 2020-08-25 11:32:37 +01:00
Vincent Coubard 57b5f711e5 BLE: Move source/DiscoveredCharacteristic into source/gatt/DiscoveredCharacteristic 2020-08-25 11:26:28 +01:00
Vincent Coubard 12388d77d4 BLE: move source/impl into source/cordio 2020-08-25 11:26:28 +01:00
Vincent Coubard 241c69f50d BLE: Cleanup public headers 2020-08-25 11:26:28 +01:00
Vincent Coubard 7cbc0e38a4 BLE: Clang tidy on public headers. 2020-08-25 11:26:28 +01:00
Vincent Coubard 0baa92d70c BLE: Expose HCI driver in public API. 2020-08-25 11:26:28 +01:00
Vincent Coubard dd54baecf6 BLE: Move Cordio implementation in source/impl 2020-08-25 11:26:27 +01:00
Vincent Coubard cc78150afd BLE: Move generic lib file into source/generic . 2020-08-25 11:26:27 +01:00
Vincent Coubard 134cb885f5 BLE: Move cordio_stack out of TARGET_CORDIO 2020-08-25 11:26:27 +01:00
Vincent Coubard 63ac8fac3c BLE: Add compatibility path for headers. 2020-08-25 11:26:26 +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 a45325995b BLE: Move BleInstanceBase.h into source. 2020-08-25 11:26:26 +01:00
Vincent Coubard c2a09abee8 BLE: Move SecurityDB related files into generic sources 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
Vincent Coubard 41c8c22a96 BLE: Warning cleanup
- Missing default assignment operator
- Field order in construction list
- Typo
- Unused header
2020-08-25 11:26:26 +01:00
Vincent Coubard c773870d56 BLE: Bind interface to private implementation. 2020-08-25 11:26:26 +01:00
Vincent Coubard 0929478b7f BLE: Move constructor from transport to private section 2020-08-25 11:26:25 +01:00
Vincent Coubard cf3ede0191 BLE: GattServer PIMPL 2020-08-25 11:26:25 +01:00
Vincent Coubard 2b48d4826e BLE: SecurityManager PIMPL 2020-08-25 11:25:07 +01:00
Vincent Coubard e3cf59e6cd ble: GattClient PIMPL 2020-08-25 11:25:07 +01:00
Vincent Coubard 909676d159 PIMPL for ble::Gap 2020-08-25 11:11:58 +01:00
Martin Kojtal d6e93b182c
Merge pull request #13462 from paul-szczepanek-arm/cancel-connect-no-address
BLE remove address from API to cancel connect
2020-08-25 08:46:14 +01:00
Paul Szczeanek 6aa89aefcc calculate chunk size when needed and use reported packet length 2020-08-19 12:22:27 +01:00
Paul Szczeanek 8c5bbe05fe check authorisation before writing 2020-08-19 10:41:21 +01:00
Paul Szczeanek 019a32c75b no need to check again 2020-08-19 10:41:05 +01:00
Paul Szczeanek c78afe249c remove address from api to cancel connect 2020-08-18 18:07:16 +01:00
Paul Szczeanek f876179484 remove tabs 2020-08-18 10:04:11 +01:00
Paul Szczeanek b93733e4aa offset is missing from prepare write response in cordio 2020-08-18 10:02:43 +01:00
Paul Szczeanek 894886d1fe fix prepare writes to write in chunks 2020-08-18 09:07:13 +01:00
Paul Szczeanek bf20286026 perform attribute writes directly, including offset 2020-08-18 09:00:36 +01:00
Paul Szczeanek cde0e6b183 allow writes at an offset 2020-08-18 08:59:00 +01:00
Paul Szczeanek 1b78b46a73 must allow writes smaller than max attribute length 2020-08-18 08:58:11 +01:00
Paul Szczeanek e877eb7552 fix cancel connect to accept peer address 2020-08-10 13:07:11 +01:00
Paul Szczeanek 6aac3acefb braces on newlines 2020-08-07 16:27:26 +01:00
Paul Szczeanek 8bdd6bca93 braces always on newline 2020-08-07 16:21:09 +01:00
Paul Szczeanek f6a8610b0e move non-api heders into common 2020-08-07 14:54:23 +01:00
Paul Szczeanek ec4cbb7c23 make include path backwards compatible 2020-08-07 14:20:44 +01:00
Paul Szczeanek 72b7d97fba pull define out into json config 2020-08-07 11:59:14 +01:00
Paul Szczeanek 98bb0f7e55 fix backwards compatibility 2020-08-07 11:59:14 +01:00
Paul Szczeanek 1d4d3e1127 move implementations to libraries directory 2020-08-07 11:59:14 +01:00
Paul Szczeanek 9603708fc5 import ble modules into global namespace 2020-08-07 11:59:14 +01:00
Paul Szczeanek 7e64019074 move pal to cordio, remove cordio mentions from API 2020-08-07 11:59:14 +01:00
Paul Szczeanek 55efdb3cf0 Cordio Singleton support only one instance
Additional instances must be managed by user.
2020-08-07 11:59:14 +01:00
Paul Szczeanek 365cb3c5d0 remove generic, TPPs, nested namespaces 2020-08-07 11:59:14 +01:00