librouteros-api
librouteros-api copied to clipboard
C API library for Mikrotik RouterOS devices
To be able to user this library in modern gcc releases and newer hardware, some adjustments are necessary.
Old API authentication method will also no longer work, see documentation for new login procedure: https://wiki.mikrotik.com/wiki/Manual:API#Initial_login
I tried to running /ip/route/add command but not working ros_send_command_wait(conn, "/ip/route/add","=distance=1","=dst-address=192.168.12.1","gateway=TES",NULL); I double check the command with running in mikrotik terminal and it working just fine
when i use the example cmd i input the cmmand /interface/wireless/print the example look like in loop or malloc a big block and get wrong.i follow in the bug and...
I found a big issue that the API freeze if I provided a wrong port number(but the port can reach some other service, e.g. HTTP or API-ssl). I don't good...