jcmichelou
1c4d6913af
net.c, symbols: fix gcc warning and regenerate symbol files
2017-10-21 18:26:40 +02:00
jcmichelou
dfff930805
io, net: Add TCP accept/connect/read/write
2017-10-21 16:11:12 +02:00
jcmichelou
bcfd7a0753
pdu: add support for TCP-style headers
...
Make coap_pdu-t independent of the header style.
Use C99 sized types when applicable.
Use transaction ids in host byte order in the library.
Make coap_pdu_t payload storage grow on demand.
Add parsing and encoding of PDUs with UDP or TCP style headers.
Adapt examples and unit tests to the new PDU format.
2017-10-21 16:11:11 +02:00
Olaf Bergmann
9e7c520a93
libcoap-1.{sym,map}: updated map files to include new functions
...
PR #106 , #107 , and #108 have introduced new functions. This change
updates the .map and .sym files to include the additional symbols.
2017-09-09 01:24:45 +02:00
obgm
8a30adefa5
Merge pull request #108 from spinetix/log-handler
...
Add a log handler callback.
2017-09-09 01:22:13 +02:00
obgm
abddc07559
Merge pull request #107 from spinetix/handler-lost-con
...
Add handler for lost CON messages.
2017-09-09 01:21:32 +02:00
jcmichelou
d89159fdb4
debug.[hc]: Add a log handler callback.
2017-09-08 20:12:39 +02:00
jcmichelou
25732fc8e6
coap_session.[ch], net.c: Add handler for lost CON messages.
...
Add a slot for storing application-specifc data in session object.
Make the library resilient against client session released in a callback.
2017-09-08 20:02:22 +02:00
jcmichelou
30619691e2
resource.[ch], uri.c[ch]: Query string dependent observe.
...
Remember the query string used during the observe request and pass it to the resource handler.
Support partial notification of observers based on the query string.
2017-09-08 19:50:34 +02:00
Olaf Bergmann
50da9f1d97
libcoap-1.{sym,map}: re-generated symbol maps for dynamic linking
2017-08-04 15:27:52 +02:00
Olaf Bergmann
df62452cca
libcoap-1.{map,sym}: updated symbol table
...
The recent API change has triggered the update-map-file target.
2017-07-11 13:01:25 +02:00
jcmichelou
b2fe4a64de
Make MTU configurable.
...
Use static or stack storage for coap_packet_t.
2017-06-26 17:34:01 +02:00
jcmichelou
adf1238eae
Add DTLS retransmit and recovery.
...
Add lossy networks debug option in examples.
2017-06-21 20:40:15 +02:00
jcmichelou
8353417afb
Added session management with simpler DTLS lib API.
...
Added DTLS support with OpenSSL.
2017-06-18 20:09:47 +02:00
jcmichelou
5b1a8f67bf
Implement coap_session_t concept for POSIX.
2017-06-15 18:42:42 +02:00
jcmichelou
1c79a4b977
Merge remote-tracking branch 'remotes/obgm/dtls' into dtls-dev with tinydtls support
...
# Conflicts:
# Makefile.am
# configure.ac
# examples/client.c
# examples/coap-rd.c
# examples/coap-server.c
# include/coap/address.h
# include/coap/coap_io.h
# include/coap/net.h
# include/coap/prng.h
# libcoap-1.map
# libcoap-1.sym
# src/net.c
# src/platform/posix/coap_io.c
2017-06-12 17:26:25 +02:00
jcmichelou
78148d0c20
Merge develop into win32
2017-06-10 16:19:12 +02:00
Olaf Bergmann
0b3f31a1bb
libcoap-1.{map,sym}: updated symbol map
...
This change adds the new symbol coap_flsll() introduced by
commit 9adc4eb6 to the shared symbol map.
2017-06-01 12:29:52 +02:00
jcmichelou
95d8e2c8e0
Use C-style prototypes for coap_statup and coap_cleanup
2017-05-06 18:25:10 +02:00
Olaf Bergmann
c6d142df43
libcoap-1.{map,sym}: updated map files
...
For platform posix, the function coap_is_mcast() was moved to address.c
as it has become too large to be inlined by the compiler. This
modification updates the map files accordingly.
2017-01-06 09:28:58 +01:00
Olaf Bergmann
d3d48a99e8
libcoap-1.{map,sym}: Updated map file
...
Added the functions coap_dtls_set_log_level() and coap_dtls_get_log_level()
2016-04-15 13:19:33 +02:00
Olaf Bergmann
f6472f8c84
libcoap-1.{map,sym}: updated map files
2016-04-08 15:14:20 +02:00
Olaf Bergmann
63f51418c5
run.[hc]: Add new functions for main loop
...
This modification provides two new functions, coap_run_once() and
coap_run(), that can be used by applications to drive the library's
I/O logic.
2016-04-08 15:14:20 +02:00
Olaf Bergmann
96d572d309
prng.c: move platform-specific PRNG invocation into separate files
...
This change introduces a new subtree in the library's directory structure.
Platform-specific code now should be placed into the corresponding directory
in src/platform/. To illustrate this, prng.h has been split into three
distinct files, one for each platform (contiki, lwip, posix) and moved into
the respective subdirectory.
2016-04-08 15:14:20 +02:00
Olaf Bergmann
889ba08ad0
updated map files to reflect API changes
...
Commit 1baa816 moved the implementation of coap_clock_init() and
coap_ticks_to_rt() to coap_time.c. This commit updates the public
API of the shared lib accordingly.
2015-06-28 15:12:27 +02:00
Olaf Bergmann
24a83b7b0e
updated libcoap-1.{map,sym} to include new option filter functions
...
With commit e4e2e57 , three new functions have been added to the
public API, hence the symbol files need an update.
2015-06-07 12:30:12 +02:00
Olaf Bergmann
1ea9e1c213
Renamed libcoap-1.0.{map,sym,pc.in} to libcoap-1.{map,sym,pc.in}
...
As commit 8380870 has simplified the API version numbering, these
filenames must be adjusted.
2015-06-07 12:11:48 +02:00