starfish

package
v0.0.0-...-49e02a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package starfish contains utilities for interacting with starfish devices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EjectSIM

func EjectSIM(ctx context.Context, runner components.Runner) error

EjectSIM ejects any connected SIM.

func GetAllSIMInfo

func GetAllSIMInfo(ctx context.Context, runner components.Runner) ([]*tlw.Cellular_SIMInfo, error)

GetAllSIMInfo switches to all occupied starfish slots and queries the SIM info.

func GetOccupiedSlots

func GetOccupiedSlots(ctx context.Context, runner components.Runner) ([]int, error)

GetOccupiedSlots returns a list of the occupied SIM slots on the starfish.

func InsertSIM

func InsertSIM(ctx context.Context, runner components.Runner, slot int) error

InsertSIM inserts the SIM in the given slot.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL