I need to pass data between devices via JSON and store the data in SQLite . That is, there will be a device responsible for receiving the data and at the end will send an "OK" message to the device that sent the data.
I'm using WiFi direct and I've already implemented connection enable, search for nearby devices and the connection between them. I would like an idea of how to send JSON and receive the reply via JSON.