.. _tc10:

TC10 support
============

The link state of Automotive Ethernet 100/1000 BASE-T1 interfaces for Kvaser Arcus devices can be controlled using TC10 commands. Available TC10 commands are listed in the table :ref:`tc10_commands` below.

.. _tc10_commands:

.. list-table:: Available TC10 Commands
    :header-rows: 1

    * - Command
      - Description
    * - Sleep
      - Put the link in a sleep state. This will set the link state of the interface to down.
    * - Wake
      - Wake the link from a sleep state. This will set the link state of the interface to up, if it is currently down due to a sleep command.


This functionality is only available for Kvaser Arcus devices that support TC10 and have firmware version 1.1.1 or later.

The table for :ref:`tc10_states` below describes the different TC10 states that an interface can be in, and their meanings.

.. _tc10_states:

.. list-table:: Available TC10 States
    :header-rows: 1

    * - State
      - Description
    * - Normal
      - The interface's link is operating normally.
    * - Sleep
      - The interface's link state is down. The interface can be woken by a 'wake' command or a wake request from the link partner.
    * - Sleep failed
      - The interface attempted to enter sleep mode, but failed. This state will remain until a new command is sent, or the device is restarted.
    * - Sleep aborted
      - The interface has received a sleep request from a link partner but was configured to abort the request. This state will remain until a new command is sent, or the device is restarted.
    * - Unknown
      - Error fetching state from device.
