--- id: serial-plugin title: Serial Plugin Settings sidebar_label: Serial Plugin --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ## Overview This is a simple interface to send messages over the mesh network by sending strings over a serial port. :::tip Once plugin settings are changed, a **reset** is required for them to take effect. ::: ## Settings | Setting | Acceptable Values | Default | | :-----: | :---------------: | :-----: | | serialplugin_enabled | `true`, `false` | `false` | | serialplugin_echo | `true`, `false` | `false` | | serialplugin_mode | `integer` | `0` | | serialplugin_rxd | `integer` (GPIO) | `0` | | serialplugin_timeout | `integer` (seconds) | `0` | | serialplugin_txd | `integer` (GPIO) | `0` | ### serialplugin_enabled Enables the plugin. ```bash title="Enable plugin" meshtastic --set serialplugin_enabled true ``` ```bash title="Disable plugin" meshtastic --set serialplugin_enabled false ``` :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: ### serialplugin_echo If set, any packets you send will be echoed back to your device. ```bash title="Enable serialplugin_echo" meshtastic --set serialplugin_echo true ``` ```bash title="Disable serialplugin_echo" meshtastic --set serialplugin_echo false ``` :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: ### serialplugin_mode :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: ### serialplugin_rxd Set the GPIO pin to the RXD pin you have set up. :::note Replace `GPIO` in the below command with the GPIO number your circuit is attached to. ::: ```bash title="Set RXD to GPIO pin number" meshtastic --set serialplugin_rxd GPIO ``` :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: ### serialplugin_timeout The amount of time to wait before we consider your packet as "done". ```bash title="Set serialplugin_timeout to 15 seconds" meshtastic --set serialplugin_timeout 15 ``` :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: ### serialplugin_txd Set the GPIO pin to the TXD pin you have set up. :::note Replace `GPIO` in the below command with the GPIO number your circuit is attached to. ::: ```bash title="Set TXD to GPIO pin number" meshtastic --set serialplugin_txd GPIO ``` :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. ::: :::info Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. :::