Add command to set port-out PIN

Currently the port-out PIN needs to be set manually with support, so it would ease support burden if we had a command to do it instead.

  • Build command in bwmsgsv2
  • Command should only show if user’s number support port out pin with bandwidth

Either write a stub command in sgx-jmp that passes through or (more likely) allow passing through commands from backend if sgx-jmp doesn’t have that already (it probably doesn’t only cheogram does IIRC) – if the latter open a new ticket to describe that work.

~singpolyma sgx-jmp does not have generic command pass-through from what I can tell. Should I look into implementing that similarly to how it’s done in cheogram? What all should the ticket include?

~singpolyma sgx-jmp does not have generic command pass-through from what I can tell. Should I look into implementing that similarly to how it’s done in cheogram? What all should the ticket include?

RP for the sgx-bwmsgsv2 portion of the implementation is here
https://lists.sr.ht/~singpolyma/dev/<DD5JXQAFXZRS.3TYG2K0QZ22SJ@secluded.site>

RP for the sgx-jmp portion of the implementation is here
https://lists.sr.ht/~singpolyma/dev/<DDF6G1Z59I46.2LOFRDT9H6Z2C@secluded.site>

sgx-bwmsgsv2 RP for only showing the command if the TN is eligible
https://lists.sr.ht/~singpolyma/dev/<DDK4RIQAIECP.3TE5Z6GMYNEAX@secluded.site>

all bwmsgsv2 changes deployed

sgx-jmp changes many rubocop failures

tests don’t pass, I’m going to fix it

     unless pin.match?(/\A[\w\d]{4,10}\Z/)                                                                                                                               
        raise "PIN must be between 4 and 10 alphanumeric characters."                                                                                                    
     end                                                                                                                                                                 
                                                                                                                                                                         
     raise "PIN and confirm PIN must match." unless pin == confirm_pin 

why are we validating this in sgx-jmp? is it not validated in sgxbwmsgsv2?

Amolith referenced this ticket in commit a18b326.