SJA5-S17 K and OPc

With a SJA5, I think you can write the K and OPC of your test network into the proprietary USIM file AF20. K goes into bytes 0-15 and OPC goes into bytes 16-31. I think I have that right? Anyway from what I’ve seen here and in the manual and the card I think so but I’m not 100%.

With this file, what is byte 0 for? Also, is there a use for bytes 32-66?

Please use pySim-shell to program the contents of the file, we don’t support any other method.
If you insist on writing your own tooling, you will have to reads the pySim-shell source code to determine the exact format of the file. That’s what open source is usable for :slight_smile:

1 Like

Got it. Thank you. My goal is testing, for an applet to move android tablets between test network A and B without anybody’s off-card logic.