credo-science / credo-detector-android

CREDO detector as Android application
Other
6 stars 11 forks source link

MQTT? #13

Open pingud98 opened 6 years ago

pingud98 commented 6 years ago

Hi,

More of a strategic comment than an issue - have you considered using MQTT instead of rolling your own communications protocol? We're using it for CosmicPi and very happy with the results/performance.

Example - https://github.com/CosmicPi/cosmicpi-rpi_V1.5/blob/master/backend/mqtt_publisher.py you can subscribe to our MQTT server (#) at cosmicpidata.mooo.com

Regards, James

myco commented 6 years ago

In my opinion it is a good idea to prepare a second interface which will be based on MQTT protocol with TLS security layer. I plan to test it with devices like STM32 which could be power enough to send data independently in secure way. I am open to contribute with MQTT API design.

Best regards, Rafal