Lesson 6 of 7
Connect a client and use the published stream
Status: Draft
Purpose
Connect an authorised NTRIP client or rover to the published course stream. Confirm data receipt and diagnose common client-side faults.
Learning objectives
After this lesson, you can:
- Identify the client connection values.
- Discover or confirm the mountpoint.
- Connect with approved credentials.
- Verify continuing correction-data receipt.
- Separate correction receipt from rover position calculation.
- Diagnose network, authentication, mountpoint, and freshness faults.
Prerequisites
Complete Lesson 5. The stream must pass its publication checks. Use an approved test client or hardware rover on the trusted network or VPN.
Key terms
- Caster address: The trusted host or address used by the client.
- Caster port: The TCP port used by the NTRIP listener.
- Credential: The approved username and password used for access.
- Connection profile: The saved client values for one caster and mountpoint.
- Correction age: The age of correction data available to the client or positioning engine.
- Fix state: A rover result such as autonomous, float, or fixed, when exposed by the rover system.
Concept explanation
Required client values
An NTRIP client normally needs:
- caster host or address
- caster port
- mountpoint
- username and password when authentication is enabled
The project default port stated by its documentation is 2100. The actual course value comes from the approved configuration. Do not assume the default when the course environment declares another value.
Discovery and connection
The client can request the caster root to obtain the sourcetable. It then requests the selected mountpoint. The caster checks the request target and credentials. An accepted stream receives an NTRIP success response followed by RTCM bytes.
What successful receipt proves
Continuing bytes prove that the client receives a stream. They do not prove:
- correct antenna coordinates
- good satellite visibility
- low correction age at the positioning engine
- a fixed rover solution
- centimetre-level accuracy
These results require additional rover and field evidence.
Safe credential handling
The project uses Basic authentication. Treat the password as reusable. Do not include it in screenshots, exports, command history, or assessment evidence. Use the trusted network or VPN because Basic authentication does not encrypt the connection.
Worked demonstration
The instructor uses an approved test client.
- Confirm the caster is reachable through the trusted path.
- Request or review the sourcetable.
- Select the course mountpoint.
- Enter the approved username and password without recording the password.
- Connect.
- Observe continuing data receipt.
- Compare the client's receipt time with the caster freshness result.
- Disconnect and remove the temporary profile.
Expected result: the client receives the selected current stream. No claim is made about rover position unless separate evidence supports it.
Guided practice
Create a course connection profile with placeholders in the evidence copy:
host: <caster-host>
port: <caster-port>
mountpoint: <mountpoint>
username: <course-user>
password: <not-recorded>
Connect and record:
- connection time
- selected mountpoint
- continued data receipt
- correction or stream age if the client exposes it
- practice pathway used
Independent practice
Diagnose one supplied fault. Use this order:
- trusted network or VPN reachability
- caster service state
- listener host and port
- sourcetable response
- mountpoint spelling and case
- username and password
- stream freshness
- client or rover input settings
Stop when the failed boundary is proven. Do not weaken authentication.
Checks for understanding
- Which four values normally define a client connection?
- What does an unauthorised response indicate?
- Does receiving RTCM prove a fixed rover solution?
- Why should the sourcetable be checked before changing rover settings?
- Why must the password be absent from evidence?
Assessment and evidence
Connect the approved client and submit:
- a redacted connection profile
- evidence of continuing data receipt
- a statement about what the result does and does not prove
- one ordered fault diagnosis
Troubleshooting guidance
| Symptom | First check |
|---|---|
| Host is unreachable. | Trusted network or VPN and caster address. |
| Connection is refused. | Caster service state, listener address, and port. |
| Sourcetable is returned instead of data. | Client requested / instead of the mountpoint. |
| Unauthorised response. | Course username, password, and credential encoding. |
| Mountpoint fails. | Exact configured mountpoint name. |
| Bytes arrive but rover does not improve. | Correction age, rover GNSS settings, antenna state, and field conditions. |
Summary
A client needs the correct trusted address, port, mountpoint, and credentials. Successful RTCM receipt proves transport to the client. It does not by itself prove position quality.
Source references
SRC-PROJECT-OVERVIEW: listener, authentication, mountpoint, and safety boundariesSRC-PROJECT-CODE: implemented request, authorisation, sourcetable, and stream responsesSRC-NTRIP-CONCEPT: general client and caster roles