Community discussions

MikroTik App

Search found 7 matches

by gzfsky
Thu Jun 19, 2014 5:54 am
Forum: Scripting
Topic: API for Android
Replies: 3
Views: 3860

API for Android

Does Mikrotik provid API interface functions for Android developers?
by gzfsky
Fri Feb 28, 2014 4:57 am
Forum: Scripting
Topic: In java,how to get other devices GPS information from API?
Replies: 8
Views: 1932

Re: In java,how to get other devices GPS information from AP

Thank you,I hava anther question. When we enter RouterOS by Winbox,in content: IP, Neighbors,we can see other devices IP addresses and MAC addresses.Why?some devices MAC addresses are ether1's MAC addresses and some devices MAC addresses are wireless's MAC addresses.How can I set?Let me get the MAC ...
by gzfsky
Thu Feb 27, 2014 5:11 pm
Forum: Scripting
Topic: In java,how to get other devices GPS information from API?
Replies: 8
Views: 1932

Re: In java,how to get other devices GPS information from AP

Creating a new thread for every connection is a good way,but how can I know from which routerOS device I get the GPS information?creating a connection is by IP address,and all routerOS devices component mesh networks.
by gzfsky
Thu Feb 27, 2014 11:28 am
Forum: Scripting
Topic: In java,how to get other devices GPS information from API?
Replies: 8
Views: 1932

Re: In java,how to get other devices GPS information from AP

[quote="boen_robot"]Use /system/gps/set =port=usb2 to change the port from your current GPS, to the other GPS (in the above example, assumed to be at port "usb2"), and then call "monitor", which would be taking effect on that new GPS. Or do you want to capture the data ...
by gzfsky
Thu Feb 27, 2014 11:13 am
Forum: Scripting
Topic: In java,how to get other devices GPS information from API?
Replies: 8
Views: 1932

Re: In java,how to get other devices GPS information from AP

I mean, getting other RouterOS devices GPS information,not getting multiple GPS information on a single RouterOS device.
by gzfsky
Wed Feb 26, 2014 2:58 am
Forum: Scripting
Topic: In java,how to get other devices GPS information from API?
Replies: 8
Views: 1932

In java,how to get other devices GPS information from API?

GPS module is loaded through the serial port on the RouterOS device, and then in the java environment through “ret.sendCommand ("/ system / gps / monitor \ n = once =. Proplist = date-and-time, latitude, longitude, altitude, satellites \ n ") ”to get the RouterOS device GPS information, bu...
by gzfsky
Wed Feb 12, 2014 8:24 am
Forum: Scripting
Topic: API in Java
Replies: 2
Views: 1036

API in Java

GPS module is loaded through the serial port on the RouterOS device then reads the GPS information via Java, but time is always read to half a second slower than the system time.Code is as follows: ret.sendCommand("/system/gps/monitor\n=once=.proplist=date-and-time,latitude,longitude,altitude,s...