Commit Graph
11 Commits
Author SHA1 Message Date
Olaf Bergmann ebb00c4dfe Merge remote-tracking branch 'coap-lwip/chrysn-lwip-fixes' into develop
Conflicts:
	coap_io.h
	mem.h
	net.c
	pdu.c
2015-02-14 20:45:48 +01:00
chrysn c5f48ea4be implement receiving routines for lwip in independent file 2015-01-15 13:34:21 +01:00
chrysn 0ca090fbb6 make the internals of coap_packet_t private
they are now only accessed using helper functions, for a package looks
different in lwip.

in addition, the local_interface is now passed to coap_handle_message
not as an argument (because that would mean mixing different arguments
in the population of the node's local interface), but as a part of the
incoming package (as assigned in coap_network_read).
2015-01-15 13:33:35 +01:00
Olaf Bergmann c47d2fea3c renamed config.h to coap_config.h to avoid name clashes 2014-09-15 17:31:54 +02:00
Olaf Bergmann a1ec0371ff Implemented new network-I/O functions for Contiki 2014-09-15 14:30:05 +02:00
Olaf Bergmann f5fed78e59 Merge branch 'master' of robinson.informatik.uni-bremen.de:src/libcoap 2014-09-15 14:29:36 +02:00
Olaf Bergmann cb9e24c010 Use coap_network_read() and coap_network_send() in Contiki 2014-09-15 11:05:56 +02:00
Sebastian Sontberg 8ee0342809 Convert function declarations to strict-prototypes format 2014-08-05 01:31:05 +02:00
Olaf Bergmann d5dc48d97a Track local network interface for received packets.
Changed various functions to pass the local interface using the
new coap_endpoint_t abstraction. This change uses the functions
implemented earlier in commit 786ca6da (branch dcaf) but does not
use callback functions for network I/O.

This change closes bug #23 "server responds from wrong endpoint
(ipv6 address)" (POSIX only, CONTIKI and LWIP tbd).
2014-03-21 18:12:40 +01:00
Olaf Bergmann d14de4703c Merged changes from commit 10eb1db6
This change enables the use of endpoints with specific properties such
as secure transmission.
2014-03-20 12:59:43 +01:00
Olaf Bergmann 9876ea6bc9 Default network I/O functions for libcoap
This module defines a structure coap_endpoint_t that will be used to
identify the local interface for network I/O in libcoap. coap_endpoint_t
has an opaque handle and the local interface address. The tuple (handle,
address) uniquely identifies a virtual endpoint within a libcoap context.
2014-03-19 17:34:24 +01:00