Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BMP388 as a new pressure and temp sensor #4482

Merged
merged 12 commits into from
Sep 2, 2024

Conversation

dhskinner
Copy link
Contributor

Hi this PR adds BMP388 as a new pressure and temperature sensor for the environment module

Its linked to meshtastic/protobuf PR#540 that added the necessary enums to telemetry.proto

This follows pretty much same pattern as other sensors, except that the bmp3xx is intended as a singleton - the reason is that I'm intending to integrate interrupt based reads in future to take advantage of this sensors FIFO (this will be a separate/future PR).

Appreciate your review and any comments, or merge if its ok

Thanks

Dave

BMP3XXSensor::BMP3XXSensor() : TelemetrySensor(meshtastic_TelemetrySensorType_BMP3XX, "BMP3XX"){}

BMP3XXSensor bmp3xxSensor;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put that in the telemetry init and reference it from there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok that's done

@dhskinner dhskinner requested a review from caveman99 August 31, 2024 08:23
@caveman99 caveman99 merged commit c8bf43d into meshtastic:master Sep 2, 2024
5 of 13 checks passed
@dhskinner dhskinner deleted the BMP388 branch September 23, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants