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
Copy file name to clipboardExpand all lines: src/SparkFun_u-blox_GNSS_Arduino_Library.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -488,6 +488,7 @@ enum sfe_ublox_ls_src_e
488
488
489
489
#ifndef MAX_PAYLOAD_SIZE
490
490
// v2.0: keep this for backwards-compatibility, but this is largely superseded by setPacketCfgPayloadSize
491
+
#defineMAX_PAYLOAD_SIZE256//We need ~220 bytes for getProtocolVersion on most ublox modules
491
492
//#define MAX_PAYLOAD_SIZE 768 //Worst case: UBX_CFG_VALSET packet with 64 keyIDs each with 64 bit values
492
493
#endif
493
494
@@ -754,6 +755,7 @@ class SFE_UBLOX_GNSS
754
755
uint16_tgetVal16(uint16_t group, uint16_t id, uint8_t size, uint8_t layer = VAL_LAYER_RAM, uint16_t maxWait = 250); //Returns the value at a given group/id/size location
755
756
uint32_tgetVal32(uint16_t group, uint16_t id, uint8_t size, uint8_t layer = VAL_LAYER_RAM, uint16_t maxWait = 250); //Returns the value at a given group/id/size location
756
757
uint8_tsetVal(uint32_t keyID, uint16_t value, uint8_t layer = VAL_LAYER_ALL, uint16_t maxWait = 250); //Sets the 16-bit value at a given group/id/size location
758
+
uint8_tsetVal(uint8_t *values, uint16_t len, uint8_t layer = VAL_LAYER_RAM, uint16_t maxWait = 250); //Send an array of keys and values
757
759
uint8_tsetVal8(uint32_t keyID, uint8_t value, uint8_t layer = VAL_LAYER_ALL, uint16_t maxWait = 250); //Sets the 8-bit value at a given group/id/size location
758
760
uint8_tsetVal16(uint32_t keyID, uint16_t value, uint8_t layer = VAL_LAYER_ALL, uint16_t maxWait = 250); //Sets the 16-bit value at a given group/id/size location
759
761
uint8_tsetVal32(uint32_t keyID, uint32_t value, uint8_t layer = VAL_LAYER_ALL, uint16_t maxWait = 250); //Sets the 32-bit value at a given group/id/size location
0 commit comments