# Decollector module test

To run 'decollector' in docker environment, following modules should be running:

1. ubusd                     # to publish 'wifi.dataelements' UBUS object
2. ieee1905d                 # to gather the received EasyMesh messages

## Test procedure

Run decollector' as following:

`decollector -t 60 &`

An UBUS object 'wifi.dataelements' object will get created.

To dump TR-181 Device.WiFi.DataElements. tree over UBUS, run -

`ubus call wifi.dataelements dump`

To show stats and status of the EasyMesh messages seen by decollector, run -

`ubus call wifi.dataelements status`


To **restart** the collection of EasyMesh messages, run -

`ubus call wifi.dataelements refresh`

NOTE: when -t <num> option is passed when starting 'decollector', refresh is
implicitly triggered at every <num> seconds.
