cc1101 tests updated

This commit is contained in:
Gábor Poczkodi 2024-02-29 04:24:33 +01:00
parent 3a8c7a6d13
commit 8780fe7e1a
7 changed files with 66 additions and 73 deletions

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO5 miso_pin: GPIO5
mosi_pin: GPIO7 mosi_pin: GPIO7
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO10
cs_pin: GPIO10 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
# https://github.com/esphome/issues/issues/2934 # https://github.com/esphome/issues/issues/2934
# c3 has four channels, two for tx, two for rx # c3 has four channels, two for tx, two for rx

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO5 miso_pin: GPIO5
mosi_pin: GPIO7 mosi_pin: GPIO7
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO10
cs_pin: GPIO10 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
# https://github.com/esphome/issues/issues/2934 # https://github.com/esphome/issues/issues/2934
# c3 has four channels, two for tx, two for rx # c3 has four channels, two for tx, two for rx

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO19 miso_pin: GPIO19
mosi_pin: GPIO23 mosi_pin: GPIO23
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO5
cs_pin: GPIO5 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
remote_transmitter: remote_transmitter:
- pin: GPIO32 # GDO0 - pin: GPIO32 # GDO0

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO37 miso_pin: GPIO37
mosi_pin: GPIO35 mosi_pin: GPIO35
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO34
cs_pin: GPIO34 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
remote_transmitter: remote_transmitter:
- pin: GPIO8 # GDO0 - pin: GPIO8 # GDO0

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO37 miso_pin: GPIO37
mosi_pin: GPIO35 mosi_pin: GPIO35
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO34
cs_pin: GPIO34 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
remote_transmitter: remote_transmitter:
- pin: GPIO8 # GDO0 - pin: GPIO8 # GDO0

View file

@ -3,16 +3,15 @@ spi:
miso_pin: GPIO19 miso_pin: GPIO19
mosi_pin: GPIO23 mosi_pin: GPIO23
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: GPIO5
cs_pin: GPIO5 bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
remote_transmitter: remote_transmitter:
- pin: GPIO32 # GDO0 - pin: GPIO32 # GDO0

View file

@ -3,19 +3,18 @@ spi:
miso_pin: D6 miso_pin: D6
mosi_pin: D7 mosi_pin: D7
sensor: cc1101:
- platform: cc1101 id: transceiver
id: transceiver cs_pin: D8 # GPIO15
cs_pin: D8 # GPIO15 gdo0:
gdo0: number: D1 # GPIO5
number: D1 # GPIO5 allow_other_uses: true
allow_other_uses: true bandwidth: 200
bandwidth: 200 frequency: 433920
frequency: 433920 rssi:
rssi: name: RSSI
name: RSSI lqi:
lqi: name: LQI
name: LQI
remote_transmitter: remote_transmitter:
- pin: - pin: