Skip to main content
SBaro.11
Associate III
April 11, 2022
Question

LORA ping pong, point to point application

  • April 11, 2022
  • 4 replies
  • 1597 views

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.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
April 11, 2022

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
SBaro.11
SBaro.11Author
Associate III
April 11, 2022

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?

Tesla DeLorean
Guru
April 11, 2022

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..