Skip to content

Conversation

@evoggy
Copy link
Member

@evoggy evoggy commented Dec 4, 2025

This PR adds similar memory access to the DeckCtrl system as the 1-wire memories has. This means adding memory access to configuration (read-only) as well as access to the serial number of the memory. To achieve this the following changes have been made:

  • Added new type of memory (MEM_TYPE_DECKCTRL)
    • Access to the 2048 byte configuration page of the DeckCtrl MCU
    • Access to the 12 byte DeckCtrl MCU serial
  • Length of the serial number in the deck info packet has been increased from 8 to 12 bytes. This is compatible with current versions of the Python lib
  • Removed special handling of 1-wire memory access and instead use the normal memory handling
  • Possibility to register multiple memories of the same type and use internal IDs in the callbacks to handle multiple memories with the same callbacks
  • Sets a new limit of maximum 4 1-wire memory decks (will assert otherwise)
  • Moved memory access to 1-wire/DeckCtrl into their respective backends

@evoggy evoggy marked this pull request as draft December 5, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants