Skip to main content
SBaro.11
Associate III
Apr 11, 2022 9:25 AM UTC
Question

LORA ping pong, point to point application

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
Apr 11, 2022 12:04 PM UTC

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
Apr 11, 2022 12:37 PM UTC

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
Apr 11, 2022 4:42 PM UTC

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..