我是新手在安卓的网络编程。我正在做一个与网络相关的Android项目。在这个项目中,我想将6个IP相机集成到我的项目中,并且所有相机都同时流式传输。这些IP相机是Wi-Fi启用的相机。问题在于,我们如何将多个Wi-Fi设备连接到一个Android设备?一次只能连接单个Wi-Fi。但一种方法是Wi-Fi直连或热点。但是,IP相机如何识别和连接移动热点?这是客户端提供的cgi命令,用于获取Wi-Fi扫描结果。
get_wifi_scan_result.cgi
get_wifi_scan_result.cgi
Description: Gets the camera results of search for wireless networks
Certification: administrator
Syntax: /get_wifi_scan_result.cgi
Returns:
ap_number : Refers to the search for how many SSID , The following variable groups, with the first group, for example:
ap_ssid[0]:ssid
ap_mode[0]:0->infra 1->adhoc
ap_security[0]:
0->WEP-NONE
1->WEP
2->WPA-PSK TKIP
3->WPA-PSK AES
4->WPA2-PSK TKIP
5->WPA2-PSK AES
ap_dbm0[0]:
ap_channel: