While receiving magnetic sensor events on OnDataReceived(), the input result r is E_INVALID_ARG. But if we continue to take the magnetic sensor values without returning, we are able to get the X,Y, Z values of magnetic sensor correctly. All other sensors except magnetic sensor, data are received with E_SUCCESS as result.
Is this the issue with SDK or any other?
Thank you!