Skip to content

Support bulk read feature implemented in linux driver #115

@CJKohler

Description

@CJKohler

It looks like the W1_Therm driver now supports bulk-read, which sends one command to all devices on the bus to read and convert the temperature. These can then be quickly read-out, without having to wait 750 msec for each sensor.

It looks like Bulk Read support was added in May 2020 in the linux driver:
https://github.com/raspberrypi/linux/blob/rpi-5.15.y/drivers/w1/slaves/w1_therm.c

trigger_bulk_read() - function to trigger a bulk read on the bus

This post suggests you need to write "trigger\n" to the therm_bulk_read file

Any chance you could add this to the w1thermsensor package?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions