Skip to content

Rollup v2 for 5.11rc1 #8838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Nov 24, 2018
Merged

Rollup v2 for 5.11rc1 #8838

merged 28 commits into from
Nov 24, 2018

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Nov 22, 2018

M-ichae-l and others added 20 commits November 15, 2018 17:02
1, add "extern "C" {}  " to "wifi_ind.h" for being called by CPP files.
Added smarter rounding of times in recv_timeout and increased the delta by one, to allow "off-by-one" errors.
Reverted commit 88eea6a, reducing TESTS_TIMEOUT back to 480.
Introduced a 100ms timeout for waiting on asynchronous DNS resolution.
Improved error handling on disconnects.
Updated cellular debug trace prints:
 - Removed unnecessary prints.
 - Tracing more in DEBUG level.
 - Read/write bytes not printed on big packets.
 - Signal quality (RSSI) traced to log network problems.
 - Dismissed AT data is traced.
 - Modem type and firmware version are traced.

Network registration returns NotRegistered instead of StatusNotAvailable,
because that's not in 3GPP TS 27.007.
Updated Doxygen, removed the only one call of the deprecated constructor from the tests.
…cket

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.
This is equivalent of TLSSocket class but for UDP and DTLS.
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.
Also, let DTLSSocket to be a friend of InternetSocket so it can do
the name resolution from its _stack.

+ Some whitespace fixes
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.
Missing $ for after_success, same fix as previously done for PR code changes
 - 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.
@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 22, 2018

CI restarted

@mbed-ci
Copy link

mbed-ci commented Nov 23, 2018

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 2
Build artifacts
Build logs

@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 23, 2018

We are investigating failures

@ARMmbed/mbed-os-test ^^

@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 23, 2018

Restarting exporter + cloud client test

@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 23, 2018

client test failure is valid - #8788 will need to be removed. I'll rework this rollup

@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 23, 2018

Reworked rollup, removed one offender, restarting CI now

@0xc0170
Copy link
Contributor Author

0xc0170 commented Nov 24, 2018

Waiting for exporters, once they complete this is ready

@mbed-ci
Copy link

mbed-ci commented Nov 24, 2018

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 3
Build artifacts
Build logs

Copy link
Contributor

@NirSonnenschein NirSonnenschein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xc0170 , The rollup looks ok to me. the only thing that really caught my eye was a very magic number sequence in the cellular changes:
if (rssi == 99) {
rssi = 0;
} else {
rssi = -113 + 2 * rssi;
}

maybe this code makes perfect sense if you understand the cellular stack.

@0xc0170 0xc0170 merged commit b16569d into ARMmbed:master Nov 24, 2018
@0xc0170 0xc0170 deleted the dev_rollup branch November 24, 2018 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants