2020-11-10, 09:03 AM
I can relate to the frustration, but calling other peopls's software s*** is not the best way to get help.
Despite that here goes....
Your post title is misleading: UDP and MQTT don't have practically anything to do with each other. Please think about others who are reading what you write, maybe much later - you are adding confusion.
Your first example seems to be sending UDP to itself as it uses localIP.
Here's a real life ESP8266 example to send SK over UDP that you can adapt: https://gist.github.com/tkurki/d8d45dfb3...1e8e95a45b
Netcat is a great way to test that your messages make to the server - points for sharing that!
SK Server does not accept UDP input by default, you need to add a Data Connection:
- Data type: Signal K
- Signal K Source. UDP
Despite that here goes....
Your post title is misleading: UDP and MQTT don't have practically anything to do with each other. Please think about others who are reading what you write, maybe much later - you are adding confusion.
Your first example seems to be sending UDP to itself as it uses localIP.
Here's a real life ESP8266 example to send SK over UDP that you can adapt: https://gist.github.com/tkurki/d8d45dfb3...1e8e95a45b
Netcat is a great way to test that your messages make to the server - points for sharing that!
SK Server does not accept UDP input by default, you need to add a Data Connection:
- Data type: Signal K
- Signal K Source. UDP