Mikrotik Java API by Janisk
Posted: Fri Feb 13, 2015 5:27 pm
Hello. I'm writing my own Android RouterOS client based on Java API by Janisk and have a trouble.
When I sending this to RouterOS
then my program crashes, because in ReadCommand.java returns -1 and empty string is pushed into the queue.
Janisk, can you help me with this problem? Thanks and sorry for bad english.
When I sending this to RouterOS
Code: Select all
/ip/dhcp-server/lease/print
=.proplist=.id,disabled,dynamic,address,mac-address,client-id,server,active-address,active-mac-address,active-host-name,expires-after,status,comment
Code: Select all
in.read();
Janisk, can you help me with this problem? Thanks and sorry for bad english.