Releases: fphammerle/wireless-sensor
Releases 路 fphammerle/wireless-sensor
timeout
Changed
FT017TH.receive
: use edge detection on CC1101'sGDO0
pin to detect arrival of packages
(instead of polling)- command
wireless-sensor-receive
: added parameter--gdo0-gpio-line-name
(default:GPIO24
) FT017TH.receive
: yieldNone
on error or timeout to allow caller to perform periodic tasks
(instead of blocking thread until valid packet arrives)
flock
Changed
- acquire
flock
on SPI device file - attribute
FT017TH.transceiver
is now private
Added
- added option
FT017TH(unlock_spi_device=True)
/--unlock-spi-device
to release theflock
from the SPI device file after configuring the transceiver
Fixed
- reconfigure receiver after receiving a packet with unexpected length
(receiver possibly accessed by other process)
measurement type
Added
Measurement
type is now public
python3.5 compatibility
Fixed
ValueError: astimezone() cannot be applied to a naive datetime
on python3.5
first release
Added
- method
wireless_sensor.FT017TH.receive
continuously yielding
temperature & humidity measurements received from FT017TH sensor - script
wireless-sensor-receive