NTRIP configuration using ABh commands
Trimble binary command prerequisites to use the ABh command:
ABh Command Structure
The NTRIP Configuration message has multiple subcommands, but the message ID remains the same for all as shown.
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
0 |
STX |
Char |
02h |
Start transmission |
|
1 |
STATUS |
Char |
00h |
|
|
2 |
Message ID |
Char |
ABh |
|
|
3 |
LENGTH |
1 (Char) |
??h |
|
|
Data Byte Start |
||||
|
4 |
RESET FLAG1 |
1 (Byte) |
??h |
|
|
Data Byte End |
||||
|
Length+4 |
Checksum |
Char |
??h |
(status + ID + length + data bytes) modulo 256 |
|
Length+5 |
ETX |
Char |
03h |
End transmission |
The following commands describe only the specific data portion block of the generic message format.
1. Get NTRIP client parameters
Subcommand 21h requests the current NTRIP client parameters:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
21h |
|
|
5 |
NTRIP client ID |
Char |
01 – 03 |
Request NTRIP client parameters for this specified client |
|
Data byte end |
||||
Subcommand 21h returns the current NTRIP client parameters:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
21h |
|
|
5 |
NTRIP client ID |
Char |
01 – 03 |
Request NTRIP client parameters for this specified client |
|
6 |
Enabled |
Char |
00 or 01 |
NTRIP client is: 0: Disabled |
|
7 |
CASTER ADDRESS LENGTH |
Char |
n |
The number of characters to follow in the CASTER ADDRESS |
|
CASTER ADDRESS |
n Char |
|
ASCII IP address or server DNS name |
|
|
CASTER PORT |
SHORT |
0 – 65535 |
IP port that the NTRIP caster is connected to |
|
|
MOUNTPOINT LENGTH |
Char |
n |
The number of characters to follow in the MOUNTPOINT |
|
|
MOUNTPOINT |
n Char |
|
ASCII mountpoint name |
|
|
USERNAME LENGTH |
Char |
n |
The number of characters to follow in the USERNAME |
|
|
USERNAME |
n Char |
|
ASCII username |
|
|
PASSWORD LENGTH |
Char |
n |
The number of characters to follow in the PASSWORD |
|
|
PASSWORD |
n Char |
|
ASCII password |
|
|
IBSS Mode |
Char |
|
0: Disabled |
|
|
TGIP Mode |
Char |
|
0: Disabled |
|
|
Data byte end |
||||
2. Set NTRIP client parameters
Subcommand 20h sets the current NTRIP client parameters:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
20h |
|
|
5 |
NTRIP client ID |
Char |
01 – 03 |
Request NTRIP client parameters for this specified client |
|
6 |
CASTER ADDRESS LENGTH |
Char |
n |
The number of characters to follow in the CASTER ADDRESS |
|
CASTER ADDRESS |
n Char |
|
ASCII IP address or server DNS name |
|
|
CASTER PORT |
SHORT |
0 – 65535 |
IP port that NTRIP caster is connected to |
|
|
MOUNTPOINT LENGTH |
Char |
n |
The number of characters to follow in the MOUNTPOINT |
|
|
MOUNTPOINT |
n Char |
|
ASCII mountpoint name |
|
|
USERNAME LENGTH |
Char |
n |
The number of characters to follow in the USERNAME |
|
|
USERNAME |
n Char |
|
ASCII username |
|
|
PASSWORD LENGTH |
Char |
n |
The number of characters to follow in the PASSWORD |
|
|
PASSWORD |
n Char |
|
ASCII password |
|
|
IBSS Mode |
Char |
|
0: Disabled |
|
|
TGIP Mode |
Char |
|
0: Disabled |
|
|
Data byte end |
||||
3. Enable/Disable NTRIP Client
Subcommand 22h enables or disables the NTRIP Client specified. The receiver responds with an ACK message if successful or a NACK message if the operation failed:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
22h |
|
|
5 |
NTRIP client ID |
Char |
01 – 03 |
NTRIP client to be enabled/disabled |
|
6 |
Enabled |
Char |
00 or 01 |
NTRIP client is: 0: Disabled |
|
Data byte end |
||||
4. Get NTRIP caster parameters
Subcommand 70h requests the current NTRIP caster parameters:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
70h |
|
|
5 |
NTRIP caster ID |
Char |
01 – 03 |
Request NTRIP caster parameters for this specified caster |
|
Data byte end |
||||
Subcommand 70h returns the current NTRIP caster parameters. Note that the APPFILE Output message record is used to configure output streams.
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
70h |
|
|
5 |
NTRIP caster ID |
Char |
01 – 03 |
Request NTRIP caster parameters for this specified caster |
|
6 |
Enabled |
Char |
00 or 01 |
NTRIP caster is: 0: Disabled |
|
7–8 |
TCP/IP port |
SHORT |
0 – 65535 |
IP port for the NTRIP caster |
|
9 |
Authentication Type |
Char |
N |
Shall be ‘N’ |
|
10 |
Fee |
Char |
N |
Shall be ‘N’ |
|
11 |
NMEA Required |
Char |
0 |
Shall be ‘0’ (zero) |
|
12 |
MOUNTPOINT LENGTH |
Char |
n |
The number of characters to follow in the MOUNTPOINT |
|
|
MOUNTPOINT |
n Char |
|
ASCII mountpoint name |
|
Data byte end |
||||
5. Enable/Disable NTRIP caster
Subcommand 72h enables or disables the NTRIP Client specified. The receiver responds with an ACK message if successful or a NACK message if the operation failed:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
72h |
|
|
5 |
NTRIP caster ID |
Char |
01 – 03 |
NTRIP caster to be enabled/disabled |
|
6 |
Enabled |
Char |
00 or 01 |
NTRIP caster is: 0: Disabled |
|
Data byte end |
||||
6. Change NTRIP caster TCP/IP port
Subcommand 73h changes the NTRIP caster TCP/IP port. The receiver responds with an ACK message if successful or a NACK message if the operation failed:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
73h |
|
|
5 |
NTRIP caster ID |
Char |
01 – 03 |
Request NTRIP caster parameters for this specified caster |
|
6–7 |
TCP/IP port |
SHORT |
0 – 65535 |
IP port for the NTRIP caster |
|
Data byte end |
||||
7. Change NTRIP caster mountpoint
Subcommand 74h changes the NTRIP caster mountpoint name. The receiver responds with an ACK message if successful or a NACK message if the operation failed:
|
Byte # |
Item |
Type |
Value |
Description |
|---|---|---|---|---|
|
Data byte start |
||||
|
4 |
Subcommand |
Char |
74h |
|
|
5 |
NTRIP caster ID |
Char |
01 – 03 |
Request NTRIP caster parameters for this specified caster |
|
6 |
TCP/IP port |
SHORT |
n |
The number of characters to follow in the MOUNTPOINT |
|
|
MOUNTPOINT |
n Char |
|
ASCII MOUNTPOINT name |
|
Data byte end |
||||