Add protocol debug functions
This commit is contained in:
parent
99d3b8e788
commit
56a8a7465c
2 changed files with 24 additions and 0 deletions
|
@ -86,4 +86,19 @@ void gmrf_logf(gmrf_t *gmrf, int priority, const char *format, ...) {
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
void gmrf_debug_init(gmrf_t *gmrf, const uint8_t *node_id, size_t len) {
|
||||
}
|
||||
|
||||
void gmrf_debug_neigh(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr, float rxcost, float txcost) {
|
||||
}
|
||||
|
||||
void gmrf_debug_neigh_lost(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr) {
|
||||
}
|
||||
|
||||
void gmrf_debug_route(gmrf_t *gmrf, const uint8_t *node_id, size_t len, gmrf_iface_t *iface, const gmrf_addr_t *addr, int metric) {
|
||||
}
|
||||
|
||||
void gmrf_debug_route_lost(gmrf_t *gmrf, const uint8_t *node_id, size_t len) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue