How to get client.meshtastic.org to work with the nRF52 over ethernet #68
Replies: 2 comments 3 replies
-
Hi; you won't be able to get the web client working with an nrf52 device over HTTP regardless of TLS certificates. It's more than just that it can't hold the web client in its flash, it doesn't deliver a web server at all. Android and CLI are able to connect to it by way of the TCP API (which is separate from the HTTP one). I made a proof-of-concept project that serves up an HTTP API and proxies it to an underlying TCP/Serial/BLE connection, which is at https://github.com/ianmcorvidae/meshtastic-http-proxy (but no promises it'll work right, no support guaranteed, etc.). If you were to use that, you'd run the proxy somewhere it can connect to your node and where you can serve it up with a TLS certificate and use it with client.meshtastic.org, or you would serve it up without one and self-host the web client to connect to it. Another option would be to connect with Web Bluetooth (or serial) from a chromium-based browser that supports it, but obviously that wouldn't use the Ethernet connection and might not be an option for you. |
Beta Was this translation helpful? Give feedback.
-
Hmmm, so I guess I have to test running the Android app on Bluestacks or something. Forgot to say, the node is a RAK4631 with the Ethernet PoE module. |
Beta Was this translation helpful? Give feedback.
-
So, since the flash on the nRF52 is so small that the web client can't be installed on it, how can one get the certificate installed, since TLS can't be turned off on client.meshtastic.org? And not really interested in using the Android client, since this is going to be a base station node. Or is the only way to make it work, to self host the client?
Beta Was this translation helpful? Give feedback.
All reactions