Skip to content

1484bis #1486

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

1484bis #1486

wants to merge 3 commits into from

Conversation

jcrespoc
Copy link
Contributor

Added some traces to ensure. Remove from PR.

[  2335][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  2416][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  2423][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 12
[  2428][D][CC1101.cpp:821] getPacketLength(): Packet length: 9_
success!
received data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
expected data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
[CC1101] RSSI:          -59.50 dBm
[CC1101] LQI:           76
[CC1101] Waiting for incoming transmission ... 
[  3444][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  3458][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  3465][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 0
[  3470][D][CC1101.cpp:100] receive(): discarded packet with length 0
[  4553][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  4634][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  4641][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 12
[  4646][D][CC1101.cpp:821] getPacketLength(): Packet length: 9
success!
received data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
expected data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
[CC1101] RSSI:          -59.50 dBm
[CC1101] LQI:           75
[CC1101] Waiting for incoming transmission ... 
[  5662][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  5676][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  5683][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 0
[  5688][D][CC1101.cpp:100] receive(): discarded packet with length 0
[  6771][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  6852][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  6859][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 12
[  6864][D][CC1101.cpp:821] getPacketLength(): Packet length: 9
success!
received data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
expected data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
[CC1101] RSSI:          -59.50 dBm
[CC1101] LQI:           75
[CC1101] Waiting for incoming transmission ... 
[  7880][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  7894][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  7901][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 0
[  7906][D][CC1101.cpp:100] receive(): discarded packet with length 0
[  8989][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[  9070][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[  9077][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 12
[  9082][D][CC1101.cpp:821] getPacketLength(): Packet length: 9
success!
received data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
expected data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
[CC1101] RSSI:          -60.00 dBm
[CC1101] LQI:           75
[CC1101] Waiting for incoming transmission ... 
[ 10098][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[ 10112][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[ 10119][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 0
[ 10124][D][CC1101.cpp:100] receive(): discarded packet with length 0
[ 11207][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 0
[ 11288][D][CC1101_Receive_Address.ino:111] operator()(): GDO0 triggered 1
[ 11295][D][CC1101.cpp:818] getPacketLength(): FIFO bytes: 12
[ 11300][D][CC1101.cpp:821] getPacketLength(): Packet length: 9
success!
received data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
expected data:
0x02, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, // .#Eg....
[CC1101] RSSI:          -61.50 dBm
[CC1101] LQI:           75

@jgromes
Copy link
Owner

jgromes commented Apr 16, 2025

Bit confused what is the difference between this and #1485, they seem to merge the same commits ...? If there is no difference then I will close this one.

@jcrespoc
Copy link
Contributor Author

Bit confused what is the difference between this and #1485, they seem to merge the same commits ...? If there is no difference then I will close this one.

There is an error in #1485. This condition is inverted.
817 if ((SPIreadRegister(RADIOLIB_CC1101_REG_RXBYTES) & 0x7f) == 0) {
Must be distinct to 0.

Sorry.

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.

2 participants