Commit Graph

4757 Commits (811152da65c6b8448bd662260035bb6188da31c7)

Author SHA1 Message Date
Cruz Monrreal 695179bf21
Merge pull request #9471 from mtomczykmobica/ONME-3868
lwipstack: mem-size set to the to minimal working size with DTLS
2019-01-31 10:21:00 -06:00
Cruz Monrreal 66792b493e
Merge pull request #9445 from davidsaada/david_nvstore_fix_area_calc
NVStore: fix area calculation function
2019-01-31 10:20:44 -06:00
Martin Kojtal a12ab30f98
Merge pull request #9414 from SeppoTakalo/ONME-4013
Clarify asynchronous Networkinterface::connect() and disconnect() API
2019-01-31 11:30:29 +01:00
Martin Kojtal 272bc14cde
Merge pull request #9546 from jarlamsa/mesh_api_fixes
Mesh api fixes
2019-01-31 11:19:55 +01:00
Martin Kojtal 94baadfc34
Merge pull request #9549 from paul-szczepanek-arm/fix-scan-timeout
BLE: fix missing scan timeout for 4.2 controllers using new API
2019-01-31 11:19:29 +01:00
Martin Kojtal 7c578cf2c6
Merge pull request #9527 from bridadan/remove_yotta_references
Remove yotta references within testing frameworks
2019-01-31 11:16:54 +01:00
Martin Kojtal 1af3842b52
Merge pull request #9550 from michalpasztamobica/nanostack_double_connection_attempt
Prevent double attempt to connect mesh api
2019-01-31 11:08:37 +01:00
David Saada 48a3ae9636 FlashIAP driver: Add retries to erase and program operations.
Few boards may fail the write actions due to HW limitations (like critical
drivers that disable flash operations). Just retry a few times until success.
In addition, remove the redundant retries in NVStore (not needed now).
2019-01-30 16:05:27 +02:00
Michal Paszta 53a82faa5a Prevent double attempt to connect mesh api
Socket network interface tests were failing due to DICONNECTED event
being advertised, where GLOBAL_UP was expected. It turned out that
nanostack receives two events: APPL_EVENT_CONNECT and
APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously
returns errors, but it also causes events to be sent out to the
application. The second attempt should not take place in case the
bootstrap is already started.

I also fixed two reports being sent with DISCONNECT status, while they
are actually something else.
2019-01-30 15:08:11 +02:00
paul-szczepanek-arm d9c919b7e1 review fixes 2019-01-30 12:19:04 +00:00
paul-szczepanek-arm e1a8fb5a7a check scanning status first 2019-01-30 11:45:26 +00:00
paul-szczepanek-arm 7f888f86bf scan timeout for 4.2 controllers using new API 2019-01-30 11:37:17 +00:00
Jarno Lamsa 740488d061 Set tasklet parameters before connecting
Set tasklet parameters before connecting to prevent the parameters to be set to 0.
The tasklet parameters are reset to 0 when wisun_tasklet_connect gets called,
thus those need to be set in the wisun_tasklet_configure_and_connect_to_network
before they are used. This is also done this way in other tasklets.
2019-01-30 13:06:17 +02:00
Jarno Lamsa d7af9418da Remove yotta-specific lines from .gitignore 2019-01-30 13:04:08 +02:00
Martin Kojtal 30070c6055
Merge pull request #9533 from mirelachirica/remove_obsolete_cellular_unittests
Cellular: Remove makefile and mbedignore refering to obsolete cellula…
2019-01-30 10:07:02 +01:00
Mirela Chirica 2bdfafc9fc Cellular: Remove makefile and mbedignore refering to obsolete cellular unit tests 2019-01-29 13:23:39 +02:00
Kevin Bracey 983503f9ee Mutex-protect mbedtls_hardware_poll
Like all HAL APIs, the calls in trng_api.h are not expected to
be thread-safe.

All current accesses to the TRNG HAL are currently via
`mbedtls_hardware_poll`.  Mbed TLS does not currently serialise these
calls itself, as `MBEDTLS_THREADING_C` is not enabled. But even if
Mbed TLS's own accesses were serialised, there are other direct
users of `mbedtls_hardware_poll` such as randLIB, that need to use
direct calls due to lack of API to extract entropy from Mbed TLS.

