George Beckstein
cda2c8bb8d
Introduce ChainableGapEventHandler subclass of ChainableEventHandler
...
The ChainableGapEventHandler enables chaining together Gap::EventHandlers so separate parts of an application can be notified of Gap events as needed. The application can register multiple Gap::EventHandler objects to one ChainableGapEventHandler and then set the global Gap::EventHandler to the ChainableGapEventHandler. All registered EventHandlers will then be called when a Gap Event occurs.
2020-10-14 12:44:09 -04:00
George Beckstein
751674b962
Introduce ChainableEventHandler and ChainableGattServerEventHandler classes.
...
Common functionality has been split off into a generic ChainableEventHandler for use by other EventHandler implementations. The ChainableEventHandler is essentially singly-linked list that propagates callbacks to all objects in the list.
The ChainableGattServerEventHandler enables chaining together GattServer::EventHandlers. An application can register separate event handlers (eg: for different services that need to handle GattServer events) and then set the global GattServer::setEventHandler to the instance of ChainableGattServerEventHandler with all registered GattServer::EventHandlers.
2020-10-14 12:42:25 -04:00
Martin Kojtal
05489818e9
Merge pull request #13610 from boraozgen/bugfix/deactivate-context
...
Fix #13490 Cellular disconnect does not deactivate context
2020-10-13 11:22:33 +01:00
Martin Kojtal
83579b1aa5
Merge pull request #13704 from paul-szczepanek-arm/reset-fix
...
ble: reset transport last and reset the default chars in gatt server
2020-10-13 11:21:21 +01:00
Martin Kojtal
77f3f5ebaa
Merge pull request #13714 from mikaleppanen/mesh_global_up_master
...
nanostack: mesh interface global up is indicated always on bootstrap
2020-10-13 11:20:48 +01:00
Martin Kojtal
00402b71d5
Merge pull request #13718 from artokin/nanostack_release_v12_6_0_for_master
...
Nanostack release v12.6.0
2020-10-13 11:19:11 +01:00
Martin Kojtal
35f97f4e98
Merge pull request #13729 from AGlass0fMilk/implicit-cccd
...
BLE: Enable getting an implicitly-created CCCD through `GattCharacteristic::getDescriptor`
2020-10-13 11:18:40 +01:00
Martin Kojtal
6fc886a37f
Merge pull request #13742 from mikaleppanen/radius_init
...
Add initialization to radius retry values
2020-10-13 11:16:25 +01:00
Johnny Robeson
e27571fb83
This fixes lto type mismatch warnings in 3 functions
...
```sh
[Warning] pal_rtc.h@76,6: type of 'PalRtcCompareSet' does not match original declaration [-Wlto-type-mismatch]
[Warning] pal_rtc.h@73,6: type of 'PalRtcEnableCompareIrq' does not match original declaration [-Wlto-type-mismatch]
[Warning] pal_rtc.h@74,6: type of 'PalRtcDisableCompareIrq' does not match original declaration [-Wlto-type-mismatch]
```
2020-10-12 07:02:18 -04:00
George Beckstein
f9af08c0ad
Add error if allocation of cccd attribute fails
2020-10-09 09:47:05 -04:00
Mika Leppänen
09b489bfc2
Added initialization to radius retry values
...
This corrects uninitialized scalar field coverity warning.
2020-10-08 13:57:07 +03:00
George Beckstein
fa2c3633dd
Add doxygen guard to private function
2020-10-07 13:32:17 -04:00
George Beckstein
eccb3e9bda
Make setImplicitCCCD private and add impl::GattServer as a friend class
2020-10-07 13:31:09 -04:00
George Beckstein
ca9b70582c
Remove nullptr check when deleting _implicit_cccd
2020-10-07 13:12:08 -04:00
George Beckstein
5c82533d06
Enabled getting an implicitly-created CCCD through GattCharacteristic::getDescriptor
2020-10-06 19:26:32 -04:00
Arto Kinnunen
51b8b10e65
Merge commit 'b9f37539182bfa5002208dba6885293e17700849'
...
* commit 'b9f37539182bfa5002208dba6885293e17700849':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
2020-10-05 15:05:30 +03:00
Mika Leppänen
4bf2c3a964
Mesh interface global up is indicated always on bootstrap
...
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 12:59:44 +03:00
Paul Szczeanek
e9ac83a92c
reset transport last and reset the default chars in gatt server
2020-10-02 16:14:20 +01:00
Martin Kojtal
ccc5c8528b
nanostack: fix inclusion of kvstore
...
Protect kvstore headers as well as they should not be included if kvstore is not enabled
in nanostack file system.
2020-09-30 08:49:48 +01:00
Martin Kojtal
05babec988
Merge pull request #13607 from teetak01/coap-5.1.7-for-master
...
Update Mbed CoAP to v5.1.7
2020-09-29 15:22:51 +01:00
Bora Özgen
0604c49a2e
Apply suggestion from review
2020-09-23 16:04:23 +02:00
Martin Kojtal
d896ea34f7
Merge pull request #13653 from jrobeson/ble-incorrectly-qualified-namespace
...
Use impl namespace in GattServer att_cb registration, not ble
2020-09-23 10:05:06 +01:00
Martin Kojtal
d829ac3fa8
Merge pull request #13649 from LDong-Arm/mbed-trace-default
...
Make mbed-trace available to bare metal
2020-09-22 16:24:18 +01:00
Johnny Robeson
fac3ebb33b
Use impl namespace in GattServer att_cb registration, not ble
...
If this is the correct fix, then this shouldn't have passed CI, should
it?
2020-09-21 17:54:16 -04:00
Martin Kojtal
bc7e4d668c
Merge pull request #13545 from evva-sfw/fix_enable_disable_ble_features
...
Fix enabling/disabling BLE-Features
2020-09-21 16:28:35 +01:00
Martin Kojtal
a02ea2f43a
Merge pull request #13623 from rajkan01/refactor_docs
...
Refactor mbed-os design docs
2020-09-21 16:28:13 +01:00
Lingkai Dong
ca157c9eb6
nanostack-libservice: add config to indicate its availability
2020-09-21 14:59:32 +01:00
Bora Özgen
9f24c045d7
Apply astyle
2020-09-21 14:37:56 +02:00
Rajkumar Kanagaraj
8a15506d0d
Refactor nfc and connectivity docs
2020-09-17 16:05:54 +01:00
phst
c0021e2147
Add missing defines to activate/deactivate BLE features
2020-09-17 11:02:25 +02:00
Martin Kojtal
c4562be8d8
Merge pull request #13602 from balajicyp/topic/wep_security_fix
...
WEP Security fix for Cypress Target Kits
2020-09-17 09:07:55 +01:00
Martin Kojtal
4809f517f6
Merge pull request #13432 from MultiTechSystems/fix-PDP-type
...
Enable PDP type IPV6 and IPV4V6 to support more cellular service prov…
2020-09-17 09:00:26 +01:00
Teemu Takaluoma
cbd3685575
Update Mbed CoAP to v5.1.7
2020-09-14 12:29:44 +03:00
Balaji Subramanyam
7d0e1806d4
WEP Security fix for Cypress Target Kits
2020-09-11 11:21:11 -07:00
Bora Özgen
8483d59879
Fix #13490 Cellular disconnect does not deactivate context
...
(for some cases)
2020-09-10 16:19:31 +02:00
Martin Kojtal
98beadde45
Merge pull request #13579 from paul-szczepanek-arm/ifbug
...
double negation fixed and ifs normalised
2020-09-10 14:48:02 +01:00
Martin Kojtal
8a22d3500a
Merge pull request #13584 from ARMmbed/revert-13011-alzix/both-artifacts
...
Revert "Always build both .hex and .bin files"
2020-09-10 12:25:02 +01:00
Martin Kojtal
267a5ac5bf
Merge pull request #13538 from sparkfun/ambiq-apollo3-dev-squash
...
Ambiq AMA3B1KK and SparkFun Artemis Boards Target Update
2020-09-10 11:53:04 +01:00
Martin Kojtal
5d245ad553
Revert "Always build both .hex and .bin files"
2020-09-10 10:19:04 +01:00
Wenn0101
e97ebc033a
Apollo3 and artemis code review changes, remvoe dead code, add missing spdx identifiers, fix style
2020-09-09 15:47:23 -06:00
Paul Szczeanek
77ba844ef9
double negation fixed and ifs normalised
2020-09-09 17:08:32 +01:00
Martin Kojtal
3b5ab54618
Merge pull request #13542 from jeromecoutant/PR_DISCO_L4S
...
B_L4S5I_IOT01A: new ST target
2020-09-09 15:54:27 +01:00
Martin Kojtal
c99ff74928
Merge pull request #13475 from pan-/ble-remove-user-facing-abstraction
...
Ble remove user facing abstraction
2020-09-09 15:13:01 +01:00
jeromecoutant
423bea50e6
B_L4S5I_IOT01A: BLE support
2020-09-09 15:19:21 +02:00
jeromecoutant
7dfe7024f0
B_L4S5I_IOT01A: HW crypto support
2020-09-09 15:19:21 +02:00
Martin Kojtal
6fb5e609c3
Merge pull request #13573 from mikaleppanen/mesh_radius_conf
...
Add RADIUS configuration options to Wi-SUN
2020-09-09 10:44:45 +01:00
Martin Kojtal
ef43cb52cb
Merge pull request #13518 from talorion/feature-custom-cert-tls-tests
...
add option for a custom cert in connectivity-netsocket-netsocket-tls
2020-09-09 10:14:14 +01:00
Wenn0101
68d59d3781
Add new targets, Ambiq Apollo3 and Sparkfun Electronics, SFE, boards
2020-09-09 01:13:05 -06:00
Mika Leppänen
23c13d74ec
Added RADIUS configuration options to Wi-SUN
...
Added support for external RADIUS server configuration to Wi-SUN Border Router.
Added configuration functions and .json configuration options for:
- external RADIUS server IPv6 address
- RADIUS shared secret.
- RADIUS client retry trickle timer configuration. This can be used to set how fast
the RADIUS client retries Access-Request messages to RADIUS server in case reply
from server is not received.
2020-09-08 14:42:18 +03:00
Vincent Coubard
ea47ee0808
Cypress BLE driver: Fix removal of mbed.h
2020-09-07 14:32:43 +01:00