Audiovox P965 Ficha de datos Pagina 254

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 280
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 253
API Delphi
251
The API_STUDIO application
I usually develop using mikrotik API and the API STUDIO allow me to test API commands before implementing it
in other software.
This application is very simple but useful and is a demo for this delphi class (you can also read the simple help in the
main form).
LOGIN
- Insert login informations of router you want to test then print connect.
- The objet of class tr_mkrouter is created and open method is called.
- If the router is connected, api studio perform a /system/identity/getall to retrieve the identity of the router.
EXECUTE COMMANDS
- Insert the command you want to send to the router, each word in a field.
- By pressing execute button the send_command method is called and a timer is activated.
- The timer call the method mrecv_sentence and show results until command_pending returns false.
- You can break the result stream (example, in case you have asked for a ping) by pressing the cancel button. This
button call a send_command(['/cancel']) (this increases the number of pending commands); you could wait for a
while before the stream stops because the timer must receive the !done for the previous command and the !done for
the /cancel.
Vista de pagina 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 279 280

Comentarios a estos manuales

Sin comentarios