lwc:programming:mobile:android:mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:programming:mobile:android:mqtt [2021/11/16 07:03] John Harrisonlwc:programming:mobile:android:mqtt [2021/11/18 15:24] (current) John Harrison
Line 16: Line 16:
 ==== TLSv1.2 and Android 4.4 ==== ==== TLSv1.2 and Android 4.4 ====
 //Android 4.4 has TLSv1.2 disabled. A possible workaround is to create our own socketfactory which supports TLSv1.2// //Android 4.4 has TLSv1.2 disabled. A possible workaround is to create our own socketfactory which supports TLSv1.2//
-  * [[https://www.hivemq.com/docs/hivemq/4.7/user-guide/howtos.html|HiveMQ SSL with Eclipse]] might have a way for us to use our own socketfactory but not sure if this can be moved to Android+  * [[https://www.hivemq.com/docs/hivemq/4.7/user-guide/howtos.html|Paho SSL with Eclipse]] might have a way for us to use our own socketfactory but not sure if this can be moved to Android 
 +    * this method worked when using [[https://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/|this library]]
   * [[https://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/|Implementing TLSv1.2 on Android 4.4 by extending socketfactory]]   * [[https://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/|Implementing TLSv1.2 on Android 4.4 by extending socketfactory]]
   * [[https://github.com/erickok/transdroid/blob/master/app/src/main/java/org/transdroid/daemon/util/TlsSniSocketFactory.java|Android Java extending socketfactory]]   * [[https://github.com/erickok/transdroid/blob/master/app/src/main/java/org/transdroid/daemon/util/TlsSniSocketFactory.java|Android Java extending socketfactory]]
Line 29: Line 30:
 ===== Reference ===== ===== Reference =====
   * [[https://medium.com/swlh/android-and-mqtt-a-simple-guide-cb0cbba1931c|Android MQTT Simple Guide]] (from Medium)   * [[https://medium.com/swlh/android-and-mqtt-a-simple-guide-cb0cbba1931c|Android MQTT Simple Guide]] (from Medium)
 +  * [[http://portecle.sourceforge.net/|Portecle: generate bks, jks and friends from certs]] (use this or your life will be hell)
  
  
  • lwc/programming/mobile/android/mqtt.1637067797.txt.gz
  • Last modified: 2021/11/16 07:03
  • by John Harrison