iOS change SMSC programmatically

前端 未结 2 1182
时光取名叫无心
时光取名叫无心 2021-01-03 16:32

I\'m writing an app which can test different SMSC (Short Message Service Centers) from an operator. Therefore I need to change the SMSC the iPhone is using for sending SMS.

2条回答
  •  长情又很酷
    2021-01-03 17:14

    You need to use AT Command to update SMSC on the SIM card.

    On iOS, you can use Private Framework SKTelephonyController.

    AT Command to get current SMSC on the SIM card: AT+CSCA?

    Write to SIM card: AT+CSCA = "1xxxxxxxxxx",145

提交回复
热议问题