I work on a SmartHome solution using B4X:
- Android Client is written using B4A
- Server written using B4J it runs on Raspberry Pi
- Node software written using B4J (nodes are Raspis too)
I wrote the communication (client->server, node->server) using B4X Websocket server.
It is ok for testing purpose and for my private use, but when I show to my potential customers they alwas ask me if it's SECURE?
I can't say that since b4X doesn't support wws connections.
Other questions are related to the IOS support, which i plan do work on, but still not sure if the wws connetion will work.....
As far as I see from the documenentation for jWebSocketClient library
but B4A library supports wss (WebSocket Secure connection)The API is identical to the B4A library: http://www.b4x.com/android/forum/threads/websocket-client-library.40221/#content (except of the object name which is WebSocketClient).
Connect (Url As String)
Tries to connect to the given Url. The Url should start with ws:// or wss://
Could you try wss:// for your applications ?
I worked in the finanance industry and addicted on security very much
I would be worried if I know that somebody is able to obtain control over my house.
P.S. With help of Erel I have already checked successfully MQTT over SSL.