add more dprint in the mocs
This commit is contained in:
2023-11-30 10:22:36 +01:00
parent edc60bafb8
commit 7c86563242

View File

@@ -8,13 +8,18 @@
#endif
void tftp_cleanup(void) {
dprint("tftp_cleanup\n");
}
uint32_t logger_get_timestamp(void) {
dprint("logger_get_timestamp\n");
return 0;
}
int tftp_init(struct tftp_context* context) {
UNUSED(context);
dprint("tftp_init\n");
return 0;
}
@@ -70,6 +75,7 @@ void lcd_draw_gif(uint8_t* gif_buff, size_t len, uint32_t x_pos, uint32_t y_pos)
}
struct tcp_pcb* tcp_new(void) {
dprint("tcp_new\n");
return NULL;
}
@@ -77,48 +83,68 @@ err_t tcp_bind(void* pcb, void* ipaddr, uint16_t port) {
UNUSED(pcb);
UNUSED(ipaddr);
UNUSED(port);
dprint("tcp_bind @ %d\n", port);
return ERR_OK;
}
struct tcp_pcb* tcp_listen(void* pcb) {
UNUSED(pcb);
dprint("tcp_listen\n");
return NULL;
}
void tcp_accept(void* pcb, tcp_accept_fn arg) {
UNUSED(pcb);
UNUSED(arg);
dprint("tcp_accept\n");
}
void tcp_arg(void* pcb, void* arg) {
UNUSED(pcb);
UNUSED(arg);
dprint("tcp_arg\n");
}
void tcp_sent(void* pcb, void* arg) {
UNUSED(pcb);
UNUSED(arg);
dprint("tcp_sent\n");
}
void tcp_recv(void* pcb, tcp_recv_fn arg) {
UNUSED(pcb);
UNUSED(arg);
dprint("tcp_recv\n");
}
void tcp_setprio(void* pcb, uint8_t prio) {
UNUSED(pcb);
UNUSED(prio);
dprint("tcp_setprio\n");
}
void tcp_err(void* pcb, void* err) {
UNUSED(pcb);
UNUSED(err);
dprint("tcp_err\n");
}
void tcp_poll(void* pcb, void* poll, uint8_t interval) {
UNUSED(pcb);
UNUSED(poll);
UNUSED(interval);
dprint("tcp_poll\n");
}
void tcp_close(void* pcb) {
UNUSED(pcb);
dprint("tcp_close\n");
}
void tcp_write(void* pcb, const char* data, size_t len, uint8_t apiflags) {
@@ -132,20 +158,28 @@ void tcp_write(void* pcb, const char* data, size_t len, uint8_t apiflags) {
void tcp_output(void* pcb) {
UNUSED(pcb);
dprint("tcp_output\n");
}
void tcp_recved(void* pcb, uint16_t len) {
UNUSED(pcb);
UNUSED(len);
dprint("tcp_recved\n");
}
size_t tcp_sndbuf(void* pcb) {
UNUSED(pcb);
dprint("tcp_sndbuf\n");
return 0;
}
void pbuf_free(struct pbuf* p) {
UNUSED(p);
dprint("pbuf_free\n");
}
uint16_t pbuf_copy_partial(const struct pbuf* buf, void* dataptr, uint16_t len, uint16_t offset) {