

#Exit gecko driver serial#
The state diagram below shows the transitions between serial bus modes. A command issued to the command parser blocks commands from other interfaces until it is completed. In STREAM mode, you can stream data between the UART and the Wi-Fi interface, as described in Stream Mode.Īs the STREAM mode + Remote Terminal case in the above diagram suggests, you can stream data to a remote host, and at the same time issue commands to the Gecko OS device via the remote terminal or the HTTP Server RESTful API. Access via Gecko OS commands to Wi-Fi ports and other module features is unaffected by serial bus mode or remote terminal status.Ĭommand configuration and protocols are as described in Command Mode and Command Protocol, whether commands are issued via the UART in COMMAND mode or COMMAND breakout, via the remote terminal, or via the HTTP RESTful API. Note that this diagram illustrates access to the command parser only. The diagram below shows a schematic representation of access to the command parser via the serial interface and the Wi-Fi interface.

The local serial interface and the remote terminal are mutually exclusive: connecting a remote terminal disables the local serial interface to the command parser. To configure command mode and response, see Command Mode Configuration.

See Networking and Security, HTTP Server. See Networking and Security, Remote Terminal. The Gecko OS terminal console on the local serial interface.This bus mode is called Stream Mode.Īlternatively, you use Gecko OS commands to mediate the exchange of data. To exchange data with other hosts, you can stream data transparently between the Wi-Fi interface and the local serial interface. Then the Gecko OS device allows the local host to communicate with other hosts by exchanging data.
#Exit gecko driver full#
Full support for a serial-SPI communications interface will be added in an upcoming release of Gecko OS.Ī Gecko OS device connects a host system to a network via Wi-Fi.įirst the Gecko OS device is configured to connect to the network and to other hosts on the network. SPI provides a higher speed communications interface for higher bandwidth applications such as audio and video. If a single UART is available, control, data and debug logs (if enabled) are interleaved. If a host can support two UARTs, one UART may be used for control and data communication, and the other used for debug logging. UART ProtocolĪ single or dual UART is available for use by the host MCU. Gecko OS supports two serial protocols, UART and SPI. It supports various serial protocols and modes, and is easy to use for both humans and machines alike. Gecko OS provides a flexible serial interface.
