How to change the SIM priority to a BYO eSIM using the API

I can use POST /api/cmd.wan.cellular in the Peplink Router API to set a SIM card to be active. How do I do the same for a BYO eSIM that is loaded on the same modem?

I am on 8.5.2

Is there an error in the documentation, it looks incomplete?

Thanks.

2 Likes

for anyone else trying this - its not supported yet. No indication when it will be added. SAD.

1 Like

+1 Anyone from Peplink have an ETA?

1 Like

+1 on this topic from me as well.

@billyl, @Lai, @Michael, @Aivaras_Priudokas, @Eddy_Yeung

Wasn’t sure who all to include, apologies if missed or n/a.

Hi! Actually this should have been added into 8.5.2 firmware, but the documentation was not updated. An excerpt from the 8.5.2 release notes:

Within the simPriority parameter, the BYO eSIMs are called “eSim1” and “eSim2”. Here is an example data body for the API call:
{“connId”:2,“simPriority”:[“1”,“2”,“speedfusionConnect5gLte”,“eSim1”,“eSim2”]}

1 Like