USERCANCLOSE

Disable a CAN port

Platform:

OEM719, OEM729, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7

Use this command to disable a CAN port. The USERCANSTATUS log can be used to check the completion or status of the operation. An optional user defined Transaction ID can be provided to help synchronize requests with responses in the USERCANSTATUS log.

This command is primarily intended to be used by Lua applications that need to interact with external devices. See NovAtel API for information about creating Lua applications on OEM7 receivers.

Closing a CAN port requires the port ID. There are up to 2 CAN buses available on OEM7 receivers, CAN1 and CAN2.

Message ID:2313

Syntax:

USERCANCLOSE PortID [TransactionID]

Abbreviated ASCII Examples:

USERCANCLOSE CAN1 1234

USERCANCLOSE CAN2

Field

Field Type

ASCII Value

Binary Value

Description

Format

Binary Bytes

Binary Offset

1

Command header

USERCANCLOSE header

This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1).

H

0

2

 

PortID

CAN1

1

The CAN port Identifier.

Enum

4

H

CAN2

2

3

TransactionID

 

 

An optional user provided ID for this transaction. Default = 0.

This transaction ID will copied to the USERCANSTATUS log created for this operation.

Ulong

4

H+4