API commands without data response

Hello,
I am try demo API Delphi (downloaded from WIKI) and many command working fine, but If I would like to apply command /interface/wireless/scan with parameter =number=wlan1, scan will running and I see !re in aprx. 1 sec interval (it looks that something is received) but without any arguments (via Winbox I see scanned sites). Similar situation is with frequency-monitor commands.
Can somebody help me, where can be a problem?
Many thanks
Martin

scan, torch, ping and other commands of this type (some special tool have to be invoked to see output) currently does not work or do it partially (in case of ping)

are there any plans in development of those tools? we need ARP Ping to check user’s MAC and test the connection with enabled firewall…

it would be very useful to me if the interface parameter of the ping command would work

yes, there are plans, no ETA yet.

Any news on this Janis?
I would love to run wireless scans via the API!

It was already working until version 3.23, If you use version 3.20 you can scan wireless via API,

you can try with API command “/interface/wireless/scan”,“=.id=wlan1”

But this version’s API service have some simple bugs specially on API request returns. If I remember right, there was a problem for ethernet status monitoring function and it was returning always !re.

A lot of bugs seems corrected on version 3.23 and 3.24 but now there is same problem on /interface/wireless/scan function this time.

I think that developers are missing some things while they are upgrading os.

Regards,

when will mac-scan be working?
Right now return values are empty…

Thanks
-Mamaci

scan/monitor returns values differently than print and that is the problem we are working on, making all the non-print to work the same way, and than make them actually return values of results programs have generated. This will be done some day.

did not it ready? my developed custom program waiting just for
returning right value from wireless scan and frequency monitor command
from API.when it return right value from monitoring and scan like command?

Yeah, same with me.
How long will this take Janis?

What’s new in 3.30:

*) console - ‘torch’ and ‘wireless scan’ commands have new argument
‘duration’ that approximately limits running time of the command;
*) api - ‘torch’ and ‘wireless scan’ commands now return same values
in ‘!re’ responses as in console (before they didn’t return
anything), ‘.proplist’ is also correctly handled;