How can the phone combine the physical suite data received with the data collected by itself, and then package and upload to the server?

recently, I am working on a student project, which involves a problem that I don"t quite understand:
We want the data on hardware and app to be Synchronize as much as possible, so the way we want to use is to "upload the hardware to the phone through the wifi module". The phone will package the received data with its own real-time data and upload it to the server, so what should the phone do?

Dec.07,2021
Menu