Commit Graph

294 Commits (73cfc7baea482404a27aa712951f2798961c2ccb)

Author SHA1 Message Date
paul-szczepanek-arm 6420465c29 fix func calls args 2018-01-17 11:40:32 +00:00
paul-szczepanek-arm a3cf83ac02 key distribution 2018-01-17 11:38:36 +00:00
paul-szczepanek-arm 44f2f7b9d7 expose get number to avoid implicit casts for clarity 2018-01-17 11:25:32 +00:00
paul-szczepanek-arm 1bf0d7b921 display passkey handling, added null check to passkey contructor 2018-01-17 11:09:54 +00:00
paul-szczepanek-arm 00b1b17e62 removed broken assignment operator 2018-01-17 11:04:37 +00:00
paul-szczepanek-arm d6a3347443 default state for legeacy pairing alllowed, removed obsolete code 2018-01-17 10:49:35 +00:00
paul-szczepanek-arm 9c6f57a733 name clash fixed 2018-01-17 10:48:07 +00:00
paul-szczepanek-arm 943206dd07 db restoring, legacy pairing disallowing, removed set SC support 2018-01-17 10:46:56 +00:00
paul-szczepanek-arm 11874aac3b whitelist generations needs to be async 2018-01-17 10:30:34 +00:00
paul-szczepanek-arm dcce428c40 conversion of passkeys, uniform calls 2018-01-16 19:39:25 +00:00
paul-szczepanek-arm 83d582827d legacy pairing support call in api 2018-01-16 14:48:08 +00:00
paul-szczepanek-arm e02ae313ac added on_ prefixes, added split key distribution 2018-01-16 12:46:59 +00:00
paul-szczepanek-arm f9ed3b2456 passkey types fixed 2018-01-16 12:43:25 +00:00
Vincent Coubard 323bae44e1 Fixe compilation errors 2018-01-16 12:12:30 +00:00
paul-szczepanek-arm b95943b28e added more missing implementations for generic
removed virtual keyword since this is implementation
2018-01-15 22:32:57 +00:00
paul-szczepanek-arm 4dd5e7d124 match generic sm order with the rest, added missing set secure funcs 2018-01-15 22:17:05 +00:00
paul-szczepanek-arm 585f60d1fc missing irk added, authorisation for pairing optional, minor cleanup of names 2018-01-15 21:46:02 +00:00
paul-szczepanek-arm 92a83cf526 generic security manager implements the pal handler, added first db entry handler 2018-01-15 19:02:53 +00:00
paul-szczepanek-arm f308702b1d split security entry 2018-01-15 18:14:39 +00:00
paul-szczepanek-arm 2f49b66c52 callbacks allow updates 2018-01-15 11:45:52 +00:00
paul-szczepanek-arm 145fcc5791 security db iface draft 2018-01-15 08:31:33 +00:00
paul-szczepanek-arm ce6f032970 pairing params added 2018-01-12 12:41:43 +00:00
paul-szczepanek-arm a45237dc51 split interfaces 2018-01-11 18:45:27 +00:00
Cruz Monrreal dc87f0b1e6
Merge pull request #5313 from pan-/ble-cordio-pal-gap
Cordio: Pal Gap implementation
2018-01-11 10:35:42 -06:00
Cruz Monrreal b32828bc37
Merge pull request #5739 from pan-/nordic-new-client
BLE: Nordic pal client implementation
2018-01-11 10:26:47 -06:00
paul-szczepanek-arm 8a0aba398b boilerplate 2018-01-11 13:17:47 +00:00
paul-szczepanek-arm da3ecfc2e4 add keysize set and split up settings 2018-01-11 11:54:21 +00:00
paul-szczepanek-arm 827af85476 fixed call 2018-01-10 18:01:41 +00:00
paul-szczepanek-arm 1e3c1a96ec fixed deafult event handler init and reset 2018-01-10 15:12:59 +00:00
Vincent Coubard d33b02818a BLE: Implement Generic GattClient reset logic. 2018-01-10 14:31:52 +00:00
Vincent Coubard 29988d5265 BLE: Align naming of GattClient procedure control blocks. 2018-01-10 14:18:00 +00:00
Vincent Coubard 3061db271d BLE: Put generic gattclient procedures inside the GattClient class 2018-01-10 14:15:08 +00:00
paul-szczepanek-arm 67d1148a56 added timeout changed pointers to refs 2018-01-09 16:55:12 +00:00
paul-szczepanek-arm 9863d71f44 requesting pair, force sc option 2018-01-07 22:22:55 +00:00
paul-szczepanek-arm e1676dc1cc added MITM to user facing security manager api 2018-01-05 17:32:49 +00:00
paul-szczepanek-arm e75042e3e4 handle legacy callbacks
this way you can have both old porting code and new app code and new porting code and old app code and they both work
2018-01-04 15:08:40 +00:00
paul-szczepanek-arm 69b248ae68 generic security manager using the pal 2018-01-03 18:04:22 +00:00
Vincent Coubard 70e5a14a4d BLE: Generic Gap - fix address management. 2017-12-21 17:39:25 +00:00
Martin Kojtal 5c01c3e59c
Merge pull request #5633 from paul-szczepanek-arm/master
BLE: added function converting error codes into strings
2017-12-12 17:42:10 +00:00
paul-szczepanek-arm 4ac75bd7b2 added function converting error codes into strings 2017-12-01 15:25:21 +00:00
Vincent Coubard 1b7a3ffa02 BLE: Add generic GAP implementation.
Generic implementation of the GAP class. It allows porters to have a working Gap
implementation by implementing the following abstraction layer primitives:
- pal::Gap: Adaptation for GAP related primitives.
- pal::EventQueue: simple interface to the inner event queue of the stack.
  pal::SimpleEventQueue can also be used as an implementation.
- pal::GenericAccessService: Accessors to the Generic Access Service present in
  the GATT server.
2017-10-31 17:39:14 +00:00
Vincent Coubard 63668cb7d2 BLE: Add generic event filter.
This filter prevent events to be signaled multiple times to the upper layer. It
also signal events to a newly set event processor hook.
2017-10-31 17:37:05 +00:00
Vincent Coubard daaa5b1977 BLE: Introduce GenericGattClient and platform abstraction over ATT/GATT.
This changes introduce a platform adaptation over ATT/GATT that can be implemented by porter.
Unlike the GattClient interface, the ATT/GATT adaptation is simple, follow closely the Bluetooth specification and won't change over time.
Implementation of the GattClient interface is realized by the class GenericGattClient which accept in input a pal::GattClient.

This change will also free design space once adopted by partners, addition to the GattClient interface won't require partner support.
2017-09-26 15:20:15 +01:00
Vincent Coubard 2259e0d539 Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed.
In the process, the path has been shortened and the unecessary ble
directory between FEATURE_BLE and the actual implementation has been
removed.

commit id of ARMmbed : 17728a824c7273e16b6b74fae871e2997c88ecd1
2016-07-20 22:10:36 +01:00