How can i simulate a sensing phenomenon?
At the moment, when you make a call to any of the sensing interfaces; NesCT would return a random value. You can see this behavior in get_adc_data function of HPLADCC. To simulate sensing phenomenon, this function could be modified to return 0 for the time interval that phenomenon is expected to happen and return 1 when the sensing interface is polled during phenomenon execution. Here is an example. If the simulation time is between 5 and 10, and node_id is 0 or 5 then a phenomenon occurred, else return nil. You need to check return value of ADC.dataReady at your application against 1 or 0.