Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"RangeError: Port should be >= 0 and < 65536. Received type string ('')." #15

Closed
ampledata opened this issue Aug 15, 2023 · 0 comments
Closed

Comments

@ampledata
Copy link
Owner

ampledata commented Aug 15, 2023

The attached flow raises a RangeError when triggered.

Screen Shot 2023-08-14 at 5 09 02 PM

[
    {
        "id": "af8f44169b80f90d",
        "type": "tab",
        "label": "Flow 5",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "1ec0fdf6a0ce55e4",
        "type": "comment",
        "z": "af8f44169b80f90d",
        "name": "APRS TX Example",
        "info": "This example creates a test WorldMap payload, serializses it as an APRS packet, and sends it to the APRS-IS backbone.",
        "x": 679,
        "y": 20,
        "wires": []
    },
    {
        "id": "c0da37efde9a681d",
        "type": "inject",
        "z": "af8f44169b80f90d",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 200,
        "y": 180,
        "wires": [
            [
                "9b0b1427cb364450"
            ]
        ]
    },
    {
        "id": "9b0b1427cb364450",
        "type": "function",
        "z": "af8f44169b80f90d",
        "name": "Create WorldMap JSON",
        "func": "// APRS TX Node uses WorldMap serialized data:\nmsg.payload = {\n    'name': 'VK5IU',\n    'lat': '-35.135731',\n    'lon': '139.249263',\n    'comment': 'test comment'\n}\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 390,
        "y": 180,
        "wires": [
            [
                "44e6b7e8e659c35a"
            ]
        ]
    },
    {
        "id": "6dbfa429e0016cbf",
        "type": "comment",
        "z": "af8f44169b80f90d",
        "name": "APRS TX Example",
        "info": "This example creates a test WorldMap payload, serializses it as an APRS packet, and sends it to the APRS-IS backbone.",
        "x": 210,
        "y": 140,
        "wires": []
    },
    {
        "id": "44e6b7e8e659c35a",
        "type": "aprs tx",
        "z": "af8f44169b80f90d",
        "name": "VK5IU",
        "aprsConfig": "b1b93bf523013703",
        "from": "VK5IU",
        "to": "",
        "via": "",
        "server": "",
        "port": "14580",
        "x": 590,
        "y": 180,
        "wires": []
    },
    {
        "id": "b1b93bf523013703",
        "type": "aprs config",
        "filter": "",
        "name": "",
        "pass": ""
    }
]
ampledata added a commit that referenced this issue Aug 18, 2023
- Added ReadTheDocs documentation site: https://node-red-contrib-aprs.rtfd.io/
- Added GitHub workflow actions (CI/CD).
- Updated metadata/copyright/docstrings.
- Ran everything through prettier.
- Fixes [#8](#8): Missing examples.
- Fixes [#11](#11): Default filter missing on RX node.
- Fixes [#15](#15), [#12](#12) & [#14](#14): Parameter in APRS TX Node config.
- Fixes [#17](#17): User & pass parameters in APRS Config Node credentials.
- Fixes [#18](#18): Move APRS Nodes to 'network' category in palette.
- Fixes [#19](#19): Add unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant