Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
228 views
in Technique[技术] by (71.8m points)

ios - Cannot force connect via Cellular in case wifi and VoLTE are enable

I have a function to force call an API via cellular

Everything is good but we got a problem when we test on a SIM that enabled VoLTE which same IP range with Cellular.

When 4G is on only, we scan and found and IP for both cellular (pdpip0) and VoLTE (pdpip1)

But when wifi is on also, cellular IP is gone. only VoLTE is there.

pdpip0 ? **(it is 10.23.1.12 when wifi is off)**

pdpip2 ?

pdpip4 ?


pdpip1 10.108.1x.2xx

pdpip3 ?

ap1 0x:00:00:00:00:00

en0 0x:00:00:00:00:00
en0 fe80::10xx:7cd7:7595:85ff%en0
en0 192.168.17.28


ipsec1 ?
ipsec1 10.108.1x.2xx

ipsec2 ?
ipsec2 10.108.1x.2xx

ipsec3 ?
ipsec3 10.108.1x.2xx

ipsec4 ?
ipsec4 10.108.1x.2xx

I tried with other operator which 4G and VOLTE are different IP range. then it works.

Do you know why it's gone and how to detect the cellular IP in this case?

Thanks a lot

question from:https://stackoverflow.com/questions/65881406/cannot-force-connect-via-cellular-in-case-wifi-and-volte-are-enable

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...