你好,可以参考https://github.com/canmv-k230/canmv/blob/canmv_k230/port/network/network_rt_smart.c 里的实现,目前在内核里有个canmv_net_mgmt设备来做网络连接的功能。