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
/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
then my program crashes, because
in.read();
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.