Laurent Meunier
5871a712dc
STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
...
These files are not BLE specific, but also needed for some clock setting
for instance.
In order to compile an MBED2 application, we need to move the files.
2019-03-29 16:21:40 +01:00
Laurent Meunier
27e7e4d9df
NUCLEO_WB55RG: Rework Clock and sleep support
...
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-03-29 16:21:40 +01:00
Laurent Meunier
6234b3578c
NUCLEO_WB55RG: add Cordio HCI and Transport Layer driver
...
The STM32WB Coridio driver includes:
- the Cordio HCI driver handling the reset sequence. During reset sequence
the TX POWER level is set and the BD address is defined if found in OTP
or option bytes. The rest of the sequence is based on the standard CORDIO
HCI driver example.
- The Transport Layer part handles sending and receiving messages to the
WB controller running on cortex-M0 of the STM32WB target. The messages
are shared through shared memory and mailboxes system based on IPCC HW.
2019-03-29 16:21:39 +01:00
Laurent Meunier
16ed1097aa
NUCLEO_WB55RG: WB Transport Layer Cube files modifications
...
- Need to force ARM packed redefinition
- Configure LL stack in LL mode only
- Remove warning in shci_tl.c (PLACE_IN_SECTION)
2019-03-29 16:21:39 +01:00
bcostm
e8a49e9605
NUCLEO_WB55RG: add WB Cube files reused for BLE transport layer
2019-03-29 16:21:39 +01:00
Cruz Monrreal
9c381f27ec
Merge pull request #10243 from michalpasztamobica/nanostack_bringdown_blocking
...
Nanostack::EthernetInterface::bringdown() can handle blocking mode
2019-03-29 10:20:47 -05:00
Cruz Monrreal
eef1b4868d
Merge pull request #10094 from desmond-blue/fix_ble_gattserver_autorization_list
...
BLE: Fix ble gattserver autorization list registration
2019-03-29 10:11:50 -05:00
Cruz Monrreal
1c35b95d89
Merge pull request #10072 from nick-atmosphereiot/master
...
Adding variable length attributes to Maxim Feather
2019-03-29 10:10:21 -05:00
Marc Emmers
bd74cb2ab7
Removed function calls from mbed_assert, which caused the functions to be ignored in release mode
2019-03-29 09:47:28 +01:00
Cruz Monrreal
4af3c38078
Merge pull request #10210 from jarvte/cellulardevice_from_context
...
Cellular: CellularContext must provide access to CellularDevice
2019-03-28 17:09:48 -05:00
Cruz Monrreal
716beb96ad
Merge pull request #10214 from hasnainvirk/rx_metadata_toa
...
LoRaWAN: Adding TOA and Channel info in RX metadata
2019-03-28 17:07:39 -05:00
Cruz Monrreal
cd8d362899
Merge pull request #10231 from artokin/nanostack_armc6_update
...
Nanostack ARMC6 update
2019-03-28 17:07:32 -05:00
Cruz Monrreal
48c78ae79a
Merge pull request #9971 from KariHaapalehto/status_callback
...
Correct thread status callback functionality
2019-03-28 17:05:34 -05:00
David Saada
732dd36c90
Remove FEATURE_STORAGE and all underlying deprecated features
2019-03-28 23:10:05 +02:00
Cruz Monrreal
d3d0622ac8
Merge pull request #10230 from u-blox/cellular_network_test
...
Cellular: cellular_network_test Compilation Error Removed
2019-03-27 17:07:32 -05:00
Cruz Monrreal
4cdc3b7cb8
Merge pull request #10219 from paul-szczepanek-arm/fix-legacy-scan-timeout
...
BLE: fix scan timeout being called from interrupt
2019-03-27 13:35:06 -05:00
Michal Paszta
ccc83f7e3b
Nanostack::EthernetInterface::bringdown() can handle blocking mode
...
This let the tests-network-interface test pass for nanostack.
2019-03-27 16:34:46 +02:00
Hasnain Virk
8fd791db49
Adding TOA and Channel info in RX metadata
...
We provide now downlink channel frequency and time on air for the
received frame in the RX metadata.
Previously the channel information in both TX and RX metada contained
the index number of the channel. That information wasn't very useful
except the index numbers of default channels. To make more sense of the
meta data, we now store the channel frequency in the channel parameter
rather than the index number of the channel.
RX time on air is collected from the radio driver and it is assumed that
the downlink frame had 8 downlink preamble symbols (plus 4.25 of the
preambles added by the chip) for LoRa modulation.
This commit also include a bit of tidying of RX frequency storage in rx
configuration parameters storage. Previously we were missing filling in
the RX1 frequency correctly.
2019-03-27 10:23:43 +02:00
Cruz Monrreal
2520c77e75
Merge pull request #10110 from theamirocohen/improve_gen_bd_tests
...
Improve genenral BlockDevice tests
2019-03-27 00:34:19 -05:00
Cruz Monrreal
a0a265ad84
Merge pull request #10196 from hasnainvirk/premature_rx2_fix
...
LoRaWAN: Fixing premature RX2 closure
2019-03-27 00:26:12 -05:00
Cruz Monrreal
365cf1143e
Merge pull request #10162 from pan-/cordio-driver-notify-inactivity
...
BLE - Notify HCI driver of host stack inactivity
2019-03-27 00:26:02 -05:00
Cruz Monrreal
e8e6ad4a06
Merge pull request #10190 from tymoteuszblochmobica/fixtcp
...
Fixed compilation error in LWIPStack class if lwip tcp is disabled.
2019-03-27 00:23:37 -05:00
Cruz Monrreal
eff15804b7
Merge pull request #10154 from itziardelatorre/itziar
...
Fix for LoRaWAN downlink sequence counter rollover
2019-03-27 00:22:37 -05:00
paul-szczepanek-arm
82112b6c52
simplify call
2019-03-26 10:53:10 -05:00
paul-szczepanek-arm
de539e146b
update comments
2019-03-26 10:53:10 -05:00
paul-szczepanek-arm
dad6844167
bounce scan timeout of the queue
2019-03-26 10:53:10 -05:00
mudassar-ublox
71e5a1d2e7
cellular_network_test compilation error removed
2019-03-26 18:04:42 +05:00
Amir Cohen
ba6748fe41
Improve general Block Device tests
...
Fixing all rand issues, aligning erase addresses, moving prints to debug mode.
2019-03-26 14:49:57 +02:00
mudassar-ublox
0ed71541c5
power on wait increased for C030_U201
2019-03-26 17:06:05 +05:00
Arto Kinnunen
adedd05139
Fix compiler warnings in Nanostack HAL
...
Fix compiler warnings:
-"warning: 'size' argument to memset is '0'"
-"warning: implicit declaration of function"
2019-03-26 13:19:33 +02:00
Arto Kinnunen
f348325dbd
Squashed 'features/nanostack/coap-service/' changes from 227cc3d..086e7ba
...
086e7ba Adjust variable scope (#121 )
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 086e7ba8a1afdcfe3df16ae92ef28cae1af5a4a6
2019-03-26 13:19:18 +02:00
Teppo Järvelin
b0ee22c96b
Cellular: CellularContext must provide access to CellularDevice
...
When using NetworkInterface::get_default_instance() application gets handle
to CellularInterface which is actually CellularContext derived from CellularInterface.
Application needs also handle to CellularDevice to open other interfaces.
2019-03-26 07:29:11 +02:00
Martin Kojtal
ac118eaedc
Merge pull request #10164 from Patater/tls-2.17.0
...
tls: Update Mbed TLS to 2.17.0
2019-03-23 16:33:52 +01:00
Martin Kojtal
f6fc71c501
Merge pull request #10152 from Patater/crypto-1.0.0
...
crypto: Update Mbed Crypto to 1.0.0
2019-03-23 16:33:32 +01:00
Hasnain Virk
2691b83c4e
Fixing premature RX2 abort
...
A bug while setting up RX start timers would result in premature closusre
of RX2 window. The 'ack_Timeout_timer' would be invoked prematurely and
at that time RX2 window may be being demodulating. This resulted in
massive instability with any test that relied on Confirmed traffic or
lower data rates.
To fix the issue, we must know the length of the RX window in
milliseconds and for this purpose we have extended the
'get_rx_window_params(...)' API. The length of the time the window
may remain open must be accounted for while setting up
'ack_timeout_timer'.
2019-03-22 15:15:51 +02:00
Hasnain Virk
2618813c70
Ack timeout must be at least 2 seconds
...
While calculating ack timeout, we were ending up getting a random value
which may become less than 2 seconds. This is not allowed as per v1.0.2
specification.
To fix the issue we now take the random number from 0 to 2000 ms and
then add that to the fixed 2000 ms ack timeout value, guaranteeing a
value at least equal to 2000 ms.
2019-03-22 15:15:51 +02:00
Martin Kojtal
1d8c3d4553
Merge pull request #10179 from u-blox/n2xx_provide_default
...
Cellular: C030_N2XX default interface
2019-03-22 06:33:24 +01:00
Martin Kojtal
e7a4658256
Merge pull request #10180 from AriParkkila/fix-wise-1570
...
Fix SPIF speed for MTB_ADV_WISE_1570 and max packet size for BC95
2019-03-22 06:32:39 +01:00
Tymoteusz Bloch
646c925d60
Fixed compilation error in LWIPStack class if lwip tcp is disabled.
2019-03-21 17:58:31 +01:00
Martin Kojtal
014a5ec487
Merge pull request #10172 from kivaisan/fix_plmn_iar_trace
...
Cellular: Fix plmn trace for IAR
2019-03-21 10:05:20 +01:00
Ari Parkkila
bdd07b6a37
Cellular: Fix max packet size for BC95 driver
2019-03-21 01:11:28 -07:00
mudassar-ublox
2f37e371b4
C030_N2XX default interface
2019-03-21 11:57:32 +05:00
Martin Kojtal
839e977bee
Merge pull request #10138 from jarvte/athandler_filehandle_not_usable
...
Cellular: don't allow ATHandler read/write if filehandle not usable
2019-03-20 15:39:12 +01:00
Kimmo Vaisanen
06caa0ff14
Cellular: Fix plmn trace for IAR
...
IAR compiler does not seem to like printing null strings.
2019-03-20 14:39:07 +02:00
Martin Kojtal
23cd1aa083
Merge pull request #10140 from jarvte/astyle_fixes
...
Cellular: fix astyle for files that already in master
2019-03-20 13:24:23 +01:00
Martin Kojtal
c6d3d8326e
Merge pull request #10005 from TeemuKultala/cellular_remove_device
...
cellular: remove last CELLULAR_DEVICE references
2019-03-20 13:18:23 +01:00
Kevin Bracey
9ad90691a3
CellularBase -> CellularInterface tidy
...
Remove remaining references to deprecated CellularBase in code, avoiding
one warning.
Add deprecation to Doxygen.
2019-03-20 10:12:14 +02:00
Jaeden Amero
20598bcea1
tls: Update Mbed TLS to 2.17.0
...
There are no differences from the previously imported version of Mbed
TLS other than the version number.
2019-03-19 16:55:56 +00:00
Vincent Coubard
339c57f6a7
BLE - Use low power timeout in cordio::BLE::callDispatcher .
2019-03-19 16:26:29 +00:00
Vincent Coubard
63b7e69d89
BLE - Signal to the HCI driver when the host stack is inactive
2019-03-19 16:25:24 +00:00
Vincent Coubard
7ee811141b
BLE - Add CordioHCIDriver::on_host_stack_inactivity
...
This callback should be called by the host stack when it has no pending activities. It allows a driver to put its controller to sleep.
2019-03-19 16:08:04 +00:00
itziar
4c1fedd72a
Applied suggested astyle fix(es)
2019-03-19 10:11:15 +01:00
itziar
5beef7405c
Bug related to downlink sequence counter rollover
2019-03-19 10:11:14 +01:00
Martin Kojtal
54602f55ba
Merge pull request #10108 from theamirocohen/fix_is_valid_erase
...
Fix functionality for FlashIAPBD & SlicingBD
2019-03-19 09:31:33 +01:00
Jaeden Amero
11ef5a0a72
crypto: Update Mbed Crypto to 1.0.0
...
There are no differences from Mbed Crypto 1.0.0d7 other than the version
number.
2019-03-18 16:17:02 +00:00
Teppo Järvelin
de7520bd97
Cellular: fix astyle for files that already in master
2019-03-18 13:50:10 +02:00
Teppo Järvelin
174d95709c
Cellular: don't allow ATHandler read/write if filehandle not usable
...
For example after going to ppp mode we must block at write and
read as filehandle is not usable.
2019-03-18 13:37:48 +02:00
Martin Kojtal
6b84b14ab6
Merge pull request #10081 from jarvte/move_call_CGEREP
...
Cellular: call AT+CGEREP after sim is ready
2019-03-18 11:26:41 +01:00
Teemu Kultala
614b014d05
cellular: remove last CELLULAR_DEVICE references
2019-03-18 10:07:30 +02:00
Martin Kojtal
964f5ad321
Merge pull request #10098 from ghseb/credentials-for-connection-profile
...
Cinterion Cellular: Setup connection profile with username and password
2019-03-18 08:13:32 +01:00
Martin Kojtal
4cf22b39d6
Merge pull request #10029 from AriParkkila/cellular-device_serial
...
Cellular: Remove compile dependency of UARTSerial
2019-03-18 08:12:27 +01:00
Teppo Järvelin
dba3d42362
Cellular: call AT+CGEREP after sim is ready
...
Current implementation did call AT+CGEREP before sim was ready
and it was failing in most modems.
2019-03-18 08:10:09 +02:00
Cruz Monrreal
05f18fc7f6
Merge pull request #10100 from ghseb/support-ehs5-e
...
Cellular: Support Cinterion EHS5-E cellular module
2019-03-16 23:00:51 -05:00
Cruz Monrreal
c81a292921
Merge pull request #10092 from desmond-blue/fix-ble-on_phy_update_complete
...
BLE:fix on_phy_update_complete function
2019-03-16 23:00:37 -05:00
Cruz Monrreal
6c4b4a5212
Merge pull request #10084 from mirelachirica/info_resp_issue_8829
...
Cellular: AT information response to return false on empty prefix
2019-03-16 22:59:24 -05:00
Cruz Monrreal
b433b16a11
Merge pull request #10014 from artokin/nanostack_interface_error_mapping
...
Update nanostack-interface error mapping
2019-03-16 22:58:24 -05:00
Cruz Monrreal
9ecde429f9
Merge pull request #9992 from pan-/ble-use-low-power-ticker
...
BLE - Use low power timing primitives
2019-03-16 22:56:43 -05:00
Cruz Monrreal
961c9e2e13
Merge pull request #9988 from paul-szczepanek-arm/fix-cordio-tick
...
BLE: fix tick rate set to 10 ms
2019-03-16 22:56:24 -05:00
Cruz Monrreal
e697d3770d
Merge pull request #9935 from jarvte/lwip_timeout_bringup_link
...
Increased timeout for lwip waiting netif_is_link_up
2019-03-16 22:54:57 -05:00
Cruz Monrreal
7fa995860f
Merge pull request #9921 from desmond-blue/fix_Cordio-insert-characteristic-handle-error
...
BLE:Cordio:Fix insert characteristic not handle error
2019-03-16 22:54:37 -05:00
Cruz Monrreal
7cdc5b057c
Merge pull request #9919 from pan-/workaround-extended-report
...
BLE - Report extended advertising in legacy handler
2019-03-16 22:54:21 -05:00
Cruz Monrreal
dbb33ef423
Merge pull request #9801 from vmedcy/fix-eventqueue-h
...
Correctly include EventQueue.h
2019-03-16 22:52:40 -05:00
David Saada
eb5cef84fd
Add bootloader support for the LPC55S69 board
...
bla
2019-03-16 00:13:40 +02:00
Martin Kojtal
78a3d99c81
Merge pull request #9941 from marcuschangarm/fix-rspif
...
Add missing RSPIF component to the defaut BlockDevice handler
2019-03-15 18:08:04 +01:00
Martin Kojtal
686095e213
Merge branch 'remove_no_greentea' of https://github.com/kfnta/mbed-os into rollup
2019-03-15 08:46:14 +00:00
Martin Kojtal
4cf7864bb5
Merge branch 'wisun_network_default_name' of https://github.com/artokin/mbed-os into rollup
2019-03-15 08:45:57 +00:00
Martin Kojtal
4a24bd1f0a
Merge branch 'fix_lwip_debug_log_compile' of https://github.com/jarvte/mbed-os into rollup
2019-03-15 08:45:26 +00:00
Martin Kojtal
759627ff12
Merge branch 'plmn_stm_fix2' of https://github.com/jarvte/mbed-os into rollup
2019-03-15 08:45:14 +00:00
Martin Kojtal
74f13dd8de
Merge branch 'fix_Cordio-descriptor-set-cback' of https://github.com/desmond-blue/mbed-os into rollup
2019-03-15 08:44:55 +00:00
Martin Kojtal
0597e33765
Merge branch 'patch-9' of https://github.com/janjongboom/mbed-os into rollup
2019-03-15 08:44:40 +00:00
Martin Kojtal
9960ea93ed
Merge branch 'fix-ble-cordio-reset-sequence' of https://github.com/desmond-blue/mbed-os into rollup
2019-03-15 08:43:59 +00:00
Sebastian Stockhammer
744e648673
Disable dual stack mode for ehs5-e
2019-03-15 09:32:26 +01:00
Sebastian Stockhammer
6b7b36a3b4
Revert "Disable dual stack mode"
...
This reverts commit 8611474e6c
.
2019-03-15 09:31:49 +01:00
Sebastian Stockhammer
8611474e6c
Disable dual stack mode
2019-03-15 09:26:43 +01:00
Sebastian Stockhammer
2c3c14c52b
Fix registration modes and disable CGSN with type
2019-03-15 09:00:56 +01:00
Martin Kojtal
0e37fc206c
Merge pull request #10097 from 0xc0170/rollup
...
Rollup PRs: simple fixes
2019-03-15 08:04:29 +01:00
Desmond Chen
196a7666fe
BLE:Fix gattserver authorization list update permission check
2019-03-15 12:11:12 +08:00
Cruz Monrreal
08617098d6
Merge pull request #10088 from avolinski/master
...
Temporary disable Crypto HW accelerator on UBLOX_EVK_ODIN_W2
2019-03-14 21:43:59 -05:00
Cruz Monrreal
d53ff0b3c4
Merge pull request #10101 from kfnta/nxp_reduce_its
...
LPC55S69_S: reduce ITS size to 32KB
2019-03-14 13:22:47 -05:00
Amir Cohen
7fac0722a4
Fix functionality for FlashIAPBD & SlicingBD
...
Due to discovery of inconsistent sector sizes in devices storage the is_valid_erase function was adjusted,
For FlashIAPBD the 'code size' was included to the calculation, preventing faulty "virtual" addresses calculation.
For SlicingBD the same error was fixed and in all 3 validation functions that sent addresses for validation and program/read/erase
different addresses.
2019-03-14 17:46:10 +02:00
avolinski
f976ce3c18
Temporary disable Crypto HW accelerator on STM32F439xI chipset due to issue: https://github.com/ARMmbed/mbed-os/issues/10095
2019-03-14 17:00:06 +02:00
Michael Schwarcz
dca3ebe9f6
LPC55S69_S: reduce ITS size to 32KB
...
- Reduce LPC55S69 secure side ITS from 64KB to 32KB
2019-03-14 15:49:44 +02:00
Sebastian Stockhammer
febcea00f3
Support Cinterion EHS5-E cellular module
2019-03-14 13:50:10 +01:00
Yossi Levy
0880f90d48
Updating CY8CKIT_062_WIFI_BT_PSA bootloader image
2019-03-14 14:26:23 +02:00
Oren Cohen
2fd7dc9b8d
Update features/FEATURE_BOOTLOADER/targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_WIFI_BT_PSA/mbed_lib.json
...
Co-Authored-By: yossi2le <yossi.levy@arm.com>
2019-03-14 14:26:23 +02:00
Yossi Levy
dd27a3400b
mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE
2019-03-14 14:26:23 +02:00
Martin Kojtal
b80c961dae
Merge pull request #10034 from evgenibo/flash_protected_region_config
...
PSA: PSoc 6 configurable secure memory size
2019-03-14 13:23:58 +01:00
Martin Kojtal
5252163534
Merge pull request #9900 from michalpasztamobica/dns_async_handle_would_block
...
DNS send returning WOULD_BLOCK forces delayed retry
2019-03-14 13:01:20 +01:00
Martin Kojtal
8b94f3b2ff
Merge branch 'patch-7' of https://github.com/janjongboom/mbed-os into rollup
2019-03-14 11:37:26 +00:00
Martin Kojtal
d5eb98e66a
Merge branch 'cellular_BC95_leak_fix' of https://github.com/TeemuKultala/mbed-os into rollup
2019-03-14 11:37:10 +00:00
Martin Kojtal
4df969fc2c
Merge branch 'tr-debug-cell' of https://github.com/sarahmarshy/mbed-os into rollup
2019-03-14 11:36:59 +00:00
Sebastian Stockhammer
ee17c7c996
Setup connection profile with username and password
2019-03-14 12:03:12 +01:00
Evgeni Bolotin
c0bc56737b
modify rpb base address for M0
2019-03-14 11:29:46 +02:00
Oren Cohen
fc97a75632
Remove #ifndef NO_GREENTEA from tests
2019-03-14 11:16:44 +02:00
Martin Kojtal
ab0bc65e0d
Merge pull request #9873 from wajahat-ublox/udnsrn_timeout
...
Corrected timeout for +UDNSRN command
2019-03-14 09:38:20 +01:00
Martin Kojtal
c0c02e2bd8
Merge pull request #9872 from KariHaapalehto/burst_nonblock_test_fix
...
Fix for NUCLEO_F207 UDPSOCKET_ECHOTEST_BURST_NONBLOCK fails.
2019-03-14 09:16:59 +01:00
Martin Kojtal
cf76b74aad
Merge pull request #9837 from jarvte/drop_bg96_cgact_support
...
Cellular: CGACT not supported in coming firmware in BG96
2019-03-14 09:16:39 +01:00
Martin Kojtal
76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
...
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
Desmond Chen
a70f0e6780
BLE:Fix cordio reset sequence
2019-03-14 15:41:10 +08:00
Desmond Chen
a6df7b2bd7
BLE:fix on_phy_update_complete function
2019-03-14 11:42:03 +08:00
Michael Schwarcz
f6ab217892
Reduce 32KB from LPC55S69_S binary size
2019-03-13 18:21:37 +02:00
Mirela Chirica
d12de2a199
Cellular: AT information response to return false on empty prefix
2019-03-13 15:49:33 +02:00
Nick
44c5c7ef5a
Formatting fix
2019-03-13 07:58:24 -04:00
Ari Parkkila
903a6f2e7e
Cellular: Remove compile dependency of UARTSerial
2019-03-12 23:57:43 -07:00
Nick
e08b200eef
Adding variable length attributes to Maxim Feather
2019-03-12 18:49:45 -04:00
Kari Haapalehto
d9448364da
Correct thread status callback functionality.
...
At the start-up, there was 2 NSAPI_STATUS_CONNECTING callbacks,
so extra one removed from ThreadInterface.cpp.
At the network lost case, there was NSAPI_STATUS_DISCONNECTED and
NSAPI_STATUS_LOCAL_UP callbacks. NSAPI_STATUS_DISCONNECTED has been removed,
since the NSAPI_STATUS_LOCAL_UP is enought.
2019-03-12 13:13:55 +02:00
Martin Kojtal
84e4decad0
Merge pull request #10042 from paul-szczepanek-arm/fix-pal-paths
...
BLE: fix conflicting include by qualifying cordio pal includes
2019-03-12 08:26:53 +01:00
Netanel Gonen
053e07b6dc
change the include to mbedtls/config.h
2019-03-11 19:03:08 +02:00
paul-szczepanek-arm
abb2942fc5
qualify cordio pal includes
2019-03-11 16:52:40 +00:00
Michal Paszta
ee056daf86
DNS recv/send returning WOULD_BLOCK force delayed retry
2019-03-11 13:33:06 +02:00
Martin Kojtal
774294d1e2
Merge pull request #10012 from donatieng/ublox_odin_w2_static_random_addr
...
Generate BLE Static Random Address on U-blox Odin-W2 platform
2019-03-09 17:40:21 +01:00
Sarah Marsh
ae45096ce6
Fix undefined tr_debug for QUECTEL_BG96 cellular feature
2019-03-08 11:22:11 -06:00
Arto Kinnunen
f0d7e205ff
Update nanostack-interface error mapping
...
Use status NSAPI_ERROR_PARAMETER instead of NSAPI_ERROR_UNSUPPORTED
when error is caused by parameter.
2019-03-08 16:28:20 +02:00
Mahesh Mahadevan
c607b8ab1a
LPC55S69: Update the KVStore config files
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:47 -06:00
Donatien Garnier
041d53de25
Generate BLE Random Static Address on U-blox Odin-W2 platform
2019-03-08 12:50:08 +00:00
Martin Kojtal
b19fa515a6
Merge pull request #9982 from artokin/nanostack_update_for_mbedos_512
...
Nanostack update for Mbed OS 5.12
2019-03-08 12:05:00 +01:00
Martin Kojtal
820a2e284d
Merge pull request #9908 from morser499/pr/cy-mbed-os-5.12.0
...
Pr/cy mbed os 5.12.0
2019-03-08 11:01:41 +01:00
Cruz Monrreal
57ec1d57b9
Merge pull request #9990 from kfnta/sync_complinace_test_to_latest
...
Sync PSA compliance test to latest version
2019-03-07 23:36:56 -06:00
Vincent Coubard
b183ba1d01
BLE - Use LowPower Ticker and Timer for address rotation and scan timeout.
2019-03-07 16:49:58 +00:00
Vincent Coubard
a105db38ce
BLE - Use LowPowerTimer instead of Timer in the Cordio stack.
2019-03-07 16:45:46 +00:00
Vivek Pallantla
0cce5d53b8
PSOC6 deep-sleep changes
...
- Enable add MBED_TICKLESS in targets/targets.json
- BLE : deep-sleep aware HCI transport driver
- WIFI: deep-sleep aware driver
- Rebuild WICED libraries with Low Power changes
2019-03-07 08:40:20 -08:00
Oleg Kapshii
aedec74b9a
Added support for PSA target to WIFI_BT board
...
Added WiFi_Bt CM4 PSA target in mbedos json
Added SPE-NSPE mailbox initialization for CM4 SystemInit
Made similar to FUTURE_SEQUANA configurations
Copied FUTURE_SEQUANA CM0 SPM part for WiFi_Bt smoke test
Added CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Sorted files for new CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Copied files for CY8CKIT_062_WIFI_BT_M0_PSA from FUTURE_SEQUANA
Copied and updated cm0p start files
Corrected according to FUTURE_SEQUANA
Changes to M0 startup files to have SPM started
Fixed implicit declaration warning
Commented interrupts enabling according to FUTURE_SEQUANA flow
Updated prebuild spm_smore CM0 hex for CM4 target
Turned on greentea environment
Used special memory region for common CM0/CM4 data
Updated prebuild CM0 SPM hex
Placed shared memory region for flash operations into SPM shared memory region
Updated cyprotection code and configuration
Start address of protected regions is set by a defined number from target.json
Added masters pcMask configuration
Added support for PSA target to WIFI_BT board
Enabled resources protection for SPM
Aligned RAM usage according to Cypress FlashBoot and CyBootloader
alligned protection config
Added CYW943012P6EVB_01_M0 target
Enlarged heap size, remobed nv_seed
Added heap reservation in linker script from mbed-os
Removed heap size definition
turned on nv_seed config
Removed nv_seed macros
Enabled protection for PSoC6 CM0
Added PSoC6 CM0 PSA readme
Enabled mbed_hal-spm test
Enabled nv_seed and removed unneeded ipc config define
Added SPDX string to feature_ble cypress target files
Removed unneeded supported_toolchains lines for Cypress targets
Disabled protection settings
Corrected flash initialization for PSoC6 CM0 PSA
Changed PSoC6 IPC6 protection for flash
Enabled special flash initialization and enabled protection settings
Updated and added new prebuild PSoC6 CM0 PSA hex files
Disabled HW TRNG and CRC for PSoC6 CM4 PSA target
Added missing const to allow types to match
Updated PSoC6 WIFI_BT_PSA prebuilt directory
Moved PSoC6 shared section usage area definition to begin of ld
Added initial ARM_STD linker and startup files for PSoC6 CM0
Added initial IAR linker and startup files for PSoC6 CM0
Added defines to disable some SPM protection settings for PSoC64
Moved Flash function variables into separate memory region
Added defines for new Public area definition
Updated PSoC6 CM0_PSA hex-files
2019-03-07 08:40:20 -08:00
Cruz Monrreal
ff78bc4b7c
Merge pull request #9973 from kfnta/tfm_num_threads
...
TF-M config: Add max_ns_thread_count parameter
2019-03-07 10:28:11 -06:00
paul-szczepanek-arm
42d3a58d66
change tick rate to 1 ms
2019-03-07 16:07:25 +00:00
Nir Sonnenschein
c99f03d0ce
add mbed_lib.json to prevent inclusion in bare-metal builds
2019-03-07 18:04:59 +02:00
Nir Sonnenschein
517bb1a64a
remove sid.h as it is now supplied by PSA
2019-03-07 18:04:27 +02:00
Nir Sonnenschein
a772d9d327
add comment explaining attestation keys for test use
2019-03-07 17:50:54 +02:00
Jan Jongboom
a5c6d423bc
tsi/main.cpp is using wrong `printf` format
...
`%` needs to be escaped as well.
2019-03-07 16:36:29 +01:00
Jan Jongboom
3e4010748c
test_soap_connection_handler leaks memory when open_connection fails
...
sckt_data is not free'd when `coap_connection_handler_open_connection` fails.
2019-03-07 16:27:59 +01:00
Arto Kinnunen
e92e7b9a88
Merge commit 'fbef0d8e70234611e131a94c4f4e97bd99634548'
...
* commit 'fbef0d8e70234611e131a94c4f4e97bd99634548':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 76da6a5..84a07ce
2019-03-07 17:26:32 +02:00
Jan Jongboom
eed2b390d9
Dead pointer usage in GenericSecurityManager
...
`pscrk` is set to the address of `csrk`, but `csrk` is out of scope when using the resulting value. There's no guarantee that the memory is still valid.
2019-03-07 16:21:52 +01:00
Cruz Monrreal
a87c7c82f3
Merge pull request #9312 from kfnta/psa_compliance
...
PSA compliance tests suite
2019-03-07 09:14:58 -06:00
Nir Sonnenschein
4edb6dac6c
removed redundant code + added comment
...
Thanks @cmonr.
2019-03-07 12:30:57 +02:00
Michael Schwarcz
14aa347040
TF-M config: Add max_ns_thread_count parameter
2019-03-07 12:18:19 +02:00
Teemu Kultala
71a1ed9c8e
cellular: BC95 memory leak fix
2019-03-07 11:58:20 +02:00
Cruz Monrreal
7b3cc93cb4
Merge pull request #9907 from pan-/fix-cordio-conf
...
BLE - Fix cordio configuration
2019-03-06 13:45:41 -06:00
mudassar-ublox
f19a412a55
Applied suggested astyle fixes
2019-03-06 11:00:50 +05:00
Cruz Monrreal
26920fe0cc
Merge pull request #9931 from offirko/offir_nxp
...
Reduce number of threads in block device test
2019-03-05 22:48:10 -06:00
David Saada
3c14dd4d6e
Fix test skip message to not enough heap
2019-03-05 22:42:46 +02:00
offirko
4075d6ee49
Add pre test resource verifications
2019-03-05 22:42:45 +02:00
offirko
e41118796a
Reduce number of threades in block device test
...
In addition, prevent FS tests from running on internal flash,
due to the fact that file system on internal flash is not part of
our offering (TDBStore should be used there instead).
2019-03-05 22:40:24 +02:00
Martin Kojtal
63dd5cba35
Merge pull request #9920 from sbutcher-arm/mbedtls-5.12-release
...
Update Mbed TLS for 5.12 release to Mbed TLS development HEAD
2019-03-05 18:15:52 +01:00
Marcus Chang
ee8632f993
Add missing RSPIF component to the defaut BlockDevice handler
2019-03-05 08:25:48 -08:00
Netanel Gonen
2982907e37
rework for mbed-os intf for ACK tests
...
-rework test wrapper functions to simplify test main
-move greentea init before test setup code to avoid boards losing sync.
2019-03-05 17:07:34 +02:00
Teppo Järvelin
a830dbf47d
Cellular: removed manual registering state.
...
Simplified state machine by removing manual registering state.
This was done as some modems did not have all the needed at commands
for checking the registered network. Some modem run out of memory as when
checking correct network there might be so many networks available.
Manual registration still works but it does not do any checks to which network
it's registered. Moved manual registering at command earlier in state machine so it forces
registering to a correct network. Internal refactor/fix, does not affect applications.
2019-03-05 13:17:25 +02:00
Teppo Järvelin
5d04df7afc
Fix lwip to compile if MBED_CONF_LWIP_DEBUG_ENABLED is defined
...
File features/lwipstack/lwip-sys/arch/cc.h fails to compile
with error: 'MBED_NORETURN' does not name a type.
Fix with adding correct include.
2019-03-05 12:19:25 +02:00
Teppo Järvelin
5680ce5f56
Increased timeout for lwip waiting netif_is_link_up
...
Cellular PPP connect fails too often if timeout is 15s so increased to 60 seconds.
Tested to be enough with BG96 and MTB_MTS_DRAGONFLY.
2019-03-05 12:08:35 +02:00
David Saada
eb29af5f8a
Fix direct access to device key test for small erase/program ratio
...
This commit fixes the failure in the "Direct access to device key" test,
when working with internal flash components, whose erase size to program
size ratio is small. In such cases, the last two sectors are not large
enough to store the device key.
2019-03-05 11:32:29 +02:00
Desmond Chen
3fe18a1f7d
BLE:Cordio:Fix insert characteristic not handle error
2019-03-05 09:57:21 +08:00
mudassar-ublox
578fb7ae2b
updated api and removed Astyle issue
2019-03-04 16:47:15 +05:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Arto Kinnunen
7ec9be6a6d
Update Wi-SUN network default name
2019-03-04 10:07:31 +02:00
Desmond Chen
070a412432
BLE:Cordio:insert_descriptor check r/w properties
2019-03-04 11:08:15 +08:00
Simon Butcher
5285b39c01
Update Mbed TLS to the latest development version
...
This updates Mbed TLS to the latest development version, commit 535ee4a35b9c
in the Mbed TLS repo.
2019-03-03 23:04:00 +00:00
Simon Butcher
86825a65b6
Move the Mbed TLS target to the development branch
...
Before moving to the new release of Mbed TLS, this moves the default imported
version of Mbed TLS to the development branch, and will import the HEAD of the
branch, not just a specific release.
2019-03-03 22:59:00 +00:00
Simon Butcher
21c6c90519
Make the storage configs dependent on the PSA label
...
This commit makes the storage configurations - setting
MBEDTLS_PSA_CRYPTO_STORAGE_C, MBEDTLS_PSA_CRYPTO_STORAGE_ITS_C and unsetting
MBEDTLS_PSA_CRYPTO_STORAGE_FILE_C - dependent on the PSA label being defined for
the target.
Previously these symbols were always defined for all platforms which could
cause problems for targets that don't yet support PSA.
2019-03-03 22:55:38 +00:00
Nir Sonnenschein
1650a923eb
add main functions to each compliance test
...
add main function to each compliance test , moving shared code to a common file
2019-03-03 22:50:59 +02:00
Nir Sonnenschein
eae1252c29
changes to test infrastructure to adapt it to green-tea
...
changes to test infrastructure to adapt it to green-tea
Make ITS testing default
Fix IAR build issues
2019-03-03 22:47:33 +02:00
Vincent Coubard
25438875c9
BLE - Report extended advertising in legacy handler if legacy API in use.
...
Workaround for the Cordio stack as extended advertising can be reported for a legacy advertising command.
2019-03-03 19:30:42 +00:00
Nir Sonnenschein
b64fb53d43
[api-tests]: Updated to cb58d2c
2019-03-03 15:51:26 +02:00
Cruz Monrreal
4043623805
Merge pull request #9864 from paul-szczepanek-arm/cordio-host-upgrade
...
BLE: Cordio host upgrade
2019-03-01 18:54:51 -06:00
kegilbert
194fa129fb
Update recently added previous macro name uses in tests
2019-03-01 13:53:47 -06:00
kegilbert
8cef1904c5
Move socket-stats-enable to socket-stats-enabled.
...
This conforms with the other stats config option names
2019-03-01 13:31:33 -06:00
Vincent Coubard
b21e1d23d5
BLE - Register the Att call handler whenever the GATT_SERVER is available.
2019-03-01 18:33:22 +00:00
Vincent Coubard
77511c3983
BLE - Call SecInit unconditionally as it is required by low HCI level driver
...
That module handles random number incomming from the controller. Overhead is low (less than 150 bytes of flash).
2019-03-01 18:32:19 +00:00
Vincent Coubard
2f98901050
BLE - Avoid calling v2 API in GenericGap::reset_ if not required.
2019-03-01 18:31:06 +00:00
Martin Kojtal
10f2c05318
Merge pull request #9898 from jarvte/connect_disconnect_fix
...
Cellular: fix connect-disconnect sequence called many times
2019-03-01 17:34:30 +01:00
paul-szczepanek-arm
61b063129d
MBED_WEAK in random spot removed
2019-03-01 15:05:59 +00:00
paul-szczepanek-arm
f740985627
remove define that trips up IAR
2019-03-01 14:46:43 +00:00
Teppo Järvelin
0905f01438
Cellular: Removed API get_connection_status() from CellularNetwork
...
This was left accidentally after refactoring.
It wasn't giving correct states after refactoring.
CellularContext::get_connection_status should be used instead.
2019-03-01 14:51:05 +02:00
Teppo Järvelin
ec73c8a9c7
Cellular: fix connect-disconnect sequence called many times
...
Fix syncing back to at mode after ppp disconnect.
Fix AT_CellularContext flags and states to allow new connect after disconnect.
Fix that state machine is not reseted in disconnect is it's running (might be
running because of another context or new connect already started).
2019-03-01 14:47:41 +02:00
paul-szczepanek-arm
34ef17370b
fix signing permissions
2019-03-01 11:58:52 +00:00
paul-szczepanek-arm
e247852043
reinstate fixes
2019-03-01 11:23:28 +00:00
paul-szczepanek-arm
0c855780d1
remove duplicate headers
2019-03-01 10:59:44 +00:00
paul-szczepanek-arm
64e70e8ca0
cordio controller change from library to source
2019-03-01 10:59:44 +00:00
paul-szczepanek-arm
a3c1345d45
these consts are not in fact const
2019-03-01 10:59:42 +00:00
paul-szczepanek-arm
fdb10908cc
fix warning of no return
2019-03-01 10:59:42 +00:00
paul-szczepanek-arm
2c10b93a12
deal with not implemented functions
2019-03-01 10:59:42 +00:00
paul-szczepanek-arm
8989e39bb1
update copyright years
2019-03-01 10:59:42 +00:00
paul-szczepanek-arm
dc66204c1b
cordio host sources updated
2019-03-01 10:59:41 +00:00
Cruz Monrreal
f8d254fc4c
Merge pull request #9790 from paul-szczepanek-arm/ble-conf
...
Ble conf
2019-02-28 22:08:41 -06:00
Cruz Monrreal
024cae5442
Merge pull request #9835 from orenc17/no_greentea
...
Add define to skip greentea sync
2019-02-28 18:24:09 -06:00
Cruz Monrreal
aaf3ce4741
Merge pull request #9727 from pan-/optimize-size
...
BLE API devirtualization
2019-02-28 18:20:36 -06:00
Senthil Ramakrishnan
65e765148a
Fix configuration_store.h to use right toolchain check flags
2019-02-28 11:56:31 -06:00
paul-szczepanek-arm
54a866c159
add broadcaster ifdef and pull headers into ifdef
2019-02-28 17:18:30 +00:00
Vincent Coubard
72e5d3f603
BLE - Filter user facing implementation based on configuration
2019-02-28 16:31:59 +00:00
Vincent Coubard
4e172ba22d
BLE - Fix conditional directive.
2019-02-28 16:31:34 +00:00
Vincent Coubard
74bc6774f9
BLE - Fix conditional directive.
2019-02-28 16:31:07 +00:00
Vincent Coubard
eeca03f952
BLE - Fix exclusion of getMaxAdvertisingSetNumber and getMaxAdvertisingDataLength
2019-02-28 16:29:21 +00:00
Vincent Coubard
3142f26def
BLE - Exclude services if GattServer is not available.
2019-02-28 16:28:15 +00:00
Vincent Coubard
5ae59fc534
BLE - Improve FEATURE_PRIVACY conditions.
2019-02-28 14:47:07 +00:00
Vincent Coubard
24f7f36f01
BLE - Return supported feature based on compile time features.
2019-02-28 14:23:19 +00:00
Vincent Coubard
04891b205c
BLE - Conditionally handle gap events.
2019-02-28 14:13:45 +00:00
Vincent Coubard
ea9554dfbc
BLE - restrict AttConnRegister to GattServer.
2019-02-28 14:12:56 +00:00
Vincent Coubard
9566af64fb
BLE - Fix initialization of extended advertising modules.
2019-02-28 13:51:50 +00:00
Vincent Coubard
6a3f3d187e
BLE - Conditionnally remove LESC and privacy event processing.
2019-02-28 13:45:05 +00:00
Vincent Coubard
20c4e4ced5
BLE - Fix call to implementation.
2019-02-28 13:40:09 +00:00
Vincent Coubard
020c5b4262
BLE - Disabling SecurityManager connection handling when security disabled.
2019-02-28 13:34:05 +00:00
Vincent Coubard
af09f7b8ab
BLE - Disable peer csrk retrieval if signing disabled.
2019-02-28 13:30:36 +00:00
Vincent Coubard
ca44ce3cd8
BLE - Conditionally expose SecurityManager::enableSigning
2019-02-28 13:27:16 +00:00
Vincent Coubard
eeb14c5ce6
BLE - Conditionally include address rotation at compile time
2019-02-28 13:26:51 +00:00
Vincent Coubard
632851e5ae
BLE - Small reordering to reduce diff.
2019-02-28 12:02:23 +00:00
Vincent Coubard
9e5e23aad6
BLE - Remove conditional directive in construction of Cordio objects.
2019-02-28 11:37:21 +00:00
Vincent Coubard
a31d1012db
BLE - Cleanup CordioPalSecurityManager conditional directives.
...
- Within constructor
- Within member declaration
- Private function declaration and definition.
2019-02-28 11:36:36 +00:00
Vincent Coubard
b0d62a7090
BLE - Fix conditional code within CordioPalGenericAccessService.
2019-02-28 11:35:34 +00:00
Vincent Coubard
dedc204daa
BLE - Cleanup CordioGattServer conditional directives.
2019-02-28 11:34:35 +00:00
Vincent Coubard
831241df12
BLE - Cleanup GenericSecurityManager conditional directives
...
- Inheritance lisr
- Within constructor
- Within member declaration
- Private function declaration and definition.
2019-02-28 11:33:49 +00:00
Vincent Coubard
e706b6cc52
BLE - Cleanup Generic GattClient conditional directives.
...
- Inherithance list
- private functions exposed
- members declaration.
2019-02-28 11:32:51 +00:00
Vincent Coubard
07f3ca2723
BLE - Cleanup GenericGap conditional directive
...
- Within constructor
- Within member declaration
- Private function declaration and definition.
2019-02-28 11:31:48 +00:00
Vincent Coubard
593cf2bd7c
BLE - Remove conditional compilation of FileSecurityDb
2019-02-28 11:30:07 +00:00
Vincent Coubard
f7df97bed7
BLE - Remove conditionnal directive within GattClient::WriteOp_t
2019-02-28 11:29:35 +00:00
Vincent Coubard
c9d719a8ca
BLE - Cleanup conditional directives in Gap.
...
- Remove conditional directives for member variables.
- Remove conditional directive for processXXX functions that are exclusively used by implementation.
- Remove conditional directives on types exported by the class.
2019-02-28 11:28:55 +00:00
Vincent Coubard
126a7a966e
BLE - Cleanup conditional directives in gap/Gap/
...
- Remove directives from event handler type
- Expose privacy default configuration unconditionally
- Fix conditional test for connect and cancelConnect.
2019-02-28 11:27:02 +00:00
Vincent Coubard
bc10a09c4e
BLE - Remove conditional directive removing functions in pal.
2019-02-28 11:24:08 +00:00
Vincent Coubard
3c9e778433
BLE - Remove conditionnal directive within services
2019-02-28 11:23:05 +00:00
Vincent Coubard
06b26d4e8a
BLE - remove conditional directive from value types
2019-02-28 11:22:37 +00:00
mudassar-ublox
d34b0475a9
C030_N211 api's update and removed N2XX_CellularNetwork class
2019-02-28 14:20:55 +05:00
Teppo Järvelin
4077898de1
Cellular: fix issue where CGACT not supported in coming firmware in BG96.
2019-02-28 08:36:31 +02:00
Vincent Coubard
ba9aa6b641
Fix rebase mistakes.
2019-02-27 22:15:06 +00:00
paul-szczepanek-arm
cd2501bb64
tab fix
2019-02-27 21:52:07 +00:00
paul-szczepanek-arm
a034bf875e
gatt server pass
...
mostly phy and security issues
2019-02-27 21:52:07 +00:00
paul-szczepanek-arm
f8c28fcbe7
privacy pass
2019-02-27 21:51:16 +00:00
paul-szczepanek-arm
aa6342b265
cordio security pass
2019-02-27 21:47:22 +00:00
paul-szczepanek-arm
bc3ff56504
partial security pass
2019-02-27 21:46:08 +00:00
paul-szczepanek-arm
a1815e31f0
correct dependencies for central and peripheral
2019-02-27 21:39:07 +00:00
paul-szczepanek-arm
c3a72073be
cordio extended peripheral pass
2019-02-27 21:39:07 +00:00
paul-szczepanek-arm
e950da11f2
extended doesn't depends on phy
2019-02-27 21:39:06 +00:00
paul-szczepanek-arm
ec6783ed77
cordio peripheral role pass
2019-02-27 21:39:06 +00:00
paul-szczepanek-arm
45eca7c373
cordio observer role pass
2019-02-27 21:36:26 +00:00
paul-szczepanek-arm
eb16fb6053
broadcaster role cordio pass
2019-02-27 21:34:00 +00:00
paul-szczepanek-arm
c198603c63
ble ifdefs
2019-02-27 21:17:15 +00:00
paul-szczepanek-arm
e44c3edede
fix gap ifdefs
2019-02-27 21:17:15 +00:00
paul-szczepanek-arm
909b78fc14
complete gap feature ifdef
2019-02-27 21:15:54 +00:00
paul-szczepanek-arm
630b2fe792
more gap ifdefs
2019-02-27 21:08:15 +00:00
paul-szczepanek-arm
1d5b7d4056
ifdef source files based on features
2019-02-27 21:00:11 +00:00
paul-szczepanek-arm
c8d8c4e159
merge failure fix
2019-02-27 21:00:10 +00:00
paul-szczepanek-arm
30ad32a465
ifdef out security features
2019-02-27 20:59:35 +00:00
paul-szczepanek-arm
9e710d4309
git review changes
2019-02-27 20:59:35 +00:00
paul-szczepanek-arm
cb3d79bf9b
update descriptions
2019-02-27 20:57:10 +00:00
paul-szczepanek-arm
7974726659
fixed conf file (tabs and order)
2019-02-27 20:57:09 +00:00
paul-szczepanek-arm
208eb200f1
gatt client signing
2019-02-27 20:57:09 +00:00
paul-szczepanek-arm
3e03c11832
guard class fields with ifs
2019-02-27 20:55:58 +00:00
paul-szczepanek-arm
33e8826361
whitelist feature
2019-02-27 19:46:43 +00:00
paul-szczepanek-arm
bc69e15638
revert accidental changes
2019-02-27 19:46:42 +00:00
paul-szczepanek-arm
dc3aba181e
fix BLE_CONNECTABLE_FEATURE macro
2019-02-27 19:46:12 +00:00
paul-szczepanek-arm
5a97706aab
added #if guards to cordio ble
2019-02-27 19:46:12 +00:00
Cruz Monrreal
b5bb1c1211
Update features/frameworks/greentea-client/source/greentea_test_env.cpp
...
Co-Authored-By: orenc17 <oren.cohen@arm.com>
2019-02-27 21:38:16 +02:00
paul-szczepanek-arm
bed567825f
connectable is a feature not role
2019-02-27 19:31:47 +00:00
paul-szczepanek-arm
b60eaf14a2
require macros to be defined
2019-02-27 19:31:47 +00:00
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
Martin Kojtal
7027eac9c6
Merge pull request #9838 from artokin/nanostack_for_mbed_os_5_12
...
Nanostack release for Mbed OS 5.12
2019-02-27 13:46:32 +01:00
Martin Kojtal
5b78adc69c
Merge pull request #9856 from Patater/update-mbedcrypto-1.0.0d7
...
crypto: Update Mbed Crypto to 1.0.0d7
2019-02-27 13:45:38 +01:00
Martin Kojtal
6bdbe754cd
Merge pull request #9799 from VeijoPesonen/bugfix-esp8266-dns
...
Increase events.share-eventsize to 768B because of ESP8266 AT driver and asynchronous DNS
2019-02-27 11:30:38 +01:00
Martin Kojtal
7a5831ae0a
Merge pull request #9843 from desmond-blue/fix_Cordio-Gatts-write-permission
...
Fix cordio gatts configuring write permission
2019-02-27 10:48:22 +01:00
Arto Kinnunen
5486a38527
Merge commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5'
...
* commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2cd155b..76da6a5
2019-02-27 11:02:44 +02:00
Wajahat Abbas
bafb145dfb
Corrected timeout for +UDNSRN command
2019-02-27 13:44:36 +05:00
Kari Haapalehto
7de864c465
Fix for NUCLEO_F207 UDPSOCKET_ECHOTEST_BURST_NONBLOCK fails.
...
Increase eth-rxbufnb from 1 to 2 will fix the problem
2019-02-27 10:33:24 +02:00
Jaeden Amero
d63677f207
crypto: Update to Mbed Crypto 1.0.0d7
2019-02-27 07:24:50 +00:00
Cruz Monrreal
bf92043627
Merge pull request #9795 from Patater/update-mbedcrypto-1.0.0d5
...
crypto: Update to Mbed Crypto 1.0.0d5 and then to 1.0.0d6
2019-02-26 15:55:03 -06:00
Cruz Monrreal
d29312e7ac
Merge pull request #9808 from ARMmbed/feature-iar8
...
IAR 8 feature branch merge
2019-02-26 15:30:27 -06:00
Amir Cohen
5c7f6cb755
Merge SPIF & QSPIF components test to general block device tests
...
The SPIF and QPIF components tests are fully merged into general block device tests and were deleted
2019-02-26 10:28:45 -06:00
Amir Cohen
b8fed58f12
Modifing general block device tests doe to targets enhancement
...
Due to targets enhancement some boards failed the general block device tests for flashiap component,
The fails were due to boards containing inconsistent sector sizes.
The tests were modified but should be improved to address the problem.
Rand() function issues were fixed.
2019-02-26 09:24:09 -06:00
Deepika
d2e11966fc
Revert "rand() by default does increment of 1, randomizing more"
...
This reverts commit f7a6d254f6
.
2019-02-26 09:21:19 -06: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