drewtech

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package drewtech drives the Drewtech Mongoose Pro GM II over its native serial protocol (no J2534 DLL needed) via gocan/v2/pkg/drewtech. Importing the package registers the "Drewtech Mongoose" adapter on Linux; on other platforms the package is empty.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg gocan.Config) (gocan.Adapter, error)

Types

type Drewtech

type Drewtech struct {
	// contains filtered or unexported fields
}

Drewtech adapts the native Mongoose Pro GM II client to the v2 Adapter interface.

func (*Drewtech) Close

func (a *Drewtech) Close() error

func (*Drewtech) Open

func (a *Drewtech) Open(ctx context.Context, bus *gocan.Bus) error

func (*Drewtech) Send

func (a *Drewtech) Send(ctx context.Context, f gocan.Frame) error

func (*Drewtech) SetFilter

func (a *Drewtech) SetFilter(filters []uint32) error

SetFilter replaces the installed PASS filters. A filter per CAN id is required: with none installed the device forwards nothing, so an empty list installs a single pass-all filter (mask 0 matches every id).

Jump to

Keyboard shortcuts

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