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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c334-2b83f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c334-2b83f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?