User's Manual

-50-
Services
Click on “Edit output” to display all the information available about the selected output option.Click on “Change”
button in the detailed window to change the data output, select one of the multiple choices from the list.
Figure : Selecting the output application
“Websocket” is the method recommended to deliver the end-device data.
ΖWȇVFORXGIULHQGO\H[LVWLQJ+773WUDɝFRSWLPL]DWLRQFDQEHXVHG
It’s bi-directional, real-time interface
It’s easy to implement
It’s lower overhead compared to REST
It’s already supported in all major web browsers
It’s already supported in many programming languages
12.2.2. 6HUYHUFRQȴJXUDWLRQ
ΖQWKHFDOOEDFNVHUYHUSUHYLRXVO\LQVWDOOHGVRPHSDUDPHWHUVPXVWEHFRQȴJXUHGWRHQDEOHWKHFRPPXQLFDWLRQ
with the node.
The
services.iniȴOH ORFDWHG LQdata folder, has to be updated with the following information in the loriot
section.
[loriot]
ORJBOHYHO ߙ$//ߚ
ORJBࢱOH ߙORJVORULRWORJߚ
ZHEVRFNHWBXUO ߙZVVHXORULRWLRDSS"LG [[[[[[[WRNHQ [[[[[[[ߚ
VHUYLFHBXUO ߙKWWSP\VHUYHUFRPVHUYLFHVORULRWߚ
log_level: This level is the minimum level to save logs in the system. Select among these levels:
- OFF: This option deactivate the log.
- ERROR : It only reports ERROR messages.
- INFO: It reports ERROR + INFO messages.
- DEBUG: it reports ERROR + INFO + DEBUG messages.
- ALL: It reports everything happened in the process.
ORJBȴOH The relative path where the log messages will be saved.
websocket_url: The URL of the websocket listed in the Loriot dashboard. In the last window shown “Application
output”, in the second section “Current output setup” there are the target URL and the Authentication Token
to access to the API interface.