javAPRS
Home Page

Net dataFile Parameter


Using javAPRS with static data files adds a bit of animation, but isn't anything that couldn't be done with other internet systems. Where things really get exciting is using javAPRS to connect to live data streams. Net connections are specified with the dataFile parameter.

<PARAM name="dataFile1" value="netc:1234:anAPRS-IS.server.net">

The "netc" informs javAPRS that this is a network data stream rather than a file. The number between the colons is the TCP/IP port number of the server port. The last part is the address of the server. Due to security limitations of Java, this MUST be the same server as the codebase of javAPRS.

<PARAM name="dataFile1" value="net:anAPRS-IS.server.net">

This is another version of the net definition that assumes the port number of 14579.

<PARAM name="dataFile1" value="ws://anAPRS-IS.server.net:8080/#history">

This uses basic WebSocket protocol (over HTTP). wss (secure WS) is not supported. The #history is optional and denotes to the server to provide a historical feed. Not all servers support WebSocket.

<PARAM name="sendLogin" value="false"> (default true)

javAPRS defaults to sending a "read-only login" string to the host at connection time. This switch allows you to turn that off if you are going to a non-standard APRS server.