User Tools

Site Tools


public:emscope:websocket_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
public:emscope:websocket_api [2020/06/25 10:08]
admin
public:emscope:websocket_api [2020/06/25 10:32] (current)
admin
Line 393: Line 393:
  
 ===== - Miscellaneous ===== ===== - Miscellaneous =====
 +==== - Getting the activated licenses ====
 +Send the field **get_licenses** with a value of "​true":​
 +
 +<​code>​
 +{
 +  "​get_licenses":​ true
 +}
 +</​code>​
 +
 +As a response you will get a **licenses** object with an array with the name of each activated licenses:
 +
 +<​code>​
 +{"​licenses":​ [ "​emi",​ "​osc"​ ]}
 +</​code>​
 +
 ==== - Getting the current PCB and FPGA temperature ==== ==== - Getting the current PCB and FPGA temperature ====
 Send the field **get_temps** with a value of "​true":​ Send the field **get_temps** with a value of "​true":​
public/emscope/websocket_api.txt · Last modified: 2020/06/25 10:32 by admin