Commit Graph

343 Commits (293b0189d2192c4ff8e41e9b34564a7f52c5bfd7)

Author SHA1 Message Date
Veijo Pesonen 9f3830aa72 Adds newlines to avoid compiler warnings 2019-01-23 16:43:32 +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
Seppo Takalo 58c2760e3f Fix spelling mistakes 2019-01-21 11:54:49 +02:00
Seppo Takalo 6f15b04655 Fix review findings. 2019-01-21 11:45:13 +02:00
Mel Weed 0f0469d03d editorial changes 2019-01-21 11:45:13 +02:00
Mel Weed b79b608362 mbed-tls/TLS to Mbed TLS 2019-01-21 11:45:13 +02:00
Mel Weed 40418d8ff9 grammatical corrections 2019-01-21 11:45:13 +02:00
Mel Weed ea296afec2 editorial changes, punctuation 2019-01-21 11:45:13 +02:00
Kari Haapalehto fcd497303d Review changes 2019-01-21 11:45:12 +02:00
Mel Weed f7e48f1385 typo fixes, future->present 2019-01-21 11:45:12 +02:00
Mel Weed c454ba9f60 removing 'easy to use' 2019-01-21 11:45:12 +02:00
Kari Haapalehto cabf597ab0 Hide protected start_handshake 2019-01-21 11:45:12 +02:00
Jarno Lamsa 981bfa139e SocketAddress doxygen cleanup 2019-01-21 11:45:12 +02:00
Jarno Lamsa 8f5e003a1e WifiInterface doxygen cleanup 2019-01-21 11:45:12 +02:00
Seppo Takalo 501f5ae32c Add more documentation to Socket classes. 2019-01-21 11:45:12 +02:00
Seppo Takalo db67332496 Fix DNS grouping 2019-01-21 11:45:12 +02:00
Seppo Takalo 706af114e3 Remove extra @param values 2019-01-21 11:45:12 +02:00
Kari Haapalehto 5fa13e43d1 Doxygen corrections to DTLSSocket.h, TLSSocket.h, TLSSocketWrapper.h
and DTLSSocketWrapper.h
2019-01-21 11:45:12 +02:00
Seppo Takalo 249fa7fd6f Create new netinterface Doxygen group 2019-01-21 11:43:49 +02:00
Seppo Takalo 0619b90997 Fix NetworkInterface grouping 2019-01-21 11:43:49 +02:00
Kari Haapalehto 0fbdb692e9 Doxygen corrections to:
- DTLSSocket.h
- TLSSocket.h
- TLSSocketWrapper.h
2019-01-21 11:43:49 +02:00
Seppo Takalo bfd497fe26 Fix netsocket Doxygen group 2019-01-21 11:43:49 +02:00
Kevin Bracey ab037c6f69 InternetSocket: better protect _callback
sigio callbacks can be triggered from interrupt, so changing _callback
needs critical section protection, not just a mutex.
2019-01-18 15:37:11 +02:00
Kevin Bracey 0f6a4cd0bd InternetSocket: Use atomics, not volatile
Use a better tool for the job.
2019-01-18 15:37:11 +02:00
Cruz Monrreal 92a5f2f8f2
Merge pull request #9337 from tymoteuszblochmobica/removecellular
unittest: remove cellular driver L3IP stub
2019-01-16 22:06:27 -06:00
Tymoteusz Bloch 18967a88f3 Removed cellular driver L3IP stub 2019-01-14 12:08:41 +01:00
kegilbert 70b9b753db Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-11 10:22:15 -06:00
c_jin be65ebd038 add SPDX indentifier, modify 450zi.icf file and static definition in us_ticker.c 2019-01-09 19:03:33 +08:00
c_jin 5a1108e742 Add GD32_F450ZI as new target 2019-01-09 19:03:33 +08:00
Cruz Monrreal 54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
mbed.h includes removed
2019-01-04 10:27:30 -06:00
Seppo Takalo 50eb243762 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-02 19:05:16 +02:00
Antti Kauppila 02b0f79e15 mbed.h includes removed 2018-12-28 14:36:10 +02:00
Tymoteusz Bloch fc88922845 L3IP Interface Implementation
LWIP L3IP interface initial implementatioon
2018-12-20 15:23:43 +01:00
Martin Kojtal 06748af2f8
Merge pull request #9079 from kegilbert/TCPSocket-accept-statelog
Add socket stat logging state change update
2018-12-18 08:06:05 +00:00
kegilbert ee3945dfa3 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-13 14:50:56 -06:00
Martin Kojtal c387fec36b
Merge pull request #8725 from ChazJin/master
Add support for GD32F307VG
2018-12-12 14:42:20 +01: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