The F9P, F9R, and F9K modules can receive SPARTN correction streams from different sources: SPARTN IP or UBX L-band (SPARTN). Only one source can be used at a time, chosen by configuring CFG-SPARTN-USE_SOURCE or blocking input support for UBX(L-band) or SPARTN(IP) protocols.
Host (CPU) applications are responsible for choosing the source based on factors like reception conditions and application needs. The F9P, F9R, and F9K modules provide monitoring information in the form of UBX-RXM-COR messages or correction's age to help identify the current stream status.
Example: if the Host CPU's IP corrections are interrupted for more than 15 seconds (must be less than 60 seconds to prevent DGNSS) switch to L-band corrections until IP corrections return. There are other ways you can implement the logic.
Related documentation: ZED-F9P_IntegrationManual_3.1.6.2 Multiple SPARTN sources & F9P HPG 1.32 Interface Description Manual
To update the CFG-SPARTN-USE_SOURCE configuration setting on your receiver, you can send a binary ubx/hex command. The GNSS receiver Interface Description Manual provides detailed information on how to create a HEX code that the receiver can understand. Below you will find binary hex codes that are compatible with F9P (HPG 1.32), F9R (HPS 1.30), and F9K (LAP 1.30). It's important to note that if your firmware version is beyond what's mentioned in this article, the configuration provided below may no longer be valid. In this case, please check the corresponding Interface Manual.
SETVAL CFG-SPARTN-USE_SOURCE to 1-LBAND (source)
Ram layer config message(hex):
b5 62 06 8a 09 00 00 01 00 00 01 00 a7 20 01 63 6c
Flash layer config message:
b5 62 06 8a 09 00 00 04 00 00 01 00 a7 20 01 66 84
BBR layer config message:
B5 62 06 8A 09 00 00 02 00 00 01 00 A7 20 01 64 74
SETVAL CFG-SPARTN-USE_SOURCE to 0-IP (source)
Ram layer config message(hex):
b5 62 06 8a 09 00 00 01 00 00 01 00 a7 20 00 62 6b
Flash layer config message:
b5 62 06 8a 09 00 00 04 00 00 01 00 a7 20 00 65 83
BBR layer config message(hex):
B5 62 06 8A 04 00 00 02 00 00 96 14