Fix bug in setting the OpenSSL log level make its use consistent with tinydtls

Rename session.c and session.h to coap_session.c and coap_session.h
Use length to PSK hint and identity
Improve packet loss testing
This commit is contained in:
jcmichelou committed 2017-06-22 16:02:03 +02:00
1 parent 99925a1a97
commit 9490a0c8ab
16 files changed
+1396 -1355

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ void coap_show_pdu(const coap_pdu_t *);
struct coap_address_t;
size_t coap_print_addr(const struct coap_address_t *, unsigned char *, size_t);
void coap_debug_set_packet_loss( const char *loss_level );
int coap_debug_send_packet();
int coap_debug_set_packet_loss(const char *loss_level);
int coap_debug_send_packet(void);
#endif /* _COAP_DEBUG_H_ */