13 lines
		
	
	
		
			316 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			316 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef WIFI_CONNECTER_H
 | 
						||
#define WIFI_CONNECTER_H
 | 
						||
 | 
						||
#include "wifi_device.h"   // Wi-Fi设备接口:station模式
 | 
						||
 | 
						||
int ConnectToHotspot(WifiDeviceConfig* apConfig);
 | 
						||
 | 
						||
void DisconnectWithHotspot(int netId);
 | 
						||
 | 
						||
// 获取本机IP地址
 | 
						||
int GetLocalIpAddress(char* ip_buffer, int buffer_size);
 | 
						||
 | 
						||
#endif  // WIFI_CONNECTER_H
 |