cancel
Showing results for 
Search instead for 
Did you mean: 

sending data from STM32 LoRa discovery kit

shammi d
Associate II
Posted on December 12, 2017 at 07:18

The original post was too long to process during our migration. Please click on the attachment to read the original post.
5 REPLIES 5
Posted on December 15, 2017 at 17:24

This seems to be pretty remedial level stuff.

Remove or comment out the PRINTF() statements in sx1276.c to get rid of the txDone, rxDone and rxTimeOut messages, and those in main.c generating the OnTxDone, OnRxDone , OnRxTimeout, OnTxTimeout, OnRxError, etc

Replace with PRINTF() of your choice and construction. The data is output/buffered by code in vcom.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist
Posted on December 15, 2017 at 19:07

As ​ says, these are just PRINTFs - you can simply add and remove them as you see fit.

But note that they are only sending across the local USB link - not the LoRa radio link ...

Posted on January 26, 2018 at 12:50

hi , please in which part of script can i change the message? i can't see in which part the message is generated 

thanks

Posted on January 26, 2018 at 13:56

These messages? Use the 'Find in Files' search mode of your IDE to locate them.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 29, 2018 at 10:42

Note that 'C' programs are not normally referred to as 'scripts'.

https://en.wikipedia.org/wiki/Scripting_language

 

So, if you are expecting this code to be a 'script' in the conventional sense - it isn't.