Commit Graph

3957 Commits (a7bf31210677d72cfbd0cc94fe12227149b3c680)

Author SHA1 Message Date
Martin Kojtal 5e6dc940ba
Merge pull request #8821 from jarvte/add_rat_json
Cellular: add radio access technology as configurable in json
2018-11-27 09:23:57 +01:00
Martin Kojtal 436644b7bd
Merge pull request #7760 from ARMmbed/feature_namespace
Give an option to remove 'using namespace'
2018-11-27 09:04:58 +01:00
Martin Kojtal 2009f028b1
Merge pull request #8592 from deepikabhavnani/nw_stats_ver2
Network Socket Statistics
2018-11-27 09:03:49 +01:00
deepikabhavnani da69da972f Add BlockDevice and Filesystem classes inside mbed namespace.
Adding new modules inside the namespace could be breaking change for existing code base
hence add `using namespace::class` for classes newly added to mbed namespace to maintian
backwards compatibility.

MBED_NO_GLOBAL_USING_DIRECTIVE is added to remove auto-addition of namespace
Macro guard `MBED_NO_GLOBAL_USING_DIRECTIVE` is added around namespace, to avoid
polluting users namespace.
2018-11-26 13:35:40 -06:00
Cruz Monrreal 1c1638342d
Merge pull request #8708 from SeeedJP/wio_bg96_hal
[Wio BG96] Adding platform HAL
2018-11-26 11:22:29 -06:00
deepikabhavnani c272377a81 Make sure no memory overhead if statistics are disabled 2018-11-26 09:42:45 -06:00
deepikabhavnani fa6b3d2783 Corrected TCPServer reporting as per review comments 2018-11-26 09:42:45 -06:00
deepikabhavnani 068f2d14c0 Resolve IAR build issue
IAR not able to assign default zero value in array and complaints of
internal error as below:

[ERROR] Internal error: [Front end]: assertion failed at:
"..\..\Translator\compiler_core\src\parser\edg\decl_inits.c", line 2031
2018-11-26 09:42:45 -06:00
Amanda Butler 81fc940a8e Edit SocketStats.h
Edit file.
2018-11-26 09:42:45 -06:00
deepikabhavnani 117eb0bc87 Add socketstats stub functions for unittest and addressed reviews 2018-11-26 09:42:50 -06:00
Deepika f6c1a40b29 Add config options for socket statistics
1. MBED_CONF_NSAPI_SOCKET_STATS_ENABLE to enable the statistics
2. MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT max sockets statistics cached
2018-11-26 09:42:45 -06:00
Deepika a851df66e3 Code/bug after testing
1. Fixing astyle and docs
2. Extra mutex lock was removed
3. Bytes are updated when send/recv > 0 and not in case of -ve error
4. Review comments
5. Guard statistics implementation in test with MBED_NW_STATS_ENABLED
2018-11-26 09:42:45 -06:00
Deepika 09b4bc07ce This is the initial version of stats implementation in network layer.
SocketStats Class is added to collect and provide the statistics information.
In this phase only socket information is collected and max sockets that can
be recorded at any time are configurable through 'MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT'

Network statistics can be enabled through a macro MBED_NW_STATS_ENABLED

More information on design is captured in #8743
2018-11-26 09:42:39 -06:00
deepikabhavnani d5da9eb636 Resolved warning "call_in inherits implicit virtual" 2018-11-26 09:41:15 -06:00
Martin Kojtal 3c0d6f0b0c
Merge pull request #8790 from AriParkkila/cell-urc-cb
Cellular: Fix ATHandler URC processing
2018-11-26 16:36:54 +01:00
Martin Kojtal fdca1e3578
Merge pull request #8730 from kfnta/its_kvstore_single_core
Add a new PSA Internal Trusted Storage APIs
2018-11-26 11:54:08 +01:00
Martin Kojtal 0cc134586c
Merge pull request #8851 from KariHaapalehto/disconnect_error_code_change
Change error code from NSAPI_ERROR_PARAMETER to NSAPI_ERROR_NO_CONNEC…
2018-11-26 11:03:51 +01:00
Martin Kojtal 7a77e66472
Merge pull request #8643 from RonEld/feature_unsupported_error_support
Modify HW accelerator drivers to new error code
2018-11-26 10:59:14 +01:00
Ari Parkkila 3d79b50dfb Cellular: Fix ATHandler URC processing 2018-11-25 23:47:23 -08:00
Teppo Järvelin f31db91cfb Cellular: astyle fixes for CellularStateMachine.cpp. 2018-11-26 09:37:00 +02:00
Teppo Järvelin 9a9a209eff Cellular: added radio access technology as configurable in cellular mbed_lib.json. 2018-11-26 09:37:00 +02:00
Martin Kojtal aae6bb125a
Merge pull request #8836 from SeppoTakalo/clarify_connect_docs
Clarify asynchronous NetworkInterface::connect() documentation
2018-11-25 11:27:16 +01:00
Martin Kojtal 7fd4692b32
Merge pull request #8862 from 0xc0170/dev_rollup
Rollup 5.11rc v3
2018-11-25 11:25:54 +01:00
Danny Shavit 53728e45b7 Add a new PSA Internal Trusted Storage APIs 2018-11-25 09:57:22 +02:00
Nir Sonnenschein 0283bb84e4
Merge pull request #8667 from davidsaada/kvstore_integration
KVStore & derived classes: design docs, implementation & configuration
2018-11-25 07:30:53 +02:00
Martin Kojtal 5ad7c3ee6e Merge branch 'gracefully_disconnect' of https://github.com/jarvte/mbed-os into dev_rollup 2018-11-24 21:15:38 +00:00
Martin Kojtal ab7d2ddf1e Merge branch 'fix_bc95_todo' of https://github.com/jarvte/mbed-os into dev_rollup 2018-11-24 20:50:16 +00:00
Martin Kojtal b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01:00
Martin Kojtal 860e4befd6
Merge pull request #8859 from Patater/dev/Patater/import-mbed-tls-and-crypto
Import Mbed TLS v2.15.0 with Mbed Crypto
2018-11-24 21:35:19 +01:00
Martin Kojtal 5086c3d280
Merge pull request #8814 from jarvte/unify_cellular_return
Cellular: unified return value comments on API folder.
2018-11-24 17:08:58 +01:00
David Saada e073fb69b2 Change Device key to work with KVStore 2018-11-24 17:43:42 +02:00
David Saada e9c25e23a5 KVStore & derived classes: design docs, implementation & configuration
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00
Martin Kojtal cb6f5d65e7
Merge pull request #8766 from jarvte/fix_cellular_backward_com
Fix cellular backward compatibility
2018-11-24 08:05:56 +01:00
Jaeden Amero 3900b81d02 Update Mbed TLS to mbedtls-2.15.0 2018-11-23 22:54:09 +00:00
Hanno Becker 70f9497918 Mbed TLS importer: Call `config.pl --force` to accept unknown option
The new PSA-aware Mbed TLS importer script calls `config.pl` on the
Mbed TLS config.h to set the PSA configuration option
MBEDTLS_PSA_CRYPTO_STORAGE_C which isn't documented in config.h.
config.pl therefore fails, and so does the importer.

