1

Messages

Тема: Messages

Just wanted to capture status changes and events occurrence on third party application. To achieve this we are planning to get messages every second from the server and check the content of the message to evaluate if there is any sensor status change or event occurrence information in it in the third party application.

I need your kind advise on the most efficient way of implementing this and what side effects it may have if I tried to pool message of multiple units every second from the server, it it has any side effects what should I do to avoid it.

Looking forward to hear from you !

2

Messages

Re: Messages

Hello, nasnew.
You can use core/update_data_flags request to subscribe to all necessary units' events.
For handling unit's sensor's status changes You need to add to data flags 0x00100000 (message parameters).
And then You can use avl_evts request to get all the occurred events from server.

Get more details and examples here:
http://sdk.wialon.com/wiki/en/sidebar/r … datafalags
http://sdk.wialon.com/wiki/en/sidebar/r … data_flags
http://sdk.wialon.com/wiki/en/sidebar/r … ormat/unit

Head of Wialon Local Department
Gurtam
3

Messages

Re: Messages

Hi! Sorry to intrude. Can I use this methods to implement those event's captures as a webservice or redirect them to a custom destination from wailon server side?
Thanks

4

Messages

Re: Messages

infragmt, surely You can create retranslator (of necessary protocol) in Wialon and it will send messages (with position and other parameters) to specified server.
Docs https://docs.wialon.com/en/hosting/cms/retra/retra

Head of Wialon Local Department
Gurtam