paul-szczepanek-arm
26cc72f191
add more feature toggles in cordio init
2019-02-27 19:31:47 +00:00
paul-szczepanek-arm
9a22db0e96
implied features
2019-02-27 19:31:46 +00:00
paul-szczepanek-arm
ab4e47661d
move config to ble feature
2019-02-27 19:31:46 +00:00
paul-szczepanek-arm
212e9477d3
require at least one role observer or broadcaster
2019-02-27 19:31:46 +00:00
paul-szczepanek-arm
aefab05e5a
add all the features and rename existing non-roles to features
2019-02-27 19:31:46 +00:00
Steve Cartmell
8e36ed4b1e
feat(ble): Guard out the CordioBLE initialisation code
2019-02-27 19:29:51 +00:00
Steve Cartmell
72d28d920a
feat(ble): Guard out Observer code when role is disabled
2019-02-27 19:29:51 +00:00
Steve Cartmell
5d73a03a64
feat(ble): Guard out SecurityManager code when role is disabled
2019-02-27 19:24:40 +00:00
Steve Cartmell
73f7ffb124
feat(ble): Guard out GattServer code when role is disabled
2019-02-27 19:24:39 +00:00
Steve Cartmell
6e301ce148
feat(ble): Guard out GattClient code when role is disabled
2019-02-27 19:23:31 +00:00
Steve Cartmell
9806f91ecf
feat(ble): Add preprocessor check to determine enabled roles are valid
...
A number of BLE roles depend on each other, checking within the target
configuration file for a valid configuration is infeasible. Move the
validation to the preprocessor and fail to compile if some required
roles are not enabled.
2019-02-27 19:00:08 +00:00
Vincent Coubard
73f29e7733
BLE - Fix qualification of abort and terminate.
2019-02-26 13:18:18 +00:00
Vincent Coubard
9ab284940a
BLE - Devirtualization of the NRF52 softdevice port.
2019-02-26 13:18:18 +00:00
Vincent Coubard
ddbb177e33
BLE - Devirtualization of the NRF51 port.
2019-02-26 13:18:17 +00:00
Vincent Coubard
b86049d1e7
BLE - Devirtualization of the legacy NRF51822 port.
2019-02-26 13:18:17 +00:00
Vincent Coubard
0323d91f04
BLE - Devirtualization of the Maxim port .
2019-02-26 13:18:17 +00:00
Vincent Coubard
536443b1f8
BLE - Devirtualization of the Cordio port.
2019-02-26 13:18:17 +00:00
Vincent Coubard
04d26f7ab5
BLE - Devirtualize ::ble::generic::GenericSecurityManager
...
Two parameters are expected by the template:
- TPalSecurityManager a template class of the security manager of the form TPalSecurityManager<EventHandler>. The GenericSecurityManager is the event handler.
- SigningMonitor a template in the form SigningMonitor<Handler>.
2019-02-26 13:18:17 +00:00
Vincent Coubard
b135074821
BLE - Devirtualize ble::generic::GattClient
...
GenericGattClient is parametized by two types:
- The template of the PalGattClient
- The SigningMonitorEventHandler
Note that the PalGattClient template must be of the form PalGattClient<EventHandler>. The event handler being the GenericGattClient.
2019-02-26 13:18:17 +00:00
Vincent Coubard
39e938bf8e
BLE - Devirtualize ble::generic::GenericGap
...
Expected types are similar to the type expected by the constructor:
- PalGap
- PalSecurityManager
- ConnectionEventMonitorEventHandler
Note that for the PalGap we expect a **template** of the form PalGap<EventHandler>
2019-02-26 13:18:17 +00:00
Vincent Coubard
e70fb27d55
BLE - cleanup includes.
2019-02-26 13:18:17 +00:00
Vincent Coubard
fb39848481
BLE - Cleanup deprecation implementation bits in BLE.cpp
2019-02-26 13:18:17 +00:00
Vincent Coubard
7796e733ad
BLE - Devirtualize ::SecurityManager
...
The interface now lives in ::ble::interface::SecurityManager. The implementation type is expectected to exported as ble ::ble::impl::SecurityManager by the implementation.
2019-02-26 13:18:17 +00:00
Vincent Coubard
6d2592a137
BLE - Devirtualize ::GattServer.
...
The interface is defined in ::ble::interface::GattServer and an implementation must export the implementation type ::ble::impl::GattServer.
2019-02-26 13:18:17 +00:00
Vincent Coubard
e56fd682a1
BLE - Devirtualize ::GattClient
...
Interface definition now lives in ble::interface::GattClient. An implementation must export the implementation type in ::ble::impl::GattClient.
2019-02-26 13:18:17 +00:00
Vincent Coubard
43e87fb04d
BLE - Devirtualize ::ble::Gap
...
The interface definition now lives in ::ble::interface::Gap.
The implementation must export the implementation types as ::ble::impl::Gap.
2019-02-26 13:18:17 +00:00
Vincent Coubard
1ad726322f
BLE - Devirtualization of ::Gap
...
The interface definition now lives in ::ble::interface::LegacyGap. Implementation must export the implementation type as ble::impl::LegacyGap.
2019-02-26 13:18:17 +00:00
Vincent Coubard
2d007eee42
BLE - Devirtualize pal::SigningEventMonitor
...
The event handler has been extracted out of SigningEventMonitor declaration and SigningEventMonitor instantion requires the implementation and event handler type.
2019-02-26 13:18:17 +00:00
Vincent Coubard
50de4c8a44
BLE - Devirtualize pal::SecurityManager
...
The event handler has been extracted out of SecurityManager declaration and instantion of the interface requires the implementation and event handler type.
2019-02-26 13:18:17 +00:00
Vincent Coubard
e1371f8149
BLE - Devirtualize pal::GattClient
...
The event handler has been taken out of GattClient declaration and an instantiation requires the actual implementation and the type that handle events.
2019-02-26 13:18:17 +00:00
Vincent Coubard
0749100676
BLE - Devirtualize pal::Gap
...
The event handler has been taken out of Gap declaration and the instantiation must provide an implementation and the type that plays the event handler role.
2019-02-26 13:18:17 +00:00
Vincent Coubard
6514bbd1f0
BLE - Devirtualize pal::ConnectionEventMonitor
...
The event handler has been extracted out of the monitor declaration.
2019-02-26 13:18:17 +00:00
Vincent Coubard
71b8d8a2f3
BLE - devirtualize pal::AttClientToGattClientAdapter
2019-02-26 13:18:17 +00:00
Vincent Coubard
333a31507b
BLE - devirtualize pal::AttClient
2019-02-26 13:18:17 +00:00
Vincent Coubard
7e78433cec
BLE - replace some usages of Gap::Handle_t by ble::connection_handle_t
2019-02-26 13:18:17 +00:00
Vincent Coubard
bc098d0272
BLE - add static interface helper.
2019-02-26 13:18:17 +00:00
d-kato
78923d8135
Add missing license description to RZ/A1 driver
2019-02-26 11:52:29 +09:00
Cruz Monrreal
044d0c9cb1
Merge pull request #9778 from michalpasztamobica/add_missing_wifi_config_params
...
Add missing wifi parameters to test configs
2019-02-25 17:30:36 -06:00
Cruz Monrreal
d0881ad259
Merge pull request #9813 from paul-szczepanek-arm/cordio-cfg
...
BLE: Cordio build time configuration through mbed_lib.json
2019-02-25 17:28:56 -06:00
Cruz Monrreal
8ec8674e4e
Merge pull request #9833 from donatieng/remove_beetle
...
Remove Arm Beetle target for Mbed OS 5.12
2019-02-25 17:27:22 -06:00
Cruz Monrreal
e7d8d9c5d2
Merge pull request #9834 from SeppoTakalo/copyright
...
Add missing copyright header to STM32 driver
2019-02-25 17:27:05 -06:00
Cruz Monrreal
2b811daaf8
Merge pull request #9821 from cydriftcloud/send-hci-reset-after-patchram-download
...
PSOC6: send HCI reset after patch RAM download
2019-02-25 10:33:37 -06:00
paul-szczepanek-arm
f62217b3dd
typos
2019-02-25 15:33:52 +00:00
paul-szczepanek-arm
a7297186b5
fixed names
2019-02-25 15:30:55 +00:00
paul-szczepanek-arm
e75c534445
stray comma
2019-02-25 15:23:35 +00:00
Michal Paszta
42404be824
Change all wifi and WiFi occurences to Wi-Fi
2019-02-25 14:54:18 +02:00
Seppo Takalo
7a33700bb4
Replace Copyright ARM with a proper Apache 2 license header
2019-02-25 14:17:42 +02:00
Seppo Takalo
b14df9e0de
Add missing copyright header to STM32 driver
2019-02-25 14:09:36 +02:00
Donatien Garnier
176e5779ce
Remove Arm Beetle target
...
Deprecation in preparation for Mbed OS 5.12 and move to IAR8 and ARMC6
2019-02-25 12:09:03 +00:00
paul-szczepanek-arm
6842c8718b
revert macros
2019-02-25 09:52:21 +00:00