I was wondering about app's design and here are my doubts:
Case 1:Use mqtt between sensors and server, use websocket between server and client.
Case 2:Use mqtt between sensors and server, use mqtt over websocket between client and sensors.
and how to manage TLS in both cases because i haven't use tls implicitly.
or tell me better way(s).