Skip to content

Would Peripherals get UUID support? #891

Answered by SquidDev
DariusSG asked this question in Q&A
Discussion options

You must be logged in to vote

Probably not, no. There's a couple of reasons for this:

  • The public API doesn't really allow for this. Unlike OC, peripherals don't have any state, so there's nowhere to store this UUID.
  • CC has a pretty different mental model for peripherals than OC does, and I don't think addressing really fits in to it.

It gets annoying especially if you had to replace all the wired modems

Any reason you have to do this? This sounds like a more serious problem.

Programs that relied on hardcoded peripherals' names will break.

Any solution is always going to have this problem - the same happens if you need to break/move a peripheral.


One possibility, which was vaguely discussed in #78 and #703 was t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DariusSG
Comment options

@SquidDev
Comment options

@SirEdvin
Comment options

Answer selected by SquidDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants