Community discussions

MikroTik App

Search found 11 matches

by pdeline
Fri Dec 31, 2010 6:51 am
Forum: Scripting
Topic: Access to noise-floor and overall-tx-ccq using API
Replies: 3
Views: 2599

Re: Access to noise-floor and overall-tx-ccq using API

I found the answer: /interface/wireless/monitor =.id=*2 =once= !re =status=connected-to-ess =band=5ghz-10mhz =frequency=5180 =wireless-protocol=802.11 =tx-rate=18.0Mbps =rx-rate=3.0Mbps =ssid=MikroTik =bssid=00:15:6D:54:6E:43 =radio-name=00156D546E43 =signal-strength=-84 =tx-signal-strength=-81 =noi...
by pdeline
Fri Dec 31, 2010 5:12 am
Forum: Scripting
Topic: Access to noise-floor and overall-tx-ccq using API
Replies: 3
Views: 2599

Re: Access to noise-floor and overall-tx-ccq using API

Thanks for the quick response. I don't think the registration-table contains the values I'm looking for. I'm interested in the Overall Tx CCQ and Noise Floor as displayed in Winbox on the Status tab for a wireless interface. If I ssh in to the device I can see the values when I execute the following...
by pdeline
Thu Dec 30, 2010 5:20 pm
Forum: Scripting
Topic: Access to noise-floor and overall-tx-ccq using API
Replies: 3
Views: 2599

Access to noise-floor and overall-tx-ccq using API

Is there a way to access these values using the API? I am using the Java version if that matters.
I'm working with RouterOS versions 3.30 thru 5.0rc3.
by pdeline
Thu Nov 25, 2010 12:49 am
Forum: Scripting
Topic: help accessing supported bands and channels using APi
Replies: 7
Views: 2172

Re: help accessing supported bands and channels using APi

I've managed to resolve this. The Java API described here: http://forum.mikrotik.com/viewtopic.php ... 07#p103407
does not account for a length being encoded in more than one byte.
by pdeline
Sun Oct 31, 2010 6:37 pm
Forum: Scripting
Topic: help accessing supported bands and channels using APi
Replies: 7
Views: 2172

Re: help accessing supported bands and channels using APi

definitely not 5.0rc2 as this works there:
/interface/wireless/info/print
=.proplist=5ghz-channels
What response are you seeing when you do this?
I have upgraded to 5.0rc3 and I still do not get a response to this API command. It just hangs.
by pdeline
Wed Oct 27, 2010 5:21 am
Forum: Scripting
Topic: Trying to get /interface/wireless/info data using api
Replies: 0
Views: 821

Trying to get /interface/wireless/info data using api

I'm writing a java app to access information on my board and can't seem to get this information. I've posted a more specific question regarding the 5ghz-channels ( http://forum.mikrotik.com/viewtopic.php?f=9&t=46091 ) but would like to ask a more general question here. What is the best way to ge...
by pdeline
Wed Oct 27, 2010 1:22 am
Forum: Scripting
Topic: help accessing supported bands and channels using APi
Replies: 7
Views: 2172

Re: help accessing supported bands and channels using APi

I'm using 4.10. Thanks for asking.

More information:
When I query for any of the 5ghz properties or the capabilities property the call never returns. All other properties behave as expected.
by pdeline
Mon Oct 25, 2010 4:32 am
Forum: Scripting
Topic: help accessing supported bands and channels using APi
Replies: 7
Views: 2172

help accessing supported bands and channels using APi

I'm trying to access the supported bands and the various channels for each. I can issue the following: /interface/wireless/info/print =.proplist=supported-bands And get this back: !re =supported-bands=5ghz,5ghz-turbo,5ghz-10mhz,5ghz-5mhz !re =supported-bands=2ghz-b,2ghz-g,2ghz-g-turbo,2ghz-10mhz,2gh...
by pdeline
Mon Oct 25, 2010 4:14 am
Forum: Scripting
Topic: Trouble setting static-key value to empty using the API
Replies: 2
Views: 1167

Re: Trouble setting static-key value to empty using the API

Thanks for the help.

That did the trick.
by pdeline
Sun Sep 26, 2010 11:56 pm
Forum: Scripting
Topic: Trouble setting static-key value to empty using the API
Replies: 2
Views: 1167

Trouble setting static-key value to empty using the API

When I ssh to my device, I can set one of the static-key values to empty (which is the default) using the following command: /interface wireless security-profiles set <name> static-key-0="" However, I am unable to do the same using the API. I have tried this: /interface/wireless/security-p...
by pdeline
Thu Sep 09, 2010 5:27 am
Forum: Scripting
Topic: API /export problem
Replies: 16
Views: 9827

Re: API /export problem

Any progress on this issue. When I issues "/export =file=myconfig" from the API I get a 8600 byte file. When I issue "/export file=myconfig" from the command line (telnet or ssh), I get a 17215 byte file.