模块作为AP的配置
ESP8266_AT_Test ();
ESP8266_Net_Mode_Choose ( AP );
//设置模块的IP
while ( ! ESP8266_CIPAP ( macUser_ESP8266_TcpServer_IP ) );
//创建模块热点
while ( ! ESP8266_BuildAP ( macUser_ESP8266_BulitApSsid, macUser_ESP8266_BulitApPwd, macUser_ESP8266_BulitApEcn ) );
//模块启动多连接
ESP8266_Enable_MultipleId ( ENABLE );
//模块开启或关闭服务器
while ( ! ESP8266_StartOrShutServer ( ENABLE, macUser_ESP8266_TcpServer_Port, macUser_ESP8266_TcpServer_OverTime ) );
//ESP8266 获取 AP IP
ESP8266_Inquire_ApIp ( cStr, 20 );
|