Dear Team,
I am working on the API and got stuck at one command.
telnet command: interface/wireless/scan test
I tried this and also the command below.
MK mikrotik = new MK("192.168.1.1");
if (!mikrotik.Login("admin", ""))
{
txtMessage.AppendText("Could not log in");
mikrotik.Close();
return;
}
mikrotik.Send("/interface/wireless/scan <name>");
mikrotik.Send("=id=*0");
foreach (string h in mikrotik.Read())
{
........
}
I always get an error mentioned below:
!trap=message=no such command!done
!trap=message=no such command!done
Can anyone please suggest where it went wrong.
Regards,
Mahi