As such it makes sense to treat `mbedtls_hardware_poll` as a de facto
public Mbed OS API, akin to the C++ veneers on top of the HAL, and add a
PlatformMutex there so that it is safe for multithreaded use.
2019-01-29 12:45:48 +02:00
Brian Daniels 4a0bb5b35d Update utest README 2019-01-28 16:35:35 -06:00
Brian Daniels 1a9df4269b Correct example given in greentea-client readme 2019-01-28 16:35:34 -06:00
Brian Daniels b694a34873 Remove reference to yotta and mbed-drivers in greentea-client 2019-01-28 16:35:20 -06:00
Brian Daniels 96a71ce59a Removing references to yotta and minar within utest 2019-01-28 16:31:20 -06:00
Cruz Monrreal 66cda8a8fe
Merge pull request #9499 from bridadan/remove_yotta_modules
Remove unused yotta module metadata
2019-01-28 10:37:30 -06:00
Cruz Monrreal 545d229ab1
Merge pull request #9497 from ARMmbed/AnotherButler-patch-2
Remove yotta from README.md
2019-01-28 10:36:36 -06:00
Cruz Monrreal f5730a91b2
Merge pull request #9474 from VeijoPesonen/fix-newlines_at_end-of-files
Fix newlines at end of files
2019-01-28 10:33:37 -06:00
Cruz Monrreal b49d949b50
Merge pull request #9393 from pan-/fix-safe-enum-type-safety
BLE: Fix SafeEnum type safety
2019-01-28 10:31:52 -06:00
Martin Kojtal 0bc9bcc0ed
Merge pull request #9498 from ARMmbed/AnotherButler-patch-3
Remove outdated text and fix spelling in README.md
2019-01-28 11:05:15 +01:00
Amanda Butler 36438a1d70
Remove outdated content from README.md
Remove requested outdated content, and update TOC to reflect changes.
2019-01-25 09:57:19 -06:00
Jan Jongboom ca987568d8
TCPSocket.cpp setting socket should terminate with semicolon 2019-01-24 14:25:34 -08:00
Amanda Butler 8b35bbc5b5
Remove .json blob from README.md
Make change suggested in comments.
2019-01-24 15:54:02 -06:00
Brian Daniels 99d6145cf3
Update features/frameworks/greentea-client/README.md
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-01-24 15:53:01 -06:00
Brian Daniels ee5281abef Remove unused yotta module metadata 2019-01-24 15:30:20 -06:00
Amanda Butler 25bb0d23c5
Remove outdated text and fix spelling in README.md
Remove reference to yotta, and fix spelling for correct branding.
2019-01-24 15:29:09 -06:00
Amanda Butler 39851e4c18
Remove yotta from README.md
Remove all references to yotta.md
2019-01-24 15:25:30 -06:00
Cruz Monrreal e241b13865
Merge pull request #9452 from RonEld/crypto_platform_ranaming
Crypto platform renaming
2019-01-24 13:27:12 -06:00
David Saada 765b48336f NVStore: fix area calculation function
Don't allocate the sector map array in this function,
as it was buggy and redundant. Separate user config vs. automatic allocation
cases instead (which was essentially the case anyway).
In addition, fix tests to get over failures in low end boards
2019-01-24 16:16:56 +02:00
Cruz Monrreal b0b4013dde
Merge pull request #9302 from yossi2le/yossi_add_trng_checkup_devicekey
Add TRNG checkup in devicekey
2019-01-23 22:47:08 -06:00
Veijo Pesonen a6d4c6b609 L3IPInterface: make inheriting virtual explicit 2019-01-23 17:04:42 +02:00
Veijo Pesonen 293b0189d2 Adds newlines to avoid compiler warnings 2019-01-23 16:44:16 +02:00
Veijo Pesonen 8f786a0450 Adds newlines to avoid compiler warnings 2019-01-23 16:43:45 +02:00
Veijo Pesonen 9f3830aa72 Adds newlines to avoid compiler warnings 2019-01-23 16:43:32 +02:00
Marcin Tomczyk 5e28c1eb56 ONME-3868, Modiefie mem-size parameter to minimal size that work with DTLS 2019-01-23 14:29:48 +01:00
Martin Kojtal 2cd83b45a4
Merge pull request #9392 from michalpasztamobica/tlssocket_documentation_update
Documentation of TLSSocket behavior on AUTH_FAILURE
2019-01-23 14:20:43 +01:00
Martin Kojtal f128891fc0
Merge pull request #9397 from yossi2le/fix_default_storage_type
Fixing folder path for KVStore FILESYSTEM configuration.
2019-01-22 13:35:52 +01:00
Ron Eldor cad40e1633 Rename the platform context varaiable
Rename the generic name `ctx` of `mbedtls_platform_context`
in `platform_alt.c` to a specific name `plat_ctx`, to avoid conflicts
when used as external in crypto modules.
2019-01-22 13:57:32 +02:00
Ron Eldor 4ea68829c5 Rename the platform specific crypto_platform
To avoid collisions between the psa `crypto_platform.h` file and the
platform specific `crypto_platform.h` file, for the init \ terminate
functions, rename the latter to `crypto_device_platform`.
2019-01-22 13:56:59 +02:00
Michal Paszta 2cda5d28b8 Documentation of TLSSocket behavior on AUTH_FAILURE 2019-01-22 12:40:42 +01:00
Martin Kojtal 31579fe4bb
Merge pull request #9328 from SeppoTakalo/ip-core-doxygen
Doxygen fixes for IP networking area
2019-01-22 10:48:10 +01:00
Martin Kojtal bab6e2cb0b
Merge pull request #9440 from davidsaada/david_lfs_emubd_ignore
Put LittleFS emulated BD module under .mbedignore
2019-01-22 09:33:40 +01:00
Martin Kojtal 4019efb21d
Merge pull request #9399 from paul-szczepanek-arm/fix-null-check
BLE: fix missing null checks on Gap event handler
2019-01-21 13:43:16 +01:00
Martin Kojtal ad5bcfc1de
Merge pull request #9427 from paul-szczepanek-arm/fix-truncation
BLE: fix possible truncation
2019-01-21 13:42:07 +01:00