Dear PoJD,
I use your code to read from DHT22 data but get null as a response from native method.
I'm not c/c++ expert but from the code I understand it set signal to start transmition from DHT222 ussing: 500ms low and then 20ms for hight. In my DHT22 AM2302 start signal looks :
minimum 1milisec low signal then 20-40 nanosec high
signal.
dht22.pdf
Could you please check/move to method param this configuraiton?
Thanks,
Piotr