Can not get SNR values #671
              
                Unanswered
              
          
                  
                    
                      vemanthchandrap
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 21 replies
-
| What value does  | 
Beta Was this translation helpful? Give feedback.
                  
                    13 replies
                  
                
            -
| Odd, I thought that was a standard part of the Serial class.....
Regardless, you need to double check your code as the log output does not
seem to match.… On Fri, Oct 27, 2023, 12:26 AM vemanthchandrap ***@***.***> wrote:
 I have only included SPI.h and LoRa.h libraries. and I have got this error
 for serialprintf()
 C:\Users\Vemanth
 chandra\AppData\Local\Temp.arduinoIDE-unsaved2023927-16316-yartv2.hwkhe\sketch_oct27c\sketch_oct27c.ino:
 In function 'void loop()':
 C:\Users\Vemanth
 chandra\AppData\Local\Temp.arduinoIDE-unsaved2023927-16316-yartv2.hwkhe\sketch_oct27c\sketch_oct27c.ino:31:12:
 error: 'class UartClass' has no member named 'printf'; did you mean 'print'?
 Serial.printf("SNR: %d\n", snr);
 ^~~~~~
 print
 exit status 1
 Compilation error: 'class UartClass' has no member named 'printf'; did you
 mean 'print'?
 —
 Reply to this email directly, view it on GitHub
 <#671 (reply in thread)>,
 or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AAAFSYO4MFW7NBMKNTNDOGDYBNO2PAVCNFSM6AAAAAA6PB3MMGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMBQGU4DM>
 .
 You are receiving this because you commented.Message ID:
 ***@***.***
 com>
 | 
Beta Was this translation helpful? Give feedback.
                  
                    8 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am doing my first project on LoRa and I am using two Dragino LoRa shields (868Mhz) with sx1276 and two Arduino uno wifi rev2 as transmitter and receiver. I am using Sandeep Mistry LoRa library to get RSSI and SNR values. I am able to get RSSI values but I am not getting values of SNR values. any suggestions why I am not able to get SNR values.
code below
for receiver
Beta Was this translation helpful? Give feedback.
All reactions