Commit Graph

20395 Commits (c272377a812ec3e16a82b81b23748e3e40ee4177)

Author SHA1 Message Date
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 eec54a0fc9 Update tcp test cases to verify network socket statistics
Cases Updated are:
1. TCPSOCKET_ECHOTEST_NONBLOCK
2. TCPSOCKET_OPEN_CLOSE_REPEAT
3. TCPSOCKET_OPEN_LIMIT
2018-11-26 09:42:45 -06:00
Deepika e7ea2927fc Update udp test cases to verify network socket statistics
Cases Updated are:
1. UDPSOCKET_ECHOTEST_NONBLOCK
2. UDPSOCKET_OPEN_CLOSE_REPEAT
3. UDPSOCKET_OPEN_LIMIT
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
Martin Kojtal 80e2c1133a
Merge pull request #8719 from deepikabhavnani/m2351_ram_rom_changes
M2351 RAM / ROM defines updated
2018-11-26 10:57:42 +01:00
Ari Parkkila 3d79b50dfb Cellular: Fix ATHandler URC processing 2018-11-25 23:47:23 -08: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
Michael Schwarcz aa7e1ce0e5 Fix its tests in non-psa targets 2018-11-25 09:57:23 +02:00
Alexander Zilberkant 9b13e240c3 Add SPDX license identifier 2018-11-25 09:57:23 +02:00
Alexander Zilberkant 9fa1f5a3d5 astyle changes 2018-11-25 09:57:22 +02: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 6c1c1693f5 Merge branch 'wio3g-export' of https://github.com/SeeedJP/mbed-os into dev_rollup 2018-11-24 21:15:49 +00: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 c873dc06f2 Merge branch 'ONME-3983' of https://github.com/mtomczykmobica/mbed-os into dev_rollup 2018-11-24 21:14:47 +00:00
Martin Kojtal ad37c84060 Merge branch 'disco-l072_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:50:55 +00:00
Martin Kojtal 0ec41ce277 Merge branch 'F0_adc_vbat' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:50:45 +00:00
Martin Kojtal d535e22117 Merge branch 'IOTTHD-2972' of https://github.com/JarkkoPaso/mbed-os into dev_rollup 2018-11-24 20:50:26 +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 a4362f02ea Merge branch 'master' of https://github.com/ganesh-ramachandran/mbed-os into dev_rollup 2018-11-24 20:50:05 +00:00
Martin Kojtal e1b60b1e58 Merge branch 'disco_f746ng_bootloader' of https://github.com/bcostm/mbed-os into dev_rollup 2018-11-24 20:49:55 +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 d7f2e3056c
Merge pull request #8737 from kapi90/cm3ds_lp_requirements
Add low power implementations for CM3DS
2018-11-24 19:49:57 +01:00
Martin Kojtal e72b7c3b96
Merge pull request #8803 from theotherjimmy/armc6-armc5-compat
Compatibilize ArmC6 with ArmC5-built archives
2018-11-24 19:48:13 +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 52aea31655
Merge pull request #8702 from SenRamakri/sen_CrashReportingImpl
Crash Reporting implementation
2018-11-23 20:24:53 +01: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 80ed251c9c Merge branch 'fix_travis_astyle_files' of https://github.com/0xc0170/mbed-os into dev_rollup 2018-11-23 18:38:13 +00:00