0
jesse

Hi,
目前使用 Ameba .4.0a SDK有遇到二個問題
1. 在一個環境中如果存在1個以上的SSID,有一定的機率Ameba會抓不到APP所設置的SSID,而抓到相對較低channel 的 SSID。下方的log是兩個SSID都使用channel 1,可以發現ameba收到的是[CNN](但是APP是設定[anjietw_2.4GHz]。
這個例子是可以連線的狀況。比較多的狀況是[anjietw_2.4GHz]在後面的channel,會(Simple Config timeout) 無法連線,因為沒辦法得到AP profile。
2. 在一些使用android 7.x的手機上使用simple config wizard會有無法丟出資料的問題,導致Ameba 無法連線,請問有更新的版本(目前使用SimpleConfigWizard_R3 20170222)嗎? 如果有可以提供source code?
可以的話請寄到

jessekuo@anjietw .com

謝謝!
Switch to channel(12)

Switch to channel(13)

Switch to channel(1)

in simple_config_test fix channel = 1 ssid: CNN
The device_name = simple_config_client

key iv is 0x6e,0xc0, 0x1c, 0x9c, 0x9, 0xc0, 0x7c, 0x22 get the reservd tag

======= Connection Information =======

wifi->security_type = RTW_SECURITY_WPA2_AES_PSK
using ssid only from profile

wifi.password = 1234567890

wifi.password_len = 11

wifi.ssid = anjietw_2.4GHz

wifi.ssid_len = 14

wifi.channel = 1

===== start to connect target AP =====

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: set BSSID: 48:ee:0c:ee:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]
connect fail with bssid, try ssid instead

Connect with SSID=anjietw_2.4GHz password=1234567890
Scan result got, start to connect AP with scanned bssid
Connecting to MAC=48:ee:0c:ed:eb:b2, ssid = anjietw_2.4GHz, SEC=3

RTL8195A[Driver]: set BSSID: 48:ee:0c:ed:eb:b2

RTL8195A[Driver]: set ssid [anjietw_2.4GHz]

RTL8195A[Driver]: start auth to 48:ee:0c:ed:eb:b2

RTL8195A[Driver]: auth success, start assoc

RTL8195A[Driver]: association success(res=4)

RTL8195A[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)

RTL8195A[Driver]: set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1

wlan_wrtie_reconnect_data_to_flash():not the same ssid/passphrase/channel, write new profile tSC_parse_scan_result_and_connect success

Interface 0 IP address : 192.168.20.8

WIFI wlan0 Setting:
==============================
MODE => STATION
SSID => anjietw_2.4GHz
CHANNEL => 1
SECURITY => AES
PASSWORD => 1234567890

Sending simple config ack
recv 92 bytes from 192.168.20.19:8864 at round=0, num=4

Simple Config success

sean 回答了