@@ -379,7 +379,7 @@ Manually modify DNS information, you can check whether the modification is succe
379379| Parameter | Type | Description |
380380| ---------- | ------ | ------------------------------------------------------------ |
381381| profileIdx | int | PPDP context index. Range: 1-8 [ volte version with the largest default PID is used to register IMS, please do not repeat the operation] . It is generally set to 1, if set as 2-8, the private APN and password may be required. |
382- | sim_id | int | simid, range:0/1, default 0. |
382+ | sim_id | int | simid, range:0/1, default 0,only SIM0 is supported now。 |
383383| priDns | string | Primary DNS |
384384| secDns | string | Secondary DNS |
385385
@@ -411,7 +411,7 @@ Get APN Information of user. If only simID is specified, the default APN is obta
411411
412412| Parameter | Type | Description |
413413| ---------- | -------- | ------------------------------------------------------------ |
414- | simid | int | simid, range:0/1 |
414+ | simid | int | simid, range:0/1;Only 1606 platform supports 0 or 1, other platforms can only be 0. |
415415| profileIdx | int | PDP context index. Range for ASR : 1-8,range for unisoc : 1-7 |
416416
417417* Return Value
@@ -764,13 +764,13 @@ Note: The prerequisite for successfully obtaining IMSI, ICCID, and phone number
764764
765765Send APDU command to SIM card.
766766
767- Note : Currently, only the ASR - 1601 platform supports this function.
767+ Note : Currently, only the ASR - 1603 platform supports this function.
768768
769769* Parameter
770770
771771| Parameter | Type | Description |
772772| -------- - | ------ | ------------------------------------------------------------ |
773- | simId | int | SIM card id , range : 0 or 1 |
773+ | simId | int | SIM card id , range : 0 or 1 ;only SIM0 is supported now |
774774| cmd | string | command passed on by the MT to the SIM in the format as described in GSM 51.011 |
775775
776776* Return Value
@@ -2380,15 +2380,15 @@ This function sets APN. After setting, you need to restart or switch to mode 0 a
23802380 The number of parameters is 2 :net.setApn(apn, simid)
23812381 The number of parameters is 7 :net.setApn(pid, iptype, apn, usrname, password, authtype, simid)
23822382
2383- | Parameter | Type | Description |
2384- | ---- - | -------- | -------------------------------------------- |
2385- | pid | int | PDP context index. |
2386- | iptype | int | IP type . 0- IPV4 , 1 - IPV6 , 2 - IPV4 and IPV6 . |
2387- | apn | string | apn name, The maximum length is 63 bytes . |
2388- | usrname | string | user name, The maximum length is 63 bytes . |
2389- | password | string | password, The maximum length is 63 bytes . |
2390- | authtype | int | Authentication type ,0 - No authentication, 1 - PAP , 2 - CHAP , 3 - PAP AND CHAP(just for CATM Platform)|
2391- | simid | int | simid< br> 0 : SIM card 1 < br/ > 1 : SIM card 2 |
2383+ | Parameter | Type | Description |
2384+ | -------- - | ------ | ---------------- -------------------------------------------- |
2385+ | pid | int | PDP context index. |
2386+ | iptype | int | IP type . 0- IPV4 , 1 - IPV6 , 2 - IPV4 and IPV6 . |
2387+ | apn | string | apn name, The maximum length is 63 bytes . |
2388+ | usrname | string | user name, The maximum length is 63 bytes . |
2389+ | password | string | password, The maximum length is 63 bytes . |
2390+ | authtype | int | Authentication type ,0 - No authentication, 1 - PAP , 2 - CHAP , 3 - PAP AND CHAP(just for CATM Platform) |
2391+ | simid | int | simid,(Only 1606 platform supports 0 or 1 , other platforms can only be 0 ) < br> 0 : SIM card 1 < br/ > 1 : SIM card 2 |
23922392
23932393* Return Value
23942394
@@ -2422,10 +2422,10 @@ This function obtains the current APN.
24222422 The number of parameters is 2 :net.setApn(pid, simid)
24232423 The number of parameters is 1 :net.setApn(simid)
24242424
2425- | Parameter | Type | Description |
2426- | ---- - | -------- | -------------------------------------------- |
2427- | pid | int | PDP context index. |
2428- | simid | int | simid < br> 0 : SIM card 1 < br/ > 1 : SIM card 2 |
2425+ | Parameter | Type | Description |
2426+ | -------- - | ---- | ---------------- -------------------------------------------- |
2427+ | pid | int | PDP context index. |
2428+ | simid | int | simid, (Only 1606 platform supports 0 or 1 , other platforms can only be 0 ) < br> 0 : SIM card 1 < br/ > 1 : SIM card 2 |
24292429
24302430* Return Value
24312431
0 commit comments