Anna Bridge
ad891d9658
Merge pull request #11548 from AriParkkila/cell-dns-ip
...
Cellular: Fix resolving of DNS server IPv4/6 address
2019-10-07 16:46:47 +01:00
Anna Bridge
5108f9188d
Merge pull request #11558 from Tharazi97/Coverity_fixes
...
Coverity fixes
2019-10-07 14:52:11 +01:00
jeromecoutant
af8ab49a74
Avoid compilation if target doesn't support EMAC
2019-10-07 14:01:48 +02:00
Jarkko Paso
4cab344c59
Merge commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d'
...
* commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d':
Squashed 'features/nanostack/coap-service/' changes from e9edb1b..b919a33
2019-10-07 13:08:20 +03:00
Jarkko Paso
c15478021b
Merge commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf'
...
* commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from c473148..0824752
2019-10-07 13:00:49 +03:00
jeromecoutant
587393bb45
STM32 EMAC: move from TARGET_STM_EMAC to TARGET_STM
2019-10-07 10:57:31 +02:00
Kimmo Vaisanen
1279c20ce6
Cellular: Change visibility of _is_connected as protected
...
AT_CellularContext::do_connect() is a virtual API and therefore can be overwritten in
inherited class. The problem was that it sets AT_CellularContext::_is_connected flag but
earlier it was set as private member making it impossible to set in overwritten do_connect()
method.
This commit fixes the problem by changing _is_connected as protected enabling its use
in inherited class.
2019-10-04 10:29:56 +03:00
Kyle Kearney
1cb6f7b31c
Make devicekey remainder test more meaningful
...
As of 722628be02
, the "remainder" configuration
also uses the default location near the end of flash. Which makes the two tests
nearly identical with the exception that the "last two sectors" test correctly
handles parts with a low (possibly 1:1) erase size to program size ratio.
Therefore, change the "remainder" test to instead be a "default" test that uses
the tdb_internal_address/size values, so that it
a.) tests something meaningfully different and
b.) tests using the custom TDB address/size values if they are provided.
c.) functions correctly on devices where the default sector-based size computation
does not work (e.g. because of the low erase size to program size ratio)
and therefore a custom location and size has been specified.
The is_conf_tdb_internal variable is unused and therefore removed.
2019-10-03 16:04:30 -07:00
Christopher Haster
de8df75ec0
Merge commit '70cb12e72bef7a1f220b0e5f21457b6930d984b2' into littlefs-v1.7.2
2019-10-03 09:56:09 -05:00
Anna Bridge
eeb033f814
Merge pull request #11357 from kivaisan/offloaded_tlssocket_bg96
...
Offloaded TLSSocket and BG96 support for it
2019-10-03 11:54:32 +01:00
Ari Parkkila
73145fd551
Cellular: Fix CellularStateMachine to not loop on power state
2019-10-03 01:12:14 -07:00
Kimmo Vaisanen
b6ebfeea2c
Cellular: Remove old deprecated tests
...
Cellular tests have been replaced with generic mbed-os netsocket and network interface tests.
2019-10-03 10:24:12 +03:00
mudassar-ublox
b2d0448351
setting timeout before send command
2019-10-03 12:22:17 +05:00
Vikas Katariya
c1486eaf41
Fix enum type to align with psa-arch-tests
...
This is related to https://github.com/ARMmbed/mbed-os/issues/11256
When TARGET_PSA is enabled on Cortex-A boards, the SECURE
is redeclared. So to minimize the impact we can redeclare this in
val.h which is used only by Mbed. And `security_t` itself is used in
mbed-os\components\TARGET_PSA\TESTS, but the SECURE string is not used.
Renamed to `caller_security_t` which aligns with
https://github.com/ARM-software/psa-arch-tests
2019-10-02 16:37:58 +01:00
Martin Kojtal
31114ba343
Merge pull request #11598 from JanneKiiskila/AT_Cell_err_warn
...
AT_CellularDevice.cpp - unused variable err warning
2019-10-01 13:35:03 +02:00
Martin Kojtal
828fd2378a
Merge pull request #11581 from AriParkkila/cell-pdp-cid
...
Cellular: Fix setting of PDP context ID (cid)
2019-10-01 13:32:47 +02:00
Martin Kojtal
f5b5989fc8
Merge pull request #11595 from SeppoTakalo/IOTSTOR-944
...
Check return of BlockDevice::init() in TDBStore.
2019-10-01 11:33:39 +02:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Janne Kiiskila
55f6518853
AT_CellularDevice.cpp - unused variable err warning
...
We get this compiler warning;
Compile [ 7.9%]: AT_CellularDevice.cpp
[Warning] AT_CellularDevice.cpp@206,18: variable 'err' set but not used [-Wunused-but-set-variable]
Due to the fact, that the code that would actually use this variable
is behind trace flags. Based on review feedback from Antti Kauppila and
Kimmo Väisänen, adding same flagging also for that.
- Reason being - the operation needs to be within the locks.
2019-09-30 17:11:23 +03:00
Martin Kojtal
c385e141e2
Merge pull request #11535 from AnttiKauppila/DNS_cleanup
...
DNS manual cleanup mechanism added
2019-09-30 15:55:49 +02:00
Martin Kojtal
dc64165f34
Merge pull request #11597 from mirelachirica/errno_include_macosx
...
Missing errno.h include
2019-09-30 15:54:16 +02:00
Martin Kojtal
f30f7633e0
Merge pull request #11596 from kivaisan/fix_loramac_initialization_order
...
LoRa: Fix build warning about _ongoing_tx_msg
2019-09-30 15:38:17 +02:00
Martin Kojtal
d9a141e50a
Merge pull request #11518 from MukundGitHub/origin
...
Cypress Cordio Driver Update
2019-09-30 15:27:26 +02:00
Mika Tervonen
86e3a5a021
Modified Wi-SUN tasklet to return correct status when calling connect twice
...
When calling mesh connect method twice NSAPI_ERROR_IS_CONNECTED is returned
instead of NSAPI_ERROR_DEVICE_ERROR Following the mesh API documentation.
2019-09-30 14:15:14 +03:00
Mirela Chirica
0860f3e0f6
Cellular: Removed not used variable
2019-09-30 14:14:37 +03:00
Mirela Chirica
865a504542
Cellular: Include of errno.h needed for Mac OS X
2019-09-30 14:14:37 +03:00
Seppo Takalo
513891d4f6
Check return of BlockDevice::init() in TDBStore.
...
Return value was ignored, and TDBStore:init() ended up in a
MBED_ERROR() phase after that.
TDBStore API was limited to allow returning of only two separate
errors, which may end up hiding the actual return value. Change
the documentation slightly to allow returning of original error
code from the underlying block device.
Fixes #11591
2019-09-30 13:26:56 +03:00
Kimmo Vaisanen
4da74b6619
LoRa: Fix build warning about _ongoing_tx_msg
...
_ongoing_tx_msg was incorrectly initialized before _mlme_confirmation.
Fixes following build warning:
[Warning] LoRaMac.h@691,26: 'LoRaMac::_ongoing_tx_msg' will be initialized after [-Wreorder]
[Warning] LoRaMac.h@689,28: 'loramac_mlme_confirm_t LoRaMac::_mlme_confirmation' [-Wreorder]
[Warning] LoRaMac.cpp@68,1: when initialized here [-Wreorder]
2019-09-30 12:36:55 +03:00
Antti Kauppila
d34a40a745
Cleaned up Mbed LWIP configurations
2019-09-27 15:52:40 +03:00
Anna Bridge
727b089291
Merge pull request #11517 from balajicyp/tcp_pktloss
...
TCP Packet loss happens due to running of out of Mailbox size.
2019-09-27 13:27:27 +01:00
Ari Parkkila
e449e6dcdc
Cellular: Fix setting of PDP context ID (cid)
2019-09-27 02:09:36 -07:00
Balaji
4f8036b682
TCP Packet loss when TCP Receive mailbox is full.
2019-09-25 10:58:25 -07:00
Ari Parkkila
8054b8eef8
Cellular: Fix resolving of DNS server IPv4/6 address
2019-09-25 03:16:45 -07:00
Kimmo Vaisanen
6ba0efc969
Cellular: Use more specific error codes for socket open and connect
...
- When calling socket APIs when socket is not open, NSAPI_ERROR_NO_SOCKET will be
returned instead of generic NSAPI_ERROR_DEVICE_ERROR
- If socket_send() is called when connection is not open, NSAPI_ERROR_NO_CONNECTION
will be returned instead of generic NSAPI_ERROR_DEVICE_ERROR
2019-09-25 09:25:33 +03:00
Kimmo Vaisanen
b319be14e8
Offloaded TLSSocket for BG96
...
Some external modems have an internal TLSSocket implementation which can be used
instead of mbedtls based TLSSocket. Using offloaded TLSSocket can result in
significantly reduced ROM usage.
Offloaded TLSSocket can be enabled by enabling "nsapi.offload-tlssocket" and the used
network stack (e.g. cellular modem's CellularStack class) must support the setsockopt's
defined in nsapi_types.h.
Compared to original mbedtls based TLSSocket, offloaded TLSSocket brings in one significant
API limitation. Offloaded TLSSocket requires setting of certificates and keys after open()
and before connect() calls, where mbedtls based TLSSocket allows setting these before open()
call.
2019-09-25 09:25:33 +03:00
Mukund Ghonasgi
57d4103dd8
Adapt to Target that don't support 3M BT Uart Baud
2019-09-24 16:49:54 -07:00
Kyle Kearney
832c69b1a6
Explicitly set tdb internal flash size for PSOC6
...
The default computation assumes that a flash sector is several times
larger than a flash page. On PSoC 6 targets this is not the case
(the two values are the same) so the computed size is too small.
This is a similar change to 1b1f14d36b
,
but for devices which implement TDB in internal storage.
2019-09-24 11:31:04 -07:00
Martin Kojtal
d91ed5fa42
Merge pull request #11495 from kivaisan/improve_cellular_ut
...
Improve cellular unittests
2019-09-24 16:37:02 +02:00
Martin Kojtal
e1cfb7b908
Merge pull request #11534 from kivaisan/handle_qisend_send_fail
...
Cellular: Handle SEND FAIL and ERROR response
2019-09-24 13:30:32 +02:00
int_szyk
a60df639fe
thread_mle_message_handler: fix null comparison.
...
Fixes Coverity issue about comparing nullptr.
2019-09-24 12:53:53 +02:00
int_szyk
76407bc654
sn_coap_builder: remove unnecessary code.
...
Fixes Coverity issue about unused variable.
2019-09-24 11:35:52 +02:00
int_szyk
b0b9553991
CellularStack: remove unnecessary assignment.
...
Fixes Coverity issue about unused variable.
2019-09-24 11:05:01 +02:00
int_szyk
7c13b8f6b9
CellularUtil prefer_ipv6: check length.
...
Fixes Coverity issue about not checking the length of string before copying it.
2019-09-24 10:44:38 +02:00
Mukund Ghonasgi
15ee09c4bd
Update Cordio BT Driver to support without BT Device Wake and Host Wake pins defined.
2019-09-23 11:29:57 -07:00
int_szyk
62d07707c9
NFCEEPROM: fix _ndef_buffer_reader init in ctor.
...
Fixes Coverity issue about not initialized members.
2019-09-23 15:34:07 +02:00
int_szyk
d83cbb8766
NFC-Text: fix passing null pointer to a function.
...
Fixes Coverity issue about passing nullptr to memcpy.
2019-09-23 15:33:29 +02:00
int_szyk
081183c11e
NFC-URI: fix passing null pointer to a function.
...
Fixes Coverity issue about passing nullptr to memcpy.
2019-09-23 15:30:12 +02:00
Martin Kojtal
daafb950d9
Merge pull request #11538 from mirelachirica/ipv6_to_wise_1570
...
Cellular: Enable IPV6 for WISE_1570
2019-09-20 15:29:07 +02:00
Mika Leppänen
47e5dd74e2
Enabled DER coded certificate support to Wi-SUN mesh API
...
Wi-SUN mesh API uses now nanostack certificate interface with length parameters.
This enables that either PEM or DER formatted certificates can be used. Using
the length configuration for certificates and keys is optional, so existing
applications using the PEM certificates do not require changes.
2019-09-20 13:15:28 +03:00
Antti Kauppila
6adc2440a3
DNS manual cleanup mechanism added
2019-09-20 10:20:48 +03:00
Kimmo Vaisanen
1768b653ec
Cellular: Handle SEND FAIL and ERROR response
...
QISEND command can respond either SEND OK, SEND FAIL or ERROR.
If response is not SEND OK, sent bytes should not be checked but
error should be reported.
2019-09-20 10:06:32 +03:00
Martin Kojtal
11a34ec092
Merge pull request #11521 from u-blox/clear_after_sim_pin
...
Bux fix: Context can be cleared using CGDCONT after sim ready state
2019-09-19 17:15:55 +02:00
Mirela Chirica
090ce0358f
Cellular: Enable IPV6 for WISE_1570
2019-09-19 16:19:31 +03:00
Syed Fahimuddin Alavi
a269f714cc
Fix added to unlock AT handler mutex
2019-09-19 16:46:00 +05:00
Martin Kojtal
1afece7f1b
Merge pull request #11488 from kivaisan/fix_cellular_get_interface_name
...
Cellular: Fix get_interface_name to not include leading zero
2019-09-19 12:43:45 +02:00
Martin Kojtal
c1a1c22fe9
Merge pull request #11469 from AriParkkila/cell-clear-ndef
...
Cellular: Disable cellular.clear-on-connect by default
2019-09-19 10:37:10 +02:00
Martin Kojtal
185e380233
Merge pull request #11490 from AriParkkila/cell-bg96-ifc
...
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-19 10:25:47 +02:00
Martin Kojtal
15d200f3d3
Merge pull request #11499 from kivaisan/fix_quectel_m26_send
...
Cellular: Fix stop tag for Quectel M26 send command
2019-09-19 10:22:18 +02:00
Syed Fahimuddin Alavi
828fffbc4e
Bux fix: Context can be cleared using CGDCONT after sim ready state
2019-09-19 13:01:45 +05:00
Mukund Ghonasgi
0f5e3bf126
Cypress Cordio Driver Update
2019-09-18 11:11:37 -07:00
Ron Eldor
33b7c8ea2e
Fix Failure in cc ecdh_alt montgomery curve
...
Change the order of the input keys and output secret given and
returned from the CC API, to address correct endianity.
2019-09-18 16:48:45 +03:00
Jaeden Amero
eb00fbadb4
tls: Update to Mbed TLS 2.19.1
...
Update Mbed TLS to Mbed TLS 2.19.1.
2019-09-17 15:24:09 +01:00
Kimmo Vaisanen
ba4308344b
Cellular: Fix stop tag for Quectel M26 send command
...
Possible responses for send command are SEND OK<cr><ln>, SEND FAIL<cr><ln> or ERROR<cr><ln>
so normal OK<cr><ln> response check does not work properly.
2019-09-17 15:52:14 +03:00
Jaeden Amero
60f383e01f
tls: Update export keys callback to use const
...
Mbed TLS's export keys callback requires the hello.random (for both
server and client) to be const. Make the callbacks in Mbed OS that use
the key export feature use const to match.
2019-09-17 12:57:05 +01:00
Kimmo Vaisanen
b6ecce0bfb
Add UT for AT_CellularNetwork::is_active_context
2019-09-17 12:56:47 +03:00
Kimmo Vaisanen
e824714cd8
Add UT for CellularUtil::hex_to_char and ::hex_str_to_char_str
...
Also added checks for pointer validity.
2019-09-17 12:15:03 +03:00
Ari Parkkila
823993e7b1
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-16 03:16:36 -07:00
Martin Kojtal
9673ac1283
Merge pull request #11474 from dgreen-arm/fix-mbed-crypto-importer
...
Remove Mbed Crypto source files before importing
2019-09-16 11:25:21 +02:00
Kimmo Vaisanen
ab71b2dba8
Cellular: Fix get_interface_name to not include leading zero
...
Multihoming documentation about interface name:
"Two character name string is concatenated with 8 bit value containing index which is incremented on each netif addition"
Cellular uses context id as index and to follow LWIP (LWIP::Interface::get_interface_name), index does not include leading zeros.
2019-09-16 09:59:31 +03:00
Yogesh Pande
246f431ed4
Delaying message id random initialization to later stage.
...
Random initialization sequence is causing start up issues in multiple platform
when done at construction phase.
The right thing is to delay the random initialization to later stage when the
message id is actually required. This provides system to do all necessary allocation
upfront without causing any random race condition at startup phase.
2019-09-13 16:17:14 +03:00
Martin Kojtal
bf1aa5c016
Merge pull request #11465 from kotkcy/pr/mxcrypto_alts
...
Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards
2019-09-13 12:31:12 +02:00
Martin Kojtal
66c39e0bca
Merge pull request #11424 from mirelachirica/stack_type_ip_versions
...
Stack type ip versions
2019-09-13 11:46:06 +02:00
Darryl Green
4b0f0ed61c
Remove Mbed Crypto source files before importing
2019-09-12 16:04:44 +01:00
Mirela Chirica
78f4e8b12f
Cellular: Enable IPv6 stack property for BG96
2019-09-12 12:56:29 +03:00
Mirela Chirica
7aaaae121e
Cellular: IP stack property redefined
2019-09-12 12:56:28 +03:00
Mirela Chirica
b44ba531a1
Cellular: Check IP version of send to address
2019-09-12 12:56:28 +03:00
Mirela Chirica
ea1b2b8045
Cellular: Stack type based on assigned IP addresses versions
2019-09-12 12:55:33 +03:00
Ari Parkkila
5fbcaeaca5
Cellular: Disable cellular.clear-on-connect by default
2019-09-12 00:02:14 -07:00
Kostiantyn Tkachov
9fc299a1cc
Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards
2019-09-12 01:30:54 +02:00
Martin Kojtal
3297bf4062
Merge pull request #11420 from tymoteuszblochmobica/cm3ds
...
Fixed smsc9220_emac link_out memory management.
2019-09-10 19:52:44 +02:00
Ari Parkkila
94dcab9d69
Cellular: Add API to clear CellularDevice
...
A new API `CellularDevice::clear()` to clean-up the modem to a default initial state.
Function is virtual so it can be overridden. The default implementation clears all PDP contexts,
but the the first one if that has APN defined as `nsapi.default-cellular-apn`.
CellularStateMachine calls `clear()` to clean-up the modem on initial `connect()`,
if the flag `cellular.clear-on-connect: true` is defined.
2019-09-09 06:14:20 -07:00
Jaeden Amero
ea834ebc2a
crypto: Update to Mbed Crypto 2.0.0
2019-09-06 16:15:47 +01:00
Jaeden Amero
612255f8c3
tls: Update to Mbed TLS 2.19.0
2019-09-06 16:15:47 +01:00
Martin Kojtal
87cdef9258
Merge pull request #11408 from SeppoTakalo/mbed_trace_nanomesh
...
Remove mbed_trace dependency to Nanomesh headers
2019-09-06 14:36:14 +02:00
Seppo Takalo
a7634a1e5a
Include ns_types.h before mbed_trace.h in Nanomesh
2019-09-06 13:05:19 +03:00
Martin Kojtal
c2df0013e9
Merge pull request #11423 from JarkkoPaso/nanostack_release_for_mbedos_5_14
...
Nanostack release for mbedos 5 14
2019-09-06 12:02:31 +02:00
Martin Kojtal
21ebb725c5
Merge pull request #10991 from RonEld/update_readme_for_optin_in_modules
...
Explaining how to opt in modules
2019-09-06 11:41:41 +02:00
Seppo Takalo
40841453a5
Remove mbed_trace dependency to Nanomesh headers
...
This library only uses standard types from C99, and
thus does not need compiler specific tweaks from ns_types.h
2019-09-06 10:40:14 +03:00
Jarkko Paso
4ebbbc592d
Merge commit '396dae52ab4eef15910011432f2c7a4261fc22b7'
...
* commit '396dae52ab4eef15910011432f2c7a4261fc22b7':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 4a19dc4..c473148
2019-09-05 14:28:22 +03:00
Martin Kojtal
978296a26d
Merge pull request #11372 from AriParkkila/bg96-pwr
...
Cellular: Fix BG96 power on and connect
2019-09-05 13:10:26 +02:00
Martin Kojtal
0427bb7469
Merge pull request #11396 from gpsimenos/remove-sms-floats
...
Remove floating point from AT_CellularSMS
2019-09-05 11:12:17 +02:00
Martin Kojtal
567479792c
Merge pull request #11392 from hugueskamba/hk-remove-minor-warnings
...
Remove minor build warnings
2019-09-05 09:59:39 +02:00
Martin Kojtal
d135e9bf32
Merge pull request #11394 from hugueskamba/hk-replace-deprecated-wait_us
...
Replace wait_ms calls with rtos::ThisThread::sleep_for
2019-09-05 09:56:57 +02:00
Martin Kojtal
34a3948d6e
Merge pull request #11395 from hugueskamba/hk-replace-non-trivial-struct-initialization
...
Avoid non-trivial copy when initializing lorastack struct
2019-09-05 09:55:49 +02:00
Martin Kojtal
f0234268f5
Merge pull request #11046 from kotkcy/pr/cy_mbedtls_alt
...
Initial implementation of Cypress Crypto hardware acceleration for mbedTLS
2019-09-05 09:43:06 +02:00
Jarkko Paso
da0fe81bfd
Mesh API, Wi-SUN: Initialize Wi-SUN settings with values from json
2019-09-04 15:53:21 +03:00
Tymoteusz Bloch
2626d90266
Fixed msc9220_emac link_out memory management.
2019-09-04 13:59:36 +02:00
Ari Parkkila
cb20277701
Cellular: Fix BG96 power on and connect
2019-09-04 03:24:11 -07:00
Martin Kojtal
208d703b7e
Merge pull request #11338 from cydriftcloud/pr/psoc6-softap-bringdown
...
Bring down interface when stopping softap
2019-09-04 11:54:23 +02:00
Martin Kojtal
aba0760652
Merge pull request #10684 from jarvte/fix_athandler_destr
...
Cellular: fix ATHandler destructor possible crash on delete
2019-09-04 11:52:59 +02:00
Antti Yli-Tokola
1708ec2a3f
nsapi_dns: cleanup dns queue when running out or memory
2019-09-03 13:56:21 +03:00
Hugues Kamba
a306ad758d
Avoid non-trivial copy when initializing lorastack struct
...
Using memset generates a warning about the non-trivial operation.
Use member-initializer-list instead to initialise the structs members.
2019-09-03 11:08:04 +01:00
Hugues Kamba
9715587042
Remove extraneous parentheses.
2019-09-03 09:58:08 +01:00
Hugues Kamba
8c22bbbbc8
Use PRIu32 to print uint32_t variable
...
As the variable underlying type size is different depending on the
toolchain used
2019-09-03 09:29:06 +01:00
Martin Kojtal
e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
...
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Teppo Järvelin
753ba8ceb6
Cellular: fix ATHandler destructor possible crash on delete
...
In some multithread cases there is possibility that process_oob function
was called after ATHandler was deleted. Fix is to wait if oob processing
is ongoing.
2019-09-03 09:09:05 +03:00
Kostiantyn Tkachov
235949b1f4
Changed order of config file checking in include defines
2019-09-02 22:17:25 +03:00
Jaeden Amero
95d448b63d
attestation: Erase storage before test
...
Be robust when keys can't be opened for deletion by erasing storage and
thereby all keys.
2019-09-02 17:10:59 +01:00
Jaeden Amero
3d1b8363db
Use PSA Crypto API 1.0b3
...
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
George Psimenos
93cebc189c
Avoid potential overflow
2019-09-02 15:48:30 +01:00
Hugues Kamba
97acdc59a3
Replace wait_ms calls with rtos::ThisThread::sleep_for
...
`wait_ms` is deprecated and its use generates a warning.
2019-09-02 15:24:10 +01:00
Hugues Kamba
e65a0c0a99
Remove minor build warnings
2019-09-02 15:04:58 +01:00
Kostiantyn Tkachov
08fd15796a
Removed TABs from the ALT source files
2019-09-02 17:00:13 +03:00
George Psimenos
4df70449fe
Replace difftime and float literals
2019-09-02 14:56:56 +01:00
Kostiantyn Tkachov
cdbf30dd0f
Removed obsoleted typedef for mbedtls_be128[] in aes_alt.c
2019-09-02 16:29:00 +03:00
Kostiantyn Tkachov
f702d15855
Fixed SHA ctx and ilen parameters checking
2019-09-02 15:20:11 +03:00
Kostiantyn Tkachov
50a8592104
Fixed SHA ctx and ilen parameters checking
2019-09-02 15:20:11 +03:00
Kostiantyn Tkachov
7cbfa84625
Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources
2019-09-02 15:20:11 +03:00
Martin Kojtal
39733cbc0b
Merge pull request #11306 from AnttiKauppila/ATHandler_improvements
...
At handler improvements
2019-09-02 12:08:44 +02:00
Lei Zhang
5a3562a76b
Bringdown interface when stopping softap
...
The interface should be brought down when stopping softap.
2019-08-30 08:59:36 -07:00
Roman Okhrimenko
ed9995e06c
PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources.
2019-08-30 15:10:18 +03:00
Antti Kauppila
9151606bb2
AT locks placed for UBlox AT handling
2019-08-30 08:54:34 +03:00
Martin Kojtal
c99b150bcf
Merge pull request #11356 from kyle-cypress/pr/whd-link-state-fix
...
Fix WHD link state change event handling
2019-08-30 07:44:40 +02:00
Martin Kojtal
a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
...
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
Martin Kojtal
9203c88b1e
Merge pull request #11275 from VeijoPesonen/disable_nvstore
...
Enable building feature storage with a bare metal profile
2019-08-29 17:05:54 +02:00
Martin Kojtal
40a84fc96f
Merge pull request #11359 from anttiylitokola/update-mbed-coap-to-5.0.0
...
Update mbed-coap to version 5.1.0
2019-08-29 16:37:09 +02:00
Lei Zhang
0b2e7bbef9
Use event handlers for link state callback
...
Allows DHCP to listen for device disconnect and refresh ip lease on reconnect.
2019-08-29 07:19:46 -07:00
Jaeden Amero
4eb4b32910
psa: Update crypto service for PSA Crypto 1.0b3
2019-08-29 14:55:21 +01:00
Jaeden Amero
ea17d58b49
mbedtls: Update Mbed TLS and Mbed Crypto
...
Update Mbed TLS to 2.19.0d0 and Mbed Crypto to 2.0.0d1.
2019-08-29 14:55:05 +01:00
Veijo Pesonen
155f04713a
Revert "Sets NVStore disabled by default"
...
This reverts commit bda7678071
.
2019-08-29 14:50:40 +03:00
Martin Kojtal
8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
...
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
Antti Yli-Tokola
5f92db3c12
Add a flag to maintain backward compatibility
...
By default CoAP will create a copy of the whole data to be passed to application and it keeps the backward compatibility.
If enabled, application must NOT free the payload when it gets the COAP_STATUS_PARSER_BLOCKWISE_MSG_RECEIVED status.
And application must call sn_coap_protocol_block_remove() instead.
2019-08-29 13:34:24 +03:00
Martin Kojtal
453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
...
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Martin Kojtal
4d2078ebe8
Merge pull request #11367 from kyle-cypress/pr/cypress-5.14-rollup
...
Cypress 5.14 rollup
2019-08-29 08:42:49 +02:00
Martin Kojtal
c4a2e3f879
Merge pull request #11349 from VeijoPesonen/tdbstore_ecc_fix
...
TDBStore bugfix: won't rely on flash erase value to detect is a sector erased
2019-08-29 08:38:48 +02:00
Martin Kojtal
c1f1b2a609
Merge pull request #11339 from sathishm6/topic/pr-bct-auto-ip-fix
...
mbed-os/LwIP changes and fixes in auto-IP for Bonjour Conformance Test
2019-08-29 08:38:32 +02:00
aqib-ublox
7f36fbc86e
Driver Updates + ARMC6 driver support + wifi fixes
2019-08-29 11:33:29 +05:00
Kyle Kearney
8abada11f6
Add missing newlines to end of files
2019-08-28 10:56:15 -07:00
Lei Zhang
b27653af6f
Use individual headers instead of "mbed.h"
2019-08-28 10:56:15 -07:00
Kyle Kearney
26940e5c22
Add support for DHCP server with WHD
2019-08-28 10:56:15 -07:00
Kyle Kearney
0ee6dfd4a8
Fix deprecated wait_ms warning in Cypress BLE
...
Migrate to using ThisThread::sleep_for instead.
2019-08-28 10:56:15 -07:00
Mukund
41dded9ec5
Improve Cordio low power assist
...
Allow more flexibile configuration for BLE radio pins
2019-08-28 10:56:15 -07:00
Kyle Kearney
8c2dec1233
Update board hardware configuration
...
Include all configurator design files with each BSP
2019-08-28 10:56:15 -07:00
Kyle Kearney
e64fdba7fc
Update BSP and WifiInterface for WHD Changes
2019-08-28 10:56:14 -07:00
Martin Kojtal
de627dad6a
Merge branch 'read-int-zero' of git://github.com/dextero/mbed-os into dev_rollup
2019-08-28 18:37:46 +01:00
Martin Kojtal
206e52c574
Merge branch 'pr/tdbstore-missing-offset' of git://github.com/kyle-cypress/mbed-os into dev_rollup
2019-08-28 18:37:02 +01:00
Martin Kojtal
95fc8cfa2c
Merge pull request #11322 from kyle-cypress/pr/lwip-buffer-size
...
Updated the LWIP buffer pool size for PSoC6
2019-08-28 19:05:55 +02:00
Martin Kojtal
7eb97be5a3
Merge pull request #11358 from 0xc0170/dev_rollup
...
Rollup PRs for 5.14
2019-08-28 16:39:36 +02:00
Martin Kojtal
67d1bb180b
Merge pull request #11319 from kyle-cypress/pr/whd-1.30-update
...
Update WHD to 1.30.0
2019-08-28 16:11:24 +02:00
Antti Kauppila
2aac56f79a
NetworkInterface set_blocking() doxygen corrected
2019-08-28 13:12:07 +01:00