[riot-notifications] [RIOT-OS/RIOT] Sock dtls api tinydtls (#11177)

Aiman Ismail notifications at github.com
Wed Mar 13 21:35:31 CET 2019

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

Put here the description of your contribution:
- describe which part(s) of RIOT is (are) involved
- if it's a bug fix, describe the bug that it solves and how it is solved
- you can also give more information to reviewers about how to test your changes
This PR adds new `sock_dtls` API to RIOT and also provides TinyDTLS implementation 
and a echo client/server application demonstrating use of the API.

### Testing procedure

Details steps to test your contribution:
- which test/example to compile for which board and is there a 'test' command
- how to know that it was not working/available in master
- the expected success test output

Tested using two native RIOT instances. Further instruction in README.

### Issues/PRs references

Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
See also #10897 

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/net/sock: add sock_dtls API
  * pkg/tinydtls: add tinydtls implementation of sock_dtls
  * examples: add sock_dtls example application

-- File Changes --

    A examples/dtls-sock/Makefile (66)
    A examples/dtls-sock/README.md (22)
    A examples/dtls-sock/client/keys.h (66)
    A examples/dtls-sock/client/server_pub_keys.h (19)
    A examples/dtls-sock/dtls-client.c (171)
    A examples/dtls-sock/dtls-server.c (226)
    A examples/dtls-sock/main.c (60)
    A examples/dtls-sock/server/client_pub_keys.h (18)
    A examples/dtls-sock/server/keys.h (48)
    M makefiles/pseudomodules.inc.mk (1)
    M pkg/tinydtls/Makefile.dep (1)
    M pkg/tinydtls/Makefile.include (3)
    A pkg/tinydtls/contrib/Makefile (3)
    A pkg/tinydtls/contrib/sock_dtls.c (421)
    A pkg/tinydtls/include/sock_dtls_types.h (100)
    A sys/include/net/sock/dtls.h (186)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190313/9e559037/attachment.html>

More information about the notifications mailing list