Commit Graph

44 Commits

Author SHA1 Message Date
kegov
07a4960f31
Merge pull request #92 from lauralindzey/bugfix/always_set_address
Bugfix/always set address
2023-05-10 10:15:31 +02:00
kegov
f7845b7942
Merge pull request #89 from lauralindzey/bugfix/bme280_double_enable
Fix name of ifdef in linux_userspace.c
2023-05-10 10:13:34 +02:00
Laura Lindzey
b6d402ff6a Always use ioctl to set device address 2023-05-07 06:40:47 +00:00
Laura Lindzey
1df746c9fa Stop linking against wiringPi since those headers aren't used 2023-05-07 06:37:42 +00:00
Laura Lindzey
0c11ddceb9 linux_userspace correctly reports read success/failure
Previously, it had always returned success, making it
harder to debug. Now, bme280_init will return the
BME280_E_COMM_FAIL bug if a read fails.
2023-05-07 06:29:22 +00:00
Laura Lindzey
3b964fc935 Fix name of ifdef in linux_userspace.c
Previously linux_userspace.c had used BME280_FLOAT_ENABLE,
but bme280.c defines BME280_DOUBLE_ENABLE.
2023-05-07 06:01:04 +00:00
Bosch Sensortec
3ba9abb813 Updated to new architecture. Added examples. Updated contributed examples. 2023-04-17 11:00:35 +02:00
Bosch Sensortec
c47f06eb44 Updated interface design and examples. 2020-07-06 08:08:21 +02:00
Bosch Sensortec
94f553126c
Merge pull request #81 from brecolbrecol/master
feat: Makefile for examples
2020-06-08 08:21:52 +02:00
brecol 🥦
8ff729d8ca feat: .gitignore 2020-06-06 12:23:34 +02:00
brecol 🥦
d4eae7f0dd feat: Makefile for examples 2020-06-06 12:14:19 +02:00
Bosch Sensortec
3d686a3265 Removed self-test 2020-03-17 09:42:11 +01:00
Bosch Sensortec
56de40696f Cleaned macros and defaulted to using floating point compensation 2020-02-10 10:51:37 +01:00
Kevin Goveas
a0acb75c92 Fixed a bug in integer compensation equations 2020-01-22 15:58:09 +01:00
Bosch Sensortec
29e873a764 Fixed bug with double compensation equations 2020-01-22 15:28:58 +01:00
Bosch Sensortec
d77d5a34f3 Updated license and formatting 2020-01-14 08:53:26 +01:00
Bosch Sensortec
42acb85785
Merge pull request #77 from kni/master
Added contributed BSD example
2019-11-28 16:15:28 +01:00
Nick Kostyria
8c5456a3eb BSD example 2019-11-25 12:12:56 +02:00
Bosch Sensortec
bdf4e573cb Added a wait until the NVM copy was complete. 2019-09-13 13:11:07 +02:00
Bosch Sensortec
47596cdf7f
Merge pull request #73 from byteneumann/patch-1
linux example improvements
2019-08-02 08:14:52 +02:00
byteneumann
64216feb55 added unit conversion to sensor data output 2019-08-01 16:39:06 +00:00
byteneumann
47256731aa improved error output 2019-07-31 19:01:48 +00:00
byteneumann
64356f5f7e fixed indentation 2019-07-31 09:48:00 +00:00
byteneumann
4c9406ecfd added basic error handling, replaced hardcoded dev_id with define 2019-07-31 07:20:16 +00:00
Bosch Sensortec
9424d919df
Merge pull request #72 from vpoulailleau/patch-2
Add address generation in I²C write
2019-06-09 05:12:41 +02:00
Vincent Poulailleau
fce2a5aced
Add address generation in I²C write
According to the datasheet "6.2.1 I²C write" (and to my user C code), the address of each register has to be specified.
2019-06-07 17:18:13 +02:00
Bosch Sensortec
adf3b40195
Merge pull request #71 from vpoulailleau/patch-1
Update Readme with latest release
2019-05-31 14:02:14 +02:00
Vincent Poulailleau
94d447af10
Update Readme with latest release 2019-05-31 11:56:51 +02:00
Bosch Sensortec
a78b67c249 Fixed typo in standby duration macro 2019-03-08 13:23:14 +01:00
Bosch Sensortec
a50e719ded
Merge pull request #57 from janwilleke/master
Linux userspace example code
2018-07-24 08:57:56 +02:00
Jan Willeke
f693317b55 Linux userspace example code 2018-07-23 18:20:08 +02:00
Bosch Sensortec
958cef65da - Added chapter for Sensor data's units
- humidity_max value updated in "compensate_humidity" API integer version
- Removed changelog
2018-02-26 13:06:05 +01:00
Bosch Sensortec
18260d616b Added LICENSE file 2018-02-12 08:47:10 +01:00
Bosch Sensortec
01ec205320 Added selftest API based on CRC check
Linux compatibility issue fixed
2017-11-23 08:21:04 +01:00
Bosch Sensortec
ae52b2132e Changed
- Created the following user APIs which were previously static
  * bme280_parse_sensor_data
  * bme280_compensate_data
2017-11-08 07:48:36 +01:00
Bosch Sensortec
236dccdee1 - Changed macro FLOATING_POINT_REPRESENTATION to BME280_FLOAT_ENABLE
- Changed member id to dev_id in struct bme280_dev
- Changed member interface to intf in struct bme280_dev
- Changed variable length array in bme280_set_regs to fixed length array to allow a max of 10 registers to be written.
- Fixed bug with shifting in parse_sensor_data
- Changed macro MACHINE_64_BIT to BME280_64BIT_ENABLE
- Updated example in the README.md file and added function pointer templates
2017-07-20 10:50:27 +02:00
Bosch Sensortec
4dbd10a74b Updated to v3.2.0 2017-06-23 10:09:05 +02:00
Bosch Sensortec
cf40d00b0b Merge pull request #14 from simoc/master
Added dig_h4, dig_h5, dig_h6 to the function header comment
2016-10-25 08:57:33 +02:00
Simon Chenery
8c4029caa1 Add dig_h4, dig_h5, dig_h6 to function header comment
Add missing calibration registers to C comment. Perhaps they were
missed due to the page-break in the datasheet?
2016-08-30 20:31:48 +02:00
Ezhil Mani R
28982a1627 Chip Id Retry functionality added. 2016-07-04 18:23:20 +05:30
nirmala
3cb129e87b Corrected the magic numbers with valid names 2015-03-27 19:31:32 +05:30
BoschSensortec
7de2989ebc Update README.md 2014-12-18 16:32:04 +08:00
Sridharan
09f2469315 Created Bosch Sensortec BME280 driver 2014-12-17 15:59:54 +05:30
BoschSensortec
878a455b21 Initial commit 2014-12-17 15:57:49 +05:30