rbaron
8fd4d7222a
Implements BLE protocol v2
...
The only change from v1 is how the temperature is encoded. In v2, two
bytes at offset 4 and 5 represent a 16-bit signed int (in big-endian).
It contains the temperature in degrees Celsius * 100.
Fixes #29
2022-03-14 18:23:49 +01:00
rbaron
795fc46849
Updates docs for data encoding in the BLE advertisement packet
2021-05-02 20:20:39 +02:00
rbaron
d215d5f4a7
Sets transmitting power to +8dB
2021-03-31 18:37:50 +02:00
rbaron
37fd1173ec
Sets MAC address to a random static value
2021-03-26 17:18:38 +01:00
rbaron
6ec48b7188
Puts soil moisture reading into the BLE advertisement packet
2021-03-26 16:30:09 +01:00
rbaron
2aa0ffc27b
Some debugging info
2021-03-26 11:43:55 +01:00
rbaron
c2e3723eb0
Adds temp and humidity values to the BLE advertisement packet
2021-03-26 10:49:28 +01:00
rbaron
81b33fbd8c
Handles SHT3C sensor
...
...And this is the first time I'm flashing the firmware into a real
b-parasite board!
2021-03-26 10:29:54 +01:00
rbaron
b521e3f0f6
A hacky fix for PWM + TWI
2021-03-15 22:40:09 +01:00
rbaron
02df5f4595
Initial shtc3 TWI/I2C implementation
...
Weirdly, it only works ~1/5 of the time.
2021-03-14 16:55:24 +01:00