I am working on a project for which I need to communicate with a mobile app.
The board will be logging information on certain events into a flash memory which should be retrieved by the mobile app every once in a while (potentially a few KB).
The board also will need to be configured with some parameters like S/N.
I would love to have something similar to a socket in which I could design my own protocol but the closest thing I saw to this is the UARTService and it is deprecated.
Which is the best alternative?