Commit Graph

330 Commits (aa6d80d39eb52afacb2f12c1e2a03c261b5ece72)

Author SHA1 Message Date
Jan Jongboom f431cb9e34 TCPSocket.cpp setting socket should terminate with semicolon 2019-02-08 16:48:59 +00:00
Seppo Takalo 5bd99ec2d6 Fix spelling mistakes 2019-02-08 16:48:59 +00:00
Seppo Takalo 566a12efab Fix review findings. 2019-02-08 16:45:28 +00:00
Mel Weed e8b45561d3 editorial changes 2019-02-08 16:45:28 +00:00
Mel Weed 8a781ea3ea mbed-tls/TLS to Mbed TLS 2019-02-08 16:45:28 +00:00
Mel Weed 0117ec4b98 grammatical corrections 2019-02-08 16:45:28 +00:00
Mel Weed 24803d2650 editorial changes, punctuation 2019-02-08 16:45:28 +00:00
Kari Haapalehto 259d72601a Review changes 2019-02-08 16:45:28 +00:00
Mel Weed 07cd9a10c7 typo fixes, future->present 2019-02-08 16:45:28 +00:00
Mel Weed 8d84a14cda removing 'easy to use' 2019-02-08 16:45:28 +00:00
Kari Haapalehto 8a4674d44a Hide protected start_handshake 2019-02-08 16:45:28 +00:00
Seppo Takalo 4d6e99c52e Add more documentation to Socket classes. 2019-02-08 16:45:28 +00:00
Seppo Takalo 5a662b4279 Fix DNS grouping 2019-02-08 16:45:28 +00:00
Seppo Takalo 1b40e43e0e Remove extra @param values 2019-02-08 16:45:28 +00:00
Kari Haapalehto 02e2704db0 Doxygen corrections to DTLSSocket.h, TLSSocket.h, TLSSocketWrapper.h and DTLSSocketWrapper.h 2019-02-08 16:45:28 +00:00
Jarno Lamsa c2718e3666 WifiInterface doxygen cleanup 2019-02-08 16:45:28 +00:00
Jarno Lamsa 3f9430311f SocketAddress doxygen cleanup 2019-02-08 16:45:28 +00:00
Seppo Takalo 1ab806bdbb Create new netinterface Doxygen group 2019-02-08 16:45:28 +00:00
Seppo Takalo 81108c6528 Fix NetworkInterface grouping 2019-02-08 16:45:28 +00:00
Kari Haapalehto 222a36c6f4 Doxygen corrections to: - DTLSSocket.h - TLSSocket.h - TLSSocketWrapper.h 2019-02-08 16:45:28 +00:00
Seppo Takalo f6b44bd72c Fix netsocket Doxygen group 2019-02-08 16:45:28 +00:00
kegilbert da99f9e955 Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-25 14:29:59 +00:00
c_jin a915c843e3 add SPDX indentifier, modify 450zi.icf file and static definition in us_ticker.c 2019-01-14 13:06:14 +00:00
c_jin 224493fbfe Add GD32_F450ZI as new target 2019-01-14 13:06:14 +00:00
Antti Kauppila aebb55baa1 mbed.h includes removed 2019-01-14 13:06:14 +00:00
Seppo Takalo f5ac84bd40 Don't consume 36 kB just for Ethernet buffers.
Kintis EMAC is consuming 16 rinbuffers for input, and 8 buffers for output.
This is over-use because input packets are immediately allocated from
heap when passed to LwIP. Therefore the number can be creatly reduced.
2019-01-14 13:06:14 +00:00
Cruz Monrreal II bd6622bb89 Manually resolved unresolved patches 2018-12-28 11:15:19 -06:00
c_jin 07698022fd Add SPDX identifier for GD EMAC driver 2018-12-27 23:07:22 -06:00
chao_king 2d92ea66aa Update licence 2018-12-27 22:51:29 -06:00
chao_king 5b8da28729 Update licence 2018-12-27 22:51:29 -06:00
chao_king ee5023c797 Update licence 2018-12-27 22:36:18 -06:00
chao_king ec04269ad9 Update licence 2018-12-27 22:36:18 -06:00
chao_king 14ea9c3673 Update licence 2018-12-27 22:36:18 -06:00
chao_king 89344aa379 Add EMAC driver for GD32_F307VG 2018-12-27 22:36:18 -06:00
kegilbert 637499c63f Add socket stat logging state change update
TCPServer was deprecated and the accept call was added to TCPSocket. Add state change update to that call
2018-12-27 22:26:02 -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
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 b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01: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
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 95b1e75202 Merge branch 'dtls' of https://github.com/SeppoTakalo/mbed-os into dev_rollup 2018-11-23 18:36:55 +00:00
Seppo Takalo 1b80f6ba5e Clarify asynchronous NetworkInterface::connect() documentation 2018-11-22 12:52:28 +02:00
Seppo Takalo 5459a7b5c9 Add license headers into TLSSocket files 2018-11-20 11:47:29 +02:00