As app on iPhone we use SencorLog in streaming tcp server mode. The ROS node works by enabling only from the application "unbiased: user acceleration, attitude, gravity, heading, magnetic field, rotation" https://pietrocolombo.medium.com/use-iphone-as-imu-in-ros-2b3afbc50184