Seppo Takalo
0f5cec3ebc
Include TLSSocket and DTLSSocket in Doxygen
2018-11-20 11:47:28 +02:00
Seppo Takalo
bdc355f873
Astyle fixes
2018-11-19 15:31:31 +02:00
Seppo Takalo
5d170f2b3e
Clarify that TLSSocket should not be reopened.
2018-11-19 15:19:50 +02:00
Seppo Takalo
6192ed1480
Compare the intermediate timestamps as well
2018-11-19 15:19:50 +02:00
Seppo Takalo
2229a2f2f5
Need to protect members with MBEDTLS_PK_C and X509_CRT_PARSE flags.
...
This is dependency to X509_CRT_PARSE but just to make sure
that also the 'mbedtls_pk_context' structure is not used if that
flag is not enabled.
2018-11-19 15:19:49 +02:00
Seppo Takalo
46c46019bc
Refactor DTLSSocket to use Socket::getpeername()
...
Also, let DTLSSocket to be a friend of InternetSocket so it can do
the name resolution from its _stack.
+ Some whitespace fixes
2018-11-19 15:19:49 +02:00
Seppo Takalo
695db63df8
Decrease verbosity of the TLSSocketWrapper
2018-11-19 15:19:49 +02:00
Michal Paszta
392bccf835
Add unit tests for TLSSocket and TLSSocketWrapper
...
This also includes their Datagram counterparts: DTLSSocket and DTLSSocketWrapper.
Coverage missing for timer-related functionality, but this would require more advanced stub development.
The extra (d)tls_test_config.h is necessary for successful compilation without HW support for the mbedtls features in unittests.
I reused the mbedtls stub found in features/nanostack/coap-service/test/coap-service/unittest/stub/mbedtls_stub.c and amended it slightly with a few missing functions.
2018-11-19 15:19:49 +02:00
Seppo Takalo
2ca1fe65dd
Implement DTLSSocket helper
...
This is equivalent of TLSSocket class but for UDP and DTLS.
2018-11-19 15:19:49 +02:00
Seppo Takalo
d22adbdb26
Implement DTLSSocketWrapper and fix non-blocking connections on TLSSocket
...
DTLSSocketWrapper is equivalent of TLSSocketWrapper but uses datagram mode
and timers for handling Mbed TLS timeouts.
Non-blocking connections were not working earlier, now fixed for both
secure socket modes.
2018-11-19 15:19:49 +02:00
Martin Kojtal
9aef9d3661
Merge pull request #8671 from mray19027/uart_break
...
Feature: Add non-blocking serial break/unbreak functions
2018-11-19 13:14:55 +00:00
Martin Kojtal
13b60c2991
Merge pull request #8673 from kegilbert/config-range-limits-dev
...
Add Mbed Configuration Option Range Limits
2018-11-19 13:14:02 +00:00
Martin Kojtal
8dc54f1f76
Merge pull request #8782 from bridadan/fix_test_traceback
...
Fix traceback when running mbed test
2018-11-19 13:12:34 +00:00
Martin Kojtal
00c5b56e32
Merge pull request #8683 from NXPmicro/feature-qspi-lpc546xx
...
Feature qspi lpc546xx
2018-11-19 13:11:44 +00:00
Martin Kojtal
31475455ea
Merge pull request #8751 from jarvte/ctx_unittests
...
Cellular: minor fix to CellularDevice and adding updating unit tests after refactoring
2018-11-19 11:54:56 +00:00
Brian Daniels
6cab1e0018
Fixing traceback when running mbed test
2018-11-16 15:28:50 -06:00
Cruz Monrreal
d643034941
Merge pull request #8668 from jamesbeyond/fm_emac
...
Enable Fast Models emac drivers
2018-11-16 09:52:06 -06:00
Mahesh Mahadevan
6bd0be186b
Add MT25Q Flash config
...
Signed-off-by: Maciej Bociański <maciej.bocianski@arm.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 08:15:48 -06:00
Mahesh Mahadevan
c21c599b25
Update the QSPI unit test for NXP LPC546XX board
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:30 -06:00
Mahesh Mahadevan
f8f9faa841
LPC566XX LPCXpresso: Update to add QSPI support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:29 -06:00
Mahesh Mahadevan
b3d0b5c210
Remove QSPI support for FF_LPC546XX target
...
This needs a device specific file
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:29 -06:00
Mahesh Mahadevan
4bbf0025b8
LPC MCUXpresso: Add QSPI support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-16 07:56:28 -06:00
Martin Kojtal
5299017553
travis: anchor grep for astyle
...
Should not pick up .cmake files (just .c files)
2018-11-16 13:38:36 +00:00
Teppo Järvelin
f5ad355854
travis: exclude deleted files for astyle.
2018-11-16 13:58:04 +02:00
Teppo Järvelin
24213b4601
astyles fixes for UNITESTS.
2018-11-16 13:14:38 +02:00
Teppo Järvelin
e5c3024849
Cellular: adding unit tests for new class CellularContext and changed classes.
2018-11-16 13:14:38 +02:00
Qinghao Shi
d157e59267
reformat to following codeing style rules
2018-11-16 10:29:31 +00:00
Qinghao Shi
25e8f89567
update wait_ms() to sleep_for()
2018-11-16 10:29:31 +00:00
Qinghao Shi
78b186ec56
Update code according to the reviews
...
* move emac driver to COMPONENT folder
* use mbed rtos C++ API instead of CMSIS API
2018-11-16 10:29:31 +00:00
Qinghao Shi
eea7245d41
update targets.json enable EMAC driver for FVP_MPS2 platforms
2018-11-16 10:29:30 +00:00
Qinghao Shi
1a25051f91
override default mem-size in lwIP stack config
2018-11-16 10:27:15 +00:00
Qinghao Shi
e603f1ad49
add FVP EMAC driver
2018-11-16 10:22:42 +00:00
Qinghao Shi
bbe3b131dc
add lan91c111 drivers for FVP MPS2 platfrom
2018-11-16 10:22:42 +00:00
Martin Kojtal
8a2044b5fc
Merge pull request #8763 from cmonr/rollup-b.1
...
Rollup PR: Retest CI-troubled PRs target for 5.11 v2
2018-11-16 09:15:56 +00:00
Cruz Monrreal II
b327b12c75
Merge branch 'david_unity_error_code' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:14 -06:00
Cruz Monrreal II
49b940c9a7
Merge branch 'prepare_for_mbedos511' of ssh://github.com/artokin/mbed-os into rollup-b.1
2018-11-15 18:26:12 -06:00
Cruz Monrreal II
0e4f843022
Merge branch 'david_buffered_bd_perf' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:11 -06:00
Cruz Monrreal II
5c1c7bf71f
Merge branch 'fix_astyle_error' of ssh://github.com/0xc0170/mbed-os into rollup-b.1
2018-11-15 18:26:09 -06:00
Cruz Monrreal II
8cbd310858
Merge branch 'Lora_compliance' of ssh://github.com/AnttiKauppila/mbed-os into rollup-b.1
2018-11-15 18:26:06 -06:00
Cruz Monrreal
fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
...
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Cruz Monrreal
ba0a476510
Merge pull request #8753 from 0xc0170/dev_rollup
...
Rollup PR: Retest bundled PRs that experienced CI issues
2018-11-15 16:55:55 -06:00
kegilbert
c26c258c66
Update expected error message
2018-11-15 12:24:06 -06:00
kegilbert
9116b9921b
Remove redundent line
2018-11-15 11:44:53 -06:00
Brian Daniels
5ec1d7c221
Update tools/config/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2018-11-15 11:43:41 -06:00
Martin Kojtal
a2bced7db5
Merge branch 'lora_ut_fix' of https://github.com/AnttiKauppila/mbed-os into dev_rollup
2018-11-15 14:05:00 +00:00
Martin Kojtal
48569e1cf7
Merge branch 'master' of https://github.com/ConradBraam/mbed-os into dev_rollup
2018-11-15 14:04:41 +00:00
Martin Kojtal
251f559a3b
Merge branch 'ONME-3852' of https://github.com/mtomczykmobica/mbed-os into dev_rollup
2018-11-15 14:04:01 +00:00
Martin Kojtal
22185ba229
Merge branch 'wio3g' of https://github.com/SeeedJP/mbed-os into dev_rollup
2018-11-15 14:03:13 +00:00
Martin Kojtal
caae883306
Merge branch 'Musca_march' of https://github.com/deepikabhavnani/mbed-os into dev_rollup
2018-11-15 14:02:14 +00:00
Martin Kojtal
2422949398
Merge branch 'platform-lib-whitespace-patch' of https://github.com/kegilbert/mbed-os into dev_rollup
2018-11-15 13:59:30 +00:00