chrysn
49ad7bdb79
use lwip provided time function
2013-11-17 16:53:09 +01:00
chrysn
c23d681036
allocate the coap context in the lwip memory pools
2013-11-17 16:45:30 +01:00
chrysn
f3d98c9a2b
allow having a resource list instead of a hash
...
this brings O(n) lookup time for resources, but allows removing dynamic
memory management
2013-11-17 16:44:34 +01:00
chrysn
e74a4c1690
further use of WITH_POSIX
...
some contiki specific defines were eliminated by defining ntohs as
uip_ntohs in the contiki confiuration header file
2013-11-17 16:40:55 +01:00
chrysn
8fac6ed0fa
introduce WITH_POSIX (as compared to WITH_COAP etc)
...
this will make reading the ifdefed sections easier.
as the typedef struct __coap_address_t {...}; /
define coap_address_t __coap_address_t trick is not needed any more to
detect whether a WITH defined coap_address_t or not, it was removed.
2013-11-17 16:32:09 +01:00
chrysn
6d28c3154e
use htonl/ntohl/ntohs/htons from lwip
...
on bigger systems, you don't simply write endian.h
2013-11-17 16:30:10 +01:00
chrysn
9365b2f3d9
temporarily enable malloc for coap_{malloc,free}_node
2013-11-17 16:30:09 +01:00
chrysn
75116fe2b3
lwip for net.c
2013-11-17 16:30:09 +01:00
chrysn
00d73408dc
porting required to get a minimal example to build with lwip stack
2013-11-17 16:30:09 +01:00