This commit fixes this by calling `config.pl` with the `--force`
option which amends the given `config.h` by a `#define` for the
requested option if the option isn't present in the file.
2018-11-23 22:54:07 +00:00
Mohammad AboMokh 1f4584fc70 Add mbed_lib.json for Mbed Crypto 2018-11-23 22:54:05 +00:00
itayzafrir b85db484b0 Update adjust-config.sh to enable persistent keys
In adjust-config.h, set and unset Mbed Crypto storage configuration options
in order to use persistent keys with PSA ITS storage.
2018-11-23 22:54:04 +00:00
Mohammad AboMokh 15945687bc Record Mbed Crypto version
Record the version of Mbed Crypto into VERSION.txt for easy reference.
2018-11-23 22:54:03 +00:00
Mohammad AboMokh 7ba359a4a6 Update mbedtls importer to import mbed-crypto 2018-11-23 22:54:01 +00:00
Martin Kojtal 0f14f4bf39 Merge branch 'update_coap_to_4.7.2' of https://github.com/anttiylitokola/mbed-os-1 into dev_rollup 2018-11-23 18:40:24 +00:00
Martin Kojtal b9ea30abf1 Merge branch 'socket_open_deprecated' of https://github.com/michalpasztamobica/mbed-os into dev_rollup 2018-11-23 18:38:02 +00:00
Martin Kojtal 61c7947b47 Merge branch 'cell-trace' of https://github.com/AriParkkila/mbed-os into dev_rollup 2018-11-23 18:37:40 +00:00
Martin Kojtal b75aae66f4 Merge branch 'block_device_general_tests' of https://github.com/theamirocohen/mbed-os into dev_rollup 2018-11-23 18:37:13 +00:00
Martin Kojtal 95b1e75202 Merge branch 'dtls' of https://github.com/SeppoTakalo/mbed-os into dev_rollup 2018-11-23 18:36:55 +00:00
Kari Haapalehto d828d2d279 Change error code from NSAPI_ERROR_PARAMETER to NSAPI_ERROR_NO_CONNECTION
in a case were there wasn't connection.
2018-11-23 11:54:34 +02:00
Teppo Järvelin 9095635c8f Cellular: Fixed bc95 to accept only RAT_NB1 as it's only valid rat that modem supports. 2018-11-23 07:52:22 +02:00
Martin Kojtal 78bd53121a
Merge pull request #8291 from theotherjimmy/fix-ff-lpc546xx
*LPC546XX: Finish MCU Refactoring
2018-11-22 17:31:18 +01:00
Antti Yli-Tokola 8d341ae0d4 Update mbed-coap to version 4.7.2
- Fix handling of duplicate blockwise ACK's
    CoAP data buffer was not added into duplication info store when creating response for blockwise request.
    This leads to case where whole bootstrap flow just timeouts if received any duplicate messages during blockwise operation.
    Fixes error: IOTCLT-3188 - UDP connection fails for lost ACK sending

 - Remove error trace when building reset message without options
    This makes it possible to build the reset message without allocating option or getting error message.
2018-11-22 14:48:33 +02:00
Seppo Takalo 1b80f6ba5e Clarify asynchronous NetworkInterface::connect() documentation 2018-11-22 12:52:28 +02:00
Martin Kojtal f1f64266c0
Merge pull request #8600 from KariHaapalehto/wisuninterface_created
Wi-SUN interface implementation.
2018-11-22 10:55:58 +01:00