nhdp: use conn instead of socket_base#3876
Conversation
|
Would it be correct to add this to the release @OlegHahm? |
32084eb to
b593a6d
Compare
|
Okay, |
b593a6d to
477c3ba
Compare
477c3ba to
b185873
Compare
|
Rebased to current #3615 . |
c5d0c7e to
e5b16f4
Compare
|
Rebased to current master. (No longer waiting for another PR) |
e5b16f4 to
41d1e13
Compare
41d1e13 to
9ce1c6d
Compare
There was a problem hiding this comment.
Can't you make this module depend on GNGC_CONN_UDP via the Makefile.dep?
There was a problem hiding this comment.
That would defeat conn's purpose of being an interface agnostic to a stack implementation (similar to sockets just light weight). The pseudo-module conn_udp is pulled in by any module called %_conn_udp, with % being a wildcard. If this wildcard is gnrc or openwsn or lwip or @kaspar030's infamous nano-stack doesn't matter, since that is exactly the point of that interface. Since conn_udp however doesn't supply any implementation on itself a user trying to compile this module without any conn interface would get more or less cryptic error messages and assume it is broken. So a friendly error message seemed to me to be the better solution :)
|
ACK |
nhdp: use conn instead of socket_base
Rework NHDP to use
conninstead of the deprecatedsocket_base.Depends on #3615