Product Documentation
RelayKeys (🇬🇧 English )
RelayKeys (🇬🇧 English )
  • 😎Introduction
  • ⚙️ Installation
    • Setting up a board for RelayKeys
      • Adafruit Feather nRF52840 Express
      • Raytac dongle - nRF52840 USB Key with TinyUF2 Bootloader MDBT50Q-RX
      • Adafruit Itsybitsy nRF52840
      • Bluefruit LE Friend
    • Download and Setup (Software)
    • Connecting with RelayKeys
      • Wired Mode
      • Wired + Recieving Dongle
      • Wireless Mode
    • Checking it works
  • 🖥️Using RelayKeys
    • RelayKeys Desktop (QT)
    • Command Line Usage
    • 💬Guides for use with AAC
      • Tobii Communicator 5
      • Smartbox Grid 3
      • Jabbla MindExpress
      • Tobii Dynavox - Snap
    • Serial API
  • ❓Troubleshooting
  • 👩‍💻Developer Information
    • Architecture of RelayKeys
    • Developing without a board
    • Config File details
    • Server (Daemon) reference
    • Building a binary
    • Prior Art/Related Projects
    • Contributing
    • Credits
  • ❤️ Supporting RelayKeys
Powered by GitBook
On this page
  • --noserial
  • --dev
  • --debug
  • --pidfile=file
  • --logfile=logfile
  • --config=configfile
  • --ble_mode=True|False
Export as PDF
  1. Developer Information

Server (Daemon) reference

PreviousConfig File detailsNextBuilding a binary

Last updated 2 years ago

The server (RPC server or daemon as we sometimes refer to it) is the component that opens up a connection to the COM port and sends the correct AT command to the board. You can control it with some arguments

When you use our installer it installs this as a service. If you run the code without installing (or you turn the service off for some reason) you can run it as relaykeysd.py or relaykeysd.exe

--noserial

Run the daemon and dont try and connect to hardware. If you are on linux/MacOS you can fake a serial port . If you are on Windows just fix a COM port in the config file or use the --dev option - just choose a non-existent COM port

--dev

Force the daemon to use a COM port rather than auto detecting one.

e.g.

python relaykeysd.py --noserial --dev=COM7

For more info see

--debug

Sets a more verbose debugging output on the console.

--pidfile=file

Give a pidfile for the daemon to crate - or link to one.

Default: pidfile

--logfile=logfile

File to use as a log file for the debugging messages.

Default: logfile

--config=configfile

Default: relaykeys.cfg

--ble_mode=True|False

Use the daemon in wireless (ble_mode) or wired mode.

Default: false

File to use as a config file. For more info see

👩‍💻
here
here
following these tips