Lots done in move to typeless

This commit is contained in:
2022-08-14 12:26:34 +02:00
parent b158544f1a
commit 459e2e2aeb
52 changed files with 1128 additions and 883 deletions

View File

@ -3,7 +3,7 @@
#include "dbg.h"
#define CW_MODE_ZYXEL 7
extern cw_send_msg(struct cw_Conn * conn,uint8_t * msg);
extern int cw_send_msg(struct cw_Conn * conn,uint8_t * msg);
int conn_send_msg(struct cw_Conn * conn, uint8_t *rawmsg)
{
@ -34,7 +34,7 @@ mtu = 9440;
mtu = mtu >> 3;
mtu = mtu << 3;
printf("packetlenX = %d (%d)\n",packetlen,hlen);
// printf("packetlenX = %d (%d)\n",packetlen,hlen);
int offset = cw_get_hdr_msg_offset(rawmsg);
return cw_send_msg(conn,rawmsg+offset);