Skip to main content
Associate III
July 10, 2024
Solved

Default LoRa sync word value

What is the default public network mode in LoRa ping pong example? There is a function of RadioSetPublicNetwork which can be configured, but if we do not configure it at all, what will be the default mode? Public or Private?

pho3nix_0-1720597498393.png

Also, how can I set my own private syncword? I thought it doing like this, but compiler is generating implicit declaration error in SUBGRF_WriteRegister() function 

pho3nix_2-1720597922806.png

 

Thank you

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
July 11, 2024

That is what the RM says:

AndrewNeil_0-1720706730176.png

 

AndrewNeil_1-1720706758494.png

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

8 replies

STTwo-32
ST Technical Moderator
July 10, 2024

Hello @pho3nix 

the default network mode in LoRa ping pong example is the LoRa private network.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Andrew Neil
Super User
July 10, 2024

The Ping-Pong example doesn't use a public network - it's just two devices send messages to each other.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
STTwo-32
ST Technical Moderator
July 10, 2024

Exactly but the default setting of the SYNCWORD is LoRa private network as indicated on the RM0453.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
pho3nixAuthor
Associate III
July 11, 2024

Thanks for your response, but how can I set my own sync word, default is 0x1424, but let's say I want to set 0x1122, how can I do that? Should I include radio_driver.h file and call SUBGRF_WriteRegister() directly, or there is any other better alternative out there?