Documentation ¶
Overview ¶
Package serial9p makes serial ports accessible through the 9P protocol. A serport.Port may be exported as a 9P file server that should behave much like Plan 9's /dev/eia* serial line devices. Functions MountConn and OpenFSDev provide 9P client access.
See https://plan9.io/magic/man2html/3/uart for details about the file system interface, and cmd/sercom for an example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MountConn ¶
Mount a 9P server using a previously established connection, and wrap ctl and data files of a remote serial device into a serport.Port. Basename is the a file name prefix or directory, where the device is expected to be found. It can be "", if ctl and data files live in the 9P servers root directory
Types ¶
This section is empty.