You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Just a heads up really, I'v been caught out by the defaults for newCfgValset...() being different to setVal(). It's just VAL_LAYER_BBR instead of VAL_LAYER_ALL so the settings don't take effect.
The defaults were recently changed in #134 and are set here:
uint8_tnewCfgValset8(uint32_t keyID, uint8_t value, uint8_t layer = VAL_LAYER_BBR); //Define a new UBX-CFG-VALSET with the given KeyID and 8-bit value
uint8_tnewCfgValset16(uint32_t keyID, uint16_t value, uint8_t layer = VAL_LAYER_BBR); //Define a new UBX-CFG-VALSET with the given KeyID and 16-bit value
uint8_tnewCfgValset32(uint32_t keyID, uint32_t value, uint8_t layer = VAL_LAYER_BBR); //Define a new UBX-CFG-VALSET with the given KeyID and 32-bit value
Is this on purpose? I'd suggest having the same defaults across the board.
Your workbench
Teensy 3.6 and SFE GPS-RTK2 but it shouldn't matter.
//setValueSuccess &= myGPS.newCfgValset8(CFG_MSGOUT_RTCM_3X_TYPE1005_I2C, 1, 7); //Set this and the following settings into Flash/RAM/BBR instead of BBR
The comment suggests that you need to change the layer to have it updated in RAM.
So as part of this fix, the example ought to be slightly updated too. @PaulZC
Subject of the issue
Just a heads up really, I'v been caught out by the defaults for
newCfgValset...()
being different tosetVal()
. It's justVAL_LAYER_BBR
instead ofVAL_LAYER_ALL
so the settings don't take effect.The defaults were recently changed in #134 and are set here:
SparkFun_Ublox_Arduino_Library/src/SparkFun_Ublox_Arduino_Library.h
Lines 577 to 579 in 97bd455
Is this on purpose? I'd suggest having the same defaults across the board.
Your workbench
Steps to reproduce
Expected behavior
Changes saved to RAM + other layers
Actual behavior
Changes saved to BBR only
The text was updated successfully, but these errors were encountered: