10 months, 3 weeks ago.

Adding Serial Read to B-L072Z-LRWAN1 I-CUBE-LRWAN

I have the two B-L072Z-LRWAN1 development boards. I am trying to accomplish a number of things.

1) Local communication from one L072Z to the other (I was able to do this through the ping poong example included in the I-CUBE-LRWAN software)

2) Allow a uC or computer with terminal to send serial data to the uC in the CMWX1ZZABZ (LoRa module on the dev board) which will then transmit that data to the other LoRa module. This is what I am having trouble with. If I can use mbed.h then I can just use the serial library, but I am not sure how I can add mbed.h to this software package as it was not included initially. I did find a tiny_sscanf library in the I-CUBE-LRWAN software package under the AT_Slave example, but I have not yet been successful including it into the ping pong code. Would someone be able to point me in the right direction on how I can achieve the serial read from the USB serial port in the I-CUBE-LRWAN code?

3) Receive the data on the other end and send it over the serial port to the connected device. This is done since I can use PRINTF.

Thanks

Looks like this is a similar situation to mine. https://os.mbed.com/questions/79363/Nucleo-L073RZSX1272Porting-ping-pong-exa/

posted by Robert Watson 22 Aug 2019
Be the first to answer this question.