How to send events to CAR webservices (EventStreaming parameter)

Send events to the CAR Webservice :

On the CAR component (e.g. the miniPC running on Fedora) :

In your config folder, make sure you have the good parameters in the appParameters.txt.

The EventStreamingSocketConnectionURL parameter should be the IP where you send the events (e.g. 192.168.0.1 for Dem@care system or 127.0.0.1 if you use a local http server).

The EventStreamingSocketConnectionPort parameter should be the one used to listen communication by the server (Dem@care system or a http posts reader).

For example :

Changes to do for sending events to the CAR Webservice (Require Dem@care system) :

<EnableEventStreaming>1</EnableEventStreaming>
<EventStreamingSocketConnectionURL>"192.168.0.1"</EventStreamingSocketConnectionURL>
<EventStreamingSocketConnectionPort>"8989"</EventStreamingSocketConnectionPort>

Changes to do for sending events to the local (Require the script httpserver.py) :

<EnableEventStreaming>1</EnableEventStreaming>
<EventStreamingSocketConnectionURL"127.0.0.1"</EventStreamingSocketConnectionURL>
<EventStreamingSocketConnectionPort>"8989"</EventStreamingSocketConnectionPort>

Changes to do for disabling event streaming :

<EnableEventStreaming>0</EnableEventStreaming>

Leave a Reply