[riot-notifications] [RIOT-OS/RIOT] sock_dtls: add timeout to sock_dtls_send and add sock_dtls_session_init (#14043)

Martine Lenders notifications at github.com
Fri May 15 13:27:49 CEST 2020


@miri64 approved this pull request.

Tested with two native instances:

#### tap0
```
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.

main(): This is RIOT! (Version: 2020.07-devel-479-g10f4d-HEAD)
DTLS sock example application
All up, running the shell now
> dtlsc fe80::d827:1dff:fea8:6424 abcdef
dtlsc fe80::d827:1dff:fea8:6424 abcdef
Sent DTLS message
Received 6 bytes
Terminating
> dtlsc fe80::d827:1dff:fea8:6424 abcdefgh
dtlsc fe80::d827:1dff:fea8:6424 abcdefgh
Sent DTLS message
Received 8 bytes
Terminating
> ^C
native: exiting
```

#### tap1
```
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.

main(): This is RIOT! (Version: 2020.07-devel-479-g10f4d-HEAD)
DTLS sock example application
All up, running the shell now
> ifconfig
ifconfig
Iface  5  HWaddr: DA:27:1D:A8:64:24 
          L2-PDU:1500 MTU:1500  HL:64  Source address length: 6
          Link type: wired
          inet6 addr: fe80::d827:1dff:fea8:6424  scope: link  VAL
          inet6 group: ff02::1
          inet6 group: ff02::1:ffa8:6424
          
> dtlss start
dtlss start
> Received 6 bytes -- (echo!)
Received 8 bytes -- (echo!)
```
```



-- 
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/14043#pullrequestreview-412564542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200515/761dfc11/attachment.htm>


More information about the notifications mailing list