-
Notifications
You must be signed in to change notification settings - Fork 85
getProtocolVersion overruns payloadCfg array #73
Comments
Hi, matthewgkerr. I think the official master version has another bug yet. |
And one more thing. There is a sample code in the same #8 example folder as the getProtocolVersion. |
Looks great! You should create a PR for it. Example run on a SAM-M8Q:
|
Hi @matthewgkerr & @mayopan ,
I am going to close this issue but please reopen it if you are still having problems. |
The new example21 has been added in the latest commit of original library. |
Hi @mayopan - just wanted to say thanks for your contribution! I needed to grab hwVersion for one of my projects and your solution and example are perfect. |
payloadCfg currently has a defined size of 256 (MAX_PAYLOAD_SIZE) bytes. Base on the comment "We need ~220 bytes for getProtocolVersion on most ublox modules" I believe the expectation is most modules will contain no more than 6 extensions (payload: 30 + 10 + 6*30 = 220 bytes). getProtocolVersion is currently configured to step through 10 extensions (340 bytes) which will overrun payloadCfg.
The text was updated successfully, but these errors were encountered: