[riot-notifications] [RIOT-OS/RIOT] sock/async: add function to retrieve session object of current DTLS event (#15755)

János Brodbeck notifications at github.com
Mon Jan 18 20:27:34 CET 2021


Pushed the discussed changes. Now, the event session is only set for `SOCK_ASYNC_CONN_READY` and `SOCK_ASYNC_CONN_FIN`. Added this info into the note section of the function documentation. Thought about putting this info into a warning section, but that may be a bit overkill. 

Did not adjust the provided test procedure. You can see the expected behaviour in the test. For the `SOCK_ASYNC_CONN_RECV` event the retrieved session is still the previously set session or empty if it's the first.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15755#issuecomment-762433649
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210118/dd15e420/attachment.htm>


More information about the notifications mailing list