Changes between Version 64 and Version 65 of expansion/gw16146


Ignore:
Timestamp:
08/08/2024 06:33:39 PM (6 weeks ago)
Author:
Ryan Erbstoesser
Comment:

update cli_app section

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16146

    v64 v65  
    397397# ./cli_app
    398398===================================================
    399      Newracom Command Line Application (2.4)      
     399    Newracom Command Line Application (2.21.5)     
    400400===================================================
    401401NRC> help
    402402===================================================================================================
    403  help                                                   :show CLI tree
    404  exit                                                   :exit program
    405  show version                                           :show version
    406  show config [vif_id]                                   :show configuration
    407  show edca                                              :show EDCA parameters
    408  show uinfo [vif_id]                                    :show UMAC information
    409  show ampdu [clear]                                     :show/clear AMPDU count
    410  show signal [start|stop] [interval] [number]           :show rssi/snr
    411  show maxagg                                            :show max aggregation
    412  show duty                                              :show duty cycle
    413  show autotxgain                                        :show autotxgain
    414  show cal_use                                           :show cal_use
    415  show bdf_use                                           :show board data use
    416  show recovery stats                                    :show recovery
    417  show detection stats                                   :show detection
    418  show temp                                              :show temp
    419  show wakeup_pin                                        :show wakeup pin configuration
    420  show wakeup_source                                     :show wakeup source configuration
    421  show stats simple_rx                                   :show received packet information
    422  show mac clear                                         :clear TX/RX Statistics
    423  show mac tx stats                                      :show TX Statistics
    424  show mac tx clear                                      :clear TX Statistics
    425  show mac rx stats                                      :show RX Statistics
    426  show mac rx clear                                      :clear RX Statistics
    427  set gi <short|long|auto>                               :set guard interval
    428  set maxagg <AC(0-3)> <Max(0-13,0:off)> {size:default=0}:set aggregation
    429  set config <ack[0,1]> <agg[0,1]> <mcs>                 :set ack, aggregation, mcs
    430  set rc <on|off> [vif_id] [mode]                        :set rate control
    431  set duty <on|off> {duty window} {tx duration} {exclude mgmt[0|1]}:set duty cycle
    432  set cal_use <on|off>                                   :set cal_use
    433  set bdf_use <on|off>                                   :set board data use
    434  set txpwr <value(1~30)>                                :set txpwrt
    435  set wakeup_pin {Debounce:on|off} {PIN Number:0~31}     :set wakeup pin for deepsleep
    436  set wakeup_soruce rtc gpio hspi                        :set wakeup source for deepsleep
    437  set addba [tid] {mac address}                          :set addba tid / send addba with mac address
    438  set delba [tid] {mac address}                          :set delba tid / send delba with mac address
    439  set rts <on|off|default> <threshold> <vif_id>          :set rts on/off
    440  test mcs <mcs value>                                   :set mcs
    441  test country JP <CS time> <Blank time> or <show>       :set/show tx time control for JP(Japan)
     403 help                                                                           :show CLI tree
     404 write {address} {data}                                                         :write a 32-bit value to memory
     405 exit                                                                           :exit program
     406 show version                                                                   :show version
     407 show config [vif_id]                                                           :show configuration
     408 show edca                                                                      :show EDCA parameters
     409 show uinfo [vif_id]                                                            :show UMAC information
     410 show ampdu | show ampdu clear                                                  :show/clear AMPDU count
     411 show signal {start|stop} [interval] [number]                                   :show rssi/snr, {options} are only valid in cli_app prompt
     412 show maxagg                                                                    :show max aggregation
     413 show duty                                                                      :show duty cycle
     414 show autotxgain                                                                :show autotxgain
     415 show cal_use                                                                   :show cal_use
     416 show recovery stats                                                            :show recovery
     417 show detection stats                                                           :show detection
     418 show temp                                                                      :show temp
     419 show wakeup_pin                                                                :show wakeup pin configuration
     420 show wakeup_source                                                             :show wakeup source configuration
     421 show sta [vif_id] {all|aid [aid_index]}                                        :show station information
     422 show ap [vif_id]                                                               :show ap information
     423 show tx_time                                                                   :show tx_time about {CS time} {Blank time}
     424 show cca_thresh                                                                :show cca_thresh(unit: dBm)
     425 show self_config {Country(KR,US...)} {BW} {dwell time}                         :show self_config
     426 show optimal_channel {Country(US,NZ...)} {BW} {dwell time}                     :show optimal_channel
     427 show app_version                                                               :show app version
     428 show sysconfig                                                                 :show sysconfig
     429 show rc_pf                                                                     :show rate control profile number
     430 show rc_param                                                                  :show configured rate control parameter
     431 show stats simple_rx                                                           :show received packet information
     432 show mac clear                                                                 :clear TX/RX Statistics
     433 show mac tx stats                                                              :show TX Statistics
     434 show mac tx clear                                                              :clear TX Statistics
     435 show mac rx stats                                                              :show RX Statistics
     436 show mac rx clear                                                              :clear RX Statistics
     437 set gi {auto|short|long} {vif_id(0|1)}                                         :set guard interval
     438 set maxagg {AC(0-3)} {Max(0-8(1Mhz),0-16(2,4Mhz),0:off)} {size:default=0}      :set aggregation
     439 set ack_mode {no|ndp|normal|show}                                              :set ack mode
     440 set rc {on|off} [vif_id] [mode]                                                :set rate control
     441 set duty {on|off} {duty window} {tx duration}                                  :set duty cycle
     442 set duty_debug {on|off}                                                        :set debug mode for duty cycle
     443 set txpwr {auto|limit|fixed} {value}                                           :set tx power and type
     444 set wakeup_pin {Debounce(on|off)} {PIN Number(0~31)}                           :set wakeup pin for deepsleep
     445 set wakeup_soruce rtc gpio hspi                                                :set wakeup source for deepsleep
     446 set addba [tid] {mac address}                                                  :set addba tid / send addba with mac address
     447 set delba [tid] {mac address}                                                  :set delba tid / send delba with mac address
     448 set rts {on|off|default} <threshold> <vif_id> {ndp rts ri:1, normal rts ri:2}  :set rts on/off
     449 set cts {adaptive cts:on, legacy cts:off}                                      :set cts on/off
     450 set tx_time {CS time} {Blank time}                                             :set tx_time about {CS time} {Blank time}
     451 set drop [vif id] [mac address] {on|off}                                       :set drop frames from configured mac address
     452 set self_config {Country(KR,US...)} {BW} {dwell time}                          :set self_config
     453 set tsensor [GPIO for SCL] [GPIO for SDA]                                      :set temperature sensor scl, sda
     454 set cca_thresh {CCA threshold(unit:dBm, -100~-35)}                             :set cca threshold
     455 set color {value}                                                              :set color
     456 set deepsleep_gpio {dir} {out} {pullup}                                        :set GPIO direction/out data/pull during deepsleep operation
     457 set report {on/off}                                                            :set lmac periodic report
     458 set support_ch_width [0|1]                                                     :set supported ch width in s1g capa ie (0:1/2M, 1:1/2/4M)
     459 set ampdu_mode [disable|manual|auto]                                           :set ampdu_mode
     460 set bcn_mcs [vif_id] [10|0|1|2|3|4|5|6|7]
     461                                        :set bcn_mcs
     462 set rc_pf [1|2]                                                                :set rate control profile number
     463 set rc_param {1|2|3|4|5} {1|2|3|4|5|6|7}                                       :set rate control parameter
     464 set bgscan_trx [1:enable|0:disable] [wait time operation ch for rx: (0~100)msec]:set bgscan_trx
     465 set scan_period [dwell time (min 20ms)]                                        :set scan_period
     466 set mesh_rssi_threshold {-120~-10dBm}                                          :set mesh_rssi_threshold
     467 test mcs [mcs index]                                                           :test mcs
     468 test country [country code]                                                    :test country
     469 test cont_tx {stop} | {freq(in MHz)} {bw(1m|2m|4m)} {mcs} {txpwr}              :test continuous tx
     470 gpio read [pin number]                                                         :gpio read
     471 gpio write [pin number] [0|1]                                                  :gpio write
     472 gpio direction [pin index] {[0(input)|1(output)]}                              :read/write gpio direction
     473 gpio pullup [pin index] {[0(off)|1(on)]}                                       :read/write gpio pullup enable|disable
     474
    442475===================================================================================================
    443476OK
     
    460493Board Data use                   : on
    461494OK
     495}}}
     496 * Show Config
     497{{{
     498root@mesh-10-2:~# cli_app show config
     499---------------------------------------------------
     500[MAC Configuration]
     501Device Mode                      : MESH
     502MAC Address                      : 1c:bc:ec:1b:2a:87
     503Country                          : US
     504Bandwidth                        : 2M
     505Frequency                        : 9210 (38)
     506MAC80211_freq                    : 5795 (159)
     507Rate Control                     : ON
     508 -MCS                            : 2
     509 -bw                             : ؟
     510Guard Interval                   : AUTO
     511Security                         : OFF
     512RTS                              : OFF
     513RTS threshold                    : 0
     514Format                           : S1G
     515Preamble type                    : S1G_SHORT
     516Promiscuous Mode                 : OFF
     517color                            : 0x0
     518Auto CFO Cal                     : OFF
     519
     520[PHY Configuration]
     521TX_Gain                          : AUTO
     522Base RX_Gain                     : 85
     523Compensated RX_Gain              : 85
     524Tx Power Type                    : ~24 [AUTO]
     525---------------------------------------------------
     526OK
     527root@mesh-10-2:~#
     528}}}
     529
     530 * Show Optimal Channel
     531{{{
     532root@mesh-10-2:~# cli_app show optimal_channel US 2m 100
     533[Optimal freq.] 927.0 MHz (CCA:0.0%, BW:2M, Legacy channel number:112)
     534OK
     535
    462536}}}
    463537 * Enable A-MPDU (frame aggregation):