afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

TestSensorModule : Property SensorReportingInterval (pin 60) and message Sensor1Change (min 77) #42

Closed pblo closed 9 years ago

pblo commented 9 years ago

It seems SensorReportingInterval turn on/off also SensorXChange reports - not only SensorInterval (min 74)

When SensorReportingInterval is 0 (disabled) then Sensor1Change message is not comming ..

In this case Sensor1NormalSampleInterval is set to 1sec.

The Question is it a feature or bug?

Disabling reports means disabling SensorChange reports as well as interval reports ?

Thanks . Pawel

pblo commented 9 years ago

These are all this tests : off_test_ChangeThresholdWhenReportIntervalZeroForSensor - so far turned off..

I also checked manually in terminal simulator - It really seems change reports are not comming..

afarran commented 9 years ago

Turning off SensorReportingInterval should not affect the generation of SensorXChange reports

pblo commented 9 years ago

We added reseting of all properties to suite_setup (by prop reset message) and in such setup this test started to pass . Earlier only a few properties were being reset. I think this issue could be closed.