pvvx
Активный участник сообщества
Пришли такие платки из
Info:
Залил "bl602_demo_at.bin" для теста iperf...
CH430 не справляется с выводом отладки в USB-COM порт от чипа, т.к. по умолчанию скорость вывода отладочной информации у чипа 2 мегабита.
Там-же работает и интерфейс cli.
"AT" работает на других пинах - D3/D4 (RX/TX), но это не интересно.
Через CH430 cli для соединения c AP вводим:
Info:
DT-BL10-BL602 RISC-V WiFi&BT Board – AnalogLamb
www.analoglamb.com
Залил "bl602_demo_at.bin" для теста iperf...
CH430 не справляется с выводом отладки в USB-COM порт от чипа, т.к. по умолчанию скорость вывода отладочной информации у чипа 2 мегабита.
Там-же работает и интерфейс cli.
"AT" работает на других пинах - D3/D4 (RX/TX), но это не интересно.
Код:
# help
====Build-in Commands====
====Support 4 cmds once, seperate by ; ====
help : print this
p : print memory
m : modify memory
echo : echo for command
exit : close CLI
devname : print device name
sysver : system version
reboot : reboot system
poweroff : poweroff system
reset : system reset
time : system time
ota : system ota
ps : thread dump
ls : file list
hexdump : dump file
cat : cat file
====User Commands====
stack_wifi : Wi-Fi Stack
stack_ble : BLE Stack
free : Remain free memory
coex_dump : coex dump
rf_dump : rf dump
wifi_capcode : wifi capcode
wifi_scan : wifi scan
wifi_scan_filter : wifi scan
wifi_mon : wifi monitor
wifi_raw_send : wifi raw send test
wifi_sta_info : wifi sta info
wifi_sta_ip_set : wifi STA IP config [ip] [mask] [gw] [dns1] [dns2]
wifi_sta_ip_unset : wifi STA IP config unset
wifi_sta_disconnect : wifi station disconnect
wifi_sta_connect : wifi station connect
wifi_sta_get_state : wifi sta get state
wifi_sta_autoconnect_enable: wifi station enable auto reconnect
wifi_sta_autoconnect_disable: wifi station disable auto reconnect
rc_fix_en : wifi rate control fixed rate enable
rc_fix_dis : wifi rate control fixed rate diable
wifi_sta_ps_on : wifi power saving mode ON
wifi_sta_ps_off : wifi power saving mode OFF
wifi_sta_denoise_enable : wifi denoise
wifi_sta_denoise_disable : wifi denoise
-----------------> AABA Request:
A-MSDU: Permitted
Block Ack Policy: Immediate Block Ack
TID: 4
Number of Buffers: 64
-----------------> AABA Response:
A-MSDU: Not Permitted
Block Ack Policy: Immediate Block Ack
TID: 4
Number of Buffers: 8
wifi_sniffer_on : wifi sniffer mode on
wifi_sniffer_off : wifi sniffer mode off
wifi_ap_start : start Ap mode
wifi_ap_stop : stop Ap mode
wifi_ap_conf_max_sta : config Ap max sta
wifi_dump : dump fw statistic
wifi_cfg : wifi cfg cmd
wifi_mib : dump mib statistic
wifi_pkt : wifi dump needed
wifi_coex_rf_force_on : wifi coex RF forece on
wifi_coex_rf_force_off : wifi coex RF forece off
wifi_coex_pti_force_on : wifi coex PTI forece on
wifi_coex_pti_force_off : wifi coex PTI forece off
wifi_coex_pta_force_on : wifi coex PTA forece on
wifi_coex_pta_force_off : wifi coex PTA forece off
wifi_sta_list : get sta list in AP mode
wifi_sta_del : delete one sta in AP mode
wifi_edca_dump : dump EDCA data
wifi_state : get wifi_state
wifi_update_power : Power table test command
blemesh_init :
blemesh_init:[Initialize]
Parameter[Null]
blemesh_set_dev_uuid :
blemesh_input_num:[input number in provisionging procedure]
[Size:16 Octets, e.g.112233445566778899AA]
blemesh_pb :
blemesh_pb:[Enable or disable provisioning]
[bear, 1:adv bear, 2:gatt bear]
[enable, 0:disable provisioning, 1:enable provisioning]
blemesh_reset :
blemesh_reset:[Reset the state of the local mesh node]
Parameter[Null]
blemesh_net_send :
blemesh_net_send:[Send a network packet]
Parameter[TTL CTL SRC DST]
blemesh_seg_send :
blemesh_seg_send:[Send a segmented message]
Parameter[SRC DST]
blemesh_rpl_clr :
blemesh_rpl_clr:[Clear replay protection list]
Parameter[Null]
blemesh_ivu_test :
blemesh_ivu_test:[Enable or disable iv update test mode]
[enable, 0:disable, 1:enable]
blemesh_iv_update :
blemesh_iv_update:[Enable or disable iv update procedure]
[enable, 0:disable, 1:enable by sending secure network beacons]
blemesh_fault_set :
blemesh_fault_set:[Set current fault or registered fault values]
[type, 0:current fault, 1:registered fault]
[fault, fault array in hex format]
blemesh_lpn_set :
blemesh_lpn_set:[Enable or disable low power node]
[enable, 0:disable lpn, 1:enable lpn]
blemesh_input_num :
blemesh_input_num:[input number in provisionging procedure]
[Max Size:16 Octets, e.g.112233445566778899AA]
blemesh_input_str :
blemesh_input_str:[input Alphanumeric in provisionging procedure]
[Max Size:16 Characters, e.g.123ABC]
ble_init :
ble_disable :
ble_get_device_name :
ble_set_device_name :
ble_start_scan :
ble_stop_scan :
ble_set_adv_channel :
ble_start_adv :
ble_stop_adv :
ble_read_local_address :
ble_connect :
ble_disconnect :
ble_select_conn :
ble_unpair :
ble_conn_update :
ble_security :
ble_auth :
ble_auth_cancel :
ble_auth_passkey_confirm :
ble_auth_pairing_confirm :
ble_auth_passkey :
ble_exchange_mtu :
ble_discover :
ble_read :
ble_write :
ble_write_without_rsp :
ble_subscribe :
ble_unsubscribe :
ble_set_data_len :
ble_conn_info :
ble_set_tx_pwr :
blfdt : blfdt
blogset : blog pri set level
blogdump : blog info dump
ota_tcp : OTA from TCP server port 3333
ota_dump : dump partitions for ota related
bl_sys_time_now : sys time now
psm_set : psm set
psm_unset : psm unset
psm_get : psm get
psm_dump : psm dump
psm_erase : psm dump
psm_test : psm test
gpio-func : gpio-func pinnum 0/1[0:output, 1:input] 0/1[pullup] 0/1[pulldown]
gpio-set : gpio-set pinnum 0/1
gpio-get : gpio-get pinnum
wdt-init : wdt-init ms
wdt-feed : wdt-feed
wdt-disable : wdt-disable
timer-start : timer-start
looprt : looprt based on bloop
looprt_status : looprt based on bloop
looprt_evt : looprt notify event
looprt_evt_status : looprt evt to dump
looprt_schedule1 : looprt schedule evt 20s
looprt_schedule2 : looprt schedule evt 10s
ipc : iperf TCP client
ips : iperf TCP server
ipu : iperf UDP client
ipus : iperf UDP server
sntp_start : sntp start
sntp_time : sntp time
sntp_date : sntp date
stack_wifi
wifi_sta_connect [I]my_ap_name my_ap_password
[/I]