cancel
Showing results for 
Search instead for 
Did you mean: 

LORA ping pong, point to point application

SBaro.11
Associate III

Hi all,

I'am working with LORA and LORA-E5 chip, I'am trying to adapt the ping pong stm32 example (without lorawan). But for now I have a question, I'd like to have a point to point application, but my question is can I set a server and a client address ? I wan my 2 devices comunicate only between they.

4 REPLIES 4

Everyone can hear you talking on the radio band.

S​o you will need to add the station ID or whatever management you want into the data packet being sent and handle it at the receivers.

If the data is sensitive, encrypt it, perhaps with a per station key.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Ok nice so I've just to add my ID in my data packet for example first 5 bits and bit 6 to 12 for example will be my data

 For example with 15500 ID and PING data (example coming from ST ping pong)

....  
  Buffer[0] = '1';
  Buffer[1] = '5';
  Buffer[2] = '5';
  Buffer[3] = '0';
  Buffer[4] = '0';
  Buffer[5] = 'P';
  Buffer[6] = 'I';
  Buffer[7] = 'N';
  Buffer[8] = 'G';
....
Radio.Send( Buffer, BufferSize );

 And for encryption what do you preconise?

Depends how industrial you need it to be.

The STM32WLE5 has AES-256 unit, doesn't it?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Yes you've right STM32WLE5 has a AES unit, I'll try to use it it will be new for me. Good opportunity

to learn something new 🙂