retrieve NMEA via UDP connection. ...more details later.
NMEA UDP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"451686f0.bae978","type":"debug","name":"","active":false,"console":"false","complete":"payload","x":301,"y":118,"z":"90dc536.f6f23b","wires":[]},{"id":"d1309756.2ecf68","type":"udp in","name":"","iface":"","port":"10110","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":107,"y":111,"z":"90dc536.f6f23b","wires":[["451686f0.bae978"]]},{"id":"e64a0386.19b6","type":"inject","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"x":109,"y":159,"z":"90dc536.f6f23b","wires":[["4c453064.b3bad"]]},{"id":"4c453064.b3bad","type":"function","name":"Format timestamp Function","func":"// Create a Date object from the payload\nvar date = new Date(msg.payload);\n// Change the payload to be a formatted Date string\nmsg.payload = date.toString();\n// Return the message so it can be sent on\nreturn msg;","outputs":"1","valid":true,"x":326.7142639160156,"y":167.8571319580078,"z":"90dc536.f6f23b","wires":[[]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment