添加 USB 主机、BLE 和 Socket 数据端口驱动程序:
- 支持大容量存储类(MSC)的 USB 主机驱动程序 - BLE SPP(串行端口配置文件)客户端和服务器实现 - Socket(UDP/TCP)数据端口驱动程序 - 相关的 shell 接口用于配置和测试
This commit is contained in:
15
app/drivers/data_port/socket_inet/socket_inet.c
Normal file
15
app/drivers/data_port/socket_inet/socket_inet.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "socket_inet.h"
|
||||
|
||||
/**
|
||||
* @brief 初始化数据接口。
|
||||
* 这将一同初始化 ESP32 的 WIFI
|
||||
*
|
||||
* @return 0
|
||||
*/
|
||||
int socket_inet_init(void)
|
||||
{
|
||||
extern void socket_inet_server_init(void);
|
||||
socket_inet_server_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user