Repository navigation
Teensy: UM982 temperature (HWSTATUSA), network name AiO-xxxx - #130
Merged
Merged
Conversation
…ners The tabs at the top of the four module pages (Teensy, XIAO, sprayer, seed drill) and the light/dark button of the Teensy and XIAO pages were small pills (36 px and 27 px high). They now have the height and the corners of the buttons in the page's question box (44 px, 8 px), so a finger hits them on the cab's screen. The top bar keeps its height: the padding around them was trimmed. XIAO page, WiFi tab: the password to confirm and "Save and restart the XIAO" move into a third card, "Confirm and save", as wide as the other two. The field used to run across the whole page. XIAO Messages: "Program update: N bytes checked" gave 0 bytes, because Update.progress() reads 0 once Update.end() has run. The size received is kept. Sprayer 0.10.6, seed drill 0.2.7. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
…026) Built in the cloud with arduino-cli and the ESP32 core 3.3.12, from the code of the commit before this one: XIAO C3 20:40 and S3 20:41 (with their _USB files), Sprayer_ESP32 0.10.6 at 20:42, Seeder_ESP32 0.2.7 at 20:43 (UTC). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
…O-xxxx" A UM982 is asked HWSTATUSA, its hardware status, every 10 s, the way a u-blox is asked UBX-MON-SYS: between RTCM messages, not while the page reads or writes the UM982's settings, not while a command typed in the console waits for its answer. The first field of the answer, in thousandths of a degree, shows as the receiver's temperature on the GNSS card and on the GPS tab. What could be read of Unicore's manual does not name that field: it is a deduction from Renato's receiver (59493 in the closed box after 40 minutes) and the manual's example (66807). So the line is taken only with the right CRC-32, a value outside -40 to 125 C reads "not reported", and the first answer after start-up goes to Messages with the number as it came, to compare a cold start with a warm one. The answer stays out of the UM982 console. The new code is in flash (FLASHMEM), not in RAM1. mDNS: the instance name is "AiO-3F2A", with a hyphen like "XIAO-3F2A" and "Sprayer-5F28", not "AiO 3F2A". Simulator: the pretend UM982 reports 59 C, and the name has the hyphen. Not compiled with the Arduino tools (not reachable from the cloud); it builds and links with arm-none-eabi-gcc and the Teensy core. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014q5ALSaxyGLFrEZnZLKkJd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge #129 first. This branch sits on top of it (both touch
zWebPage.hand the same README row), so until #129 is merged this page also lists its commits.What changes for Renato
HWSTATUSA(its hardware status) every 10 s, the way it asks a u-blox forUBX-MON-SYS, and shows the temperature on the Status tab (GNSS card, a row under the receiver) and on the GPS tab. Before, that row read not reported for a UM982.59493→ 59 °C.GPS receiver: temperature 59 C (UM982 HWSTATUSA, first field 59493, …). On a cold morning that number should start clearly lower and climb as the box warms up.AiO-FBCA(wasAiO FBCA), written likeXIAO-…andSprayer-…. This is the name in AgOpenWeb's web cards list and on the Connections card.http://aio.local/does not change.Nothing in the steering, the GNSS output or the safety code changes. The new code runs from flash (
FLASHMEM), so RAM1 keeps its room (the "Teensy firmware" check prints the figure).Not compiled with the Arduino tools (not reachable from the cloud). It builds and links here with
arm-none-eabi-gccand the Teensy core, and the "Teensy firmware" check compiles it at 450 MHz. The.hexis yours to export (CPU 450 MHz) after both pull requests are merged.How to test
GPS receiver: temperature NN C (UM982 HWSTATUSA, first field NNNNN, read as thousandths of a degree).VERSIONA. Only its answer shows, noHWSTATUSAlines in between. The UM982 settings still read and write as before.AiO-FBCA.Checked here: the parser run on a PC against your real answer line (59 °C), a damaged line (dropped), a negative value, an out-of-range value and a non-number; simulator smoke test (the pretend UM982 shows 59 °C, the name reads
AiO-3F2A); changelog check.Generated by Claude Code