help accessing supported bands and channels using APi
Posted: Mon Oct 25, 2010 4:32 am
I'm trying to access the supported bands and the various channels for each. I can issue the following:
And get this back:
But when I try and get the 5ghz-channels as follows it hangs.
Note that this information does show up in the console.
Any suggestions on how to access the supported information via the API is appreciated.
Code: Select all
/interface/wireless/info/print
=.proplist=supported-bands
Code: Select all
!re
=supported-bands=5ghz,5ghz-turbo,5ghz-10mhz,5ghz-5mhz
!re
=supported-bands=2ghz-b,2ghz-g,2ghz-g-turbo,2ghz-10mhz,2ghz-5mhz
!re
!done
Code: Select all
/interface/wireless/info/print
=.proplist=5ghz-channels
Any suggestions on how to access the supported information via the API is appreciated.