www.lagerdata.com

Contents:

  • Before you begin
  • Getting Started
  • Basic I/O
  • Modules and files
  • Controlling the Gateway
  • Connecting to your Device
  • Running Tests
  • Running Your Code
  • Bluetooth Quickstart
  • Bluetooth (Advanced)
  • Using pytest with Lager
  • Debugging your Lager Python program
  • Included Libraries
Lager Data, Inc
  • Gateway Lager Documentation
  • View page source

Gateway Lager Documentation

Contents:

  • Before you begin
    • Install the Lager CLI tool
    • What is Lager Python?
  • Getting Started
    • Your first Lager Python program
  • Basic I/O
    • Stdout and stderr
    • Setting exit codes
    • Command line arguments
    • Environment variables
  • Modules and files
  • Controlling the Gateway
    • GPIO Example
    • ADC Example
    • SPI Example
    • I2C Example
    • Serial/UART Example
  • Connecting to your Device
    • Connecting Example
    • Do More with your Device
  • Running Tests
    • Testing Example
  • Running Your Code
  • Bluetooth Quickstart
    • Background
    • Creating a BLE Central
    • Scanning
    • Connecting and listing services and characteristics
    • Read GATT characteristic
    • Write GATT characteristic
    • Notify GATT characteristic
  • Bluetooth (Advanced)
    • Libraries
  • Using pytest with Lager
    • Simple pytest example
  • Debugging your Lager Python program
    • Simple pdb example
  • Included Libraries
Next

© Copyright 2021, Lager Data, Inc.

Built with Sphinx using a theme provided by Read the Docs.