I would like to explain my problem briefly. I developed an application that acquires data through core motion and health kit libraries in watch and sends them to the server. First; when the watch is connected to the phone it sends all data successfully nothing wrong and the application works smoothly for a long period of time. However; When I turn the phone off and I connect the watch directly to wifi it connects to the server but what happens next is strange. For example, it can send one parameter only like accelerometer only but no other data; and if I disable sending it will send the GPS or pedometer to the server. I figured it can only send one parameter at a time but when I turn it off all the ones belonging to core motion. the health kit data is not sent like heart rate variability and oxygen saturation.
I am really stuck at this. I wanna know why when it is paired with the phone it works and when it is not this happens. I am not using the phone for anything just getting the data from the watch and sending it.
I attached the log