Commit Graph

31121 Commits (cda2c8bb8dbadc8b9256a35034bccd192094e632)

Author SHA1 Message Date
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
Martin Kojtal ea39494aa5
Merge pull request #13744 from LDong-Arm/cloud_connectors_targets
Use NUCLEO_F429ZI for Azure IoT Hub and Google IoT Core examples testing
2020-10-13 11:15:53 +01:00
Martin Kojtal 4c4295225e
Merge pull request #13749 from jrobeson/missing-args-in-pal-rtc-functions
Add missing args to weakly defined PalRtc functions
2020-10-13 11:12:26 +01:00
Martin Kojtal 2cb64f5bce
Merge pull request #13549 from kjbracey-arm/readdir_r
Make readdir reentrant
2020-10-13 11:11:45 +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
Lingkai Dong a3c3808c5e Use NUCLEO_F429ZI for Azure IoT Hub and Google IoT Core examples 2020-10-08 16:50:13 +01: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
Arto Kinnunen b9f3753918 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
09d9e24f2d Merge branch 'release_internal' into release_external
9a3278a1e3 Removed Black list reject from wi-sun neighbour request function
76fc9d77a1 Support SLAAC addressing method for Wi-SUN Border router
71c8bde863 Modified Wi-SUN etx to wait for Probes
b720fbdfe0 Wi-SUN discovery and address registration update
e73c8082ed Merge pull request #2460 from ARMmbed/sync_with_mbed_os
7994d9537b If PMK and PTK are not set do not store keys to NVM
f8813e2d27 Follow Mbed OS coding style
f6ed87754c (via mbedos) Possible invalid memory access on memcpy
40dc215294 Set frame counter increment to 1000000
a57acc84a8 ETX update
5373de2ff4 EAPOL parent TX feilure is reorder candidate list.
6b0e264869 Allowed separate default settings in WS API
850252b9f9 Fixed EAPOL brodcast synch at border router device.
2c1c07779a Corrected unit test
16e38ce688 Changed EAPOL negotiation limit on small nw to 20
21af9233ec Wi-sun ETX update
80e13f4435 Changed EAP-TLS retry trace to info trace level
52a5018fd1 WS: Use special retry configuration when discovery is started (#2450)
7e3b99c375 Merge branch 'release_internal' into release_external
50b7a641b4 Key update to MAC is forced when nw name changes
f1f46f3873 Corrected identifier range alloc and added define for timeout
f836d1d818 FHSS WS: spread broadcast messages better on BC channel (#2449)
9a1b35398c Merge branch 'release_internal' into release_external
5e40cb3852 Fix 0 length domain search list
f0f5131833 Fixed coverity issue.
81b94e535d Added test harness API for set temporary neighbour lifetime longer
b969fa3779 Merge branch 'release_internal' into release_external
b66b834d0c Timed parent selection update

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 09d9e24f2d3e97cd38139e5df3d9e79d2ee65f4e
2020-10-05 15:05:29 +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
Anna Bridge ad40b1b267
Merge pull request #13694 from saheerb/patch-4
adapting to new s3 bucket location  in travis.yml
2020-10-02 11:56:02 +01:00
Saheer Babu eeb61ec4e7
adapting to new s3 bucket location in travis.yml 2020-10-01 18:16:56 +01:00
Martin Kojtal fbe04097c7
Merge pull request #13601 from AGlass0fMilk/fix-g474-adc
Fix AnalogIn implementation on STM32G4 series
2020-09-30 16:12:18 +01:00
Martin Kojtal 21652971a5
Merge pull request #12644 from macronix/macronix_ospi
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal 1f868f96de
Merge pull request #13646 from boraozgen/bugfix/system-clock-weak
Make STM32F412xG system_clock.c functions weak
2020-09-30 16:01:02 +01:00
Martin Kojtal 1dea16bc58
Merge pull request #13611 from alcheagle/stm32l071xx-fixes
Edit on Toolchain linker files for stm32L071xx target
2020-09-30 16:00:20 +01:00
Martin Kojtal efd385d6ce
Merge pull request #13679 from OpenNuvoton/nvt_i2c_timeout
Nuvoton: Fix NuMaker I2C timeout
2020-09-30 15:57:53 +01:00
Martin Kojtal 05ea20c44a
Merge pull request #13681 from winneymj/nrf52840_SPIM3_Updates
Nrf52840 spim3 updates
2020-09-30 15:56:36 +01:00
Martin Kojtal aa9989f5bb
Merge pull request #13684 from 0xc0170/fix_nanostack_kvstore
nanostack: fix inclusion of kvstore
2020-09-30 15:52:09 +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
cyliangtw 3916026dd7 Commit M451/NANO100 i2c_api again to resolve abnormal gitattribute 2020-09-30 10:27:16 +08:00
winneymj d60af095ba Fix spacing 2020-09-29 17:55:06 -05:00
winneymj 38e6bdc8f4 Fixes for nrf52840 SPIM 3 implementation. Specifically:
- Correct definition of SPI2C_INSTANCES when using SPIM vs SPI
- Use NRFX_SPIM_XFER_TRX macro vs manually filling structure.
- Fix compile error in NRFX_SPIM_DEFAULT_EXTENDED_CONFIG where ordering of members does not match structure nrfx_spim_config_t
- Use High Drive if using SPIM3 on MOSI and SCK pins.
2020-09-29 17:13:30 -05:00
Martin Kojtal 73b7e450e7
Merge pull request #13674 from heuisam/dev_bp6a
Samsung: uart fixes
2020-09-29 16:27:58 +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
cyliangtw ffee35a5c8 Fix NuMaker I2C timeout,
some H/W timer count is 24 bits only, hardcode 0xffffffff causing
  wrong judgement of timeout as while H/W timer counting overflow.
2020-09-29 21:01:18 +08:00
Heuisam Kwag 6ff504a89f targets/s1sb6a: change UART_STDIO_PORT from UART0 to UART2
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag f0679cca36 tartgets/s1sbp6a: fix afe clock initial value
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag bc68113566 targets/s1sbp6a: fix uart baud rate setting of UART1~2
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:35 +09:00
Heuisam Kwag 8fb4d80f29 targets/s1sbp6a: fix typo
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-28 17:14:26 +09:00
Martin Kojtal f38aa597c8
Merge pull request #13632 from sdrstone1/master
fix DAPLINK error for S1SBP6A Target using GNU Toolchain.
2020-09-23 15:58:53 +01:00
Martin Kojtal f3d91fdba1
Merge pull request #13633 from jeromecoutant/PR_WB_FLASH_BARE
STM32WB: FLASH compilation issue with baremetal
2020-09-23 15:58:38 +01:00
Martin Kojtal cd9a0d1f49
Merge pull request #13634 from jeromecoutant/PR_L4_IAR
STM32L4: link issue with IAR
2020-09-23 15:57:35 +01:00
Bora Özgen 0604c49a2e Apply suggestion from review 2020-09-23 16:04:23 +02:00
Martin Kojtal 60cbab381d
Merge pull request #13640 from isaev-d/fix-pll-stm32h743
STM32: Fix system clock setup for XTAL and/or internal source on STM32H743
2020-09-23 10:53:58 +01: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
Bora Özgen 011cd19175 Remove weak statement for HSI clock config 2020-09-23 10:59:00 +02:00