Hi Nicola,

On Tue, Dec 10, 2019 at 2:33 PM nick83ola <[email protected]> wrote:
>
> Hi,
> I'm a newbie of ofono and I'm having some issue connecting with connman/ofono.
>
> There's a way to retrieve the apn for a specific network and automatically 
> create a context?
> I tried to use the mbpi plugins but a lot of network have duplicates in the 
> apn list.
>
> There's also a property in modem properties
>   [ org.ofono.AllowedAccessPoints ]
>
> but is empty
>
> what's the smart way to retrieve the APN for a given network programmaticly?

I am afraid there isn't.
And this because there are several APNs for each network, for
segmenting the customers or the traffic, and there are private APNs,
MVNOs APNs...

>
> Thanks
> Nicola Lunghi
>
>
> /list-modems
> [ /telit_0 ]
>     Online = 1
>     Powered = 1
>     Lockdown = 0
>     Emergency = 0
>     Manufacturer = Telit
>     Model = HE910-D
>     Revision = 12.00.024
>     Serial = 351579054636509
>     SystemPath = /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1.3
>     Interfaces = org.ofono.SmartMessaging org.ofono.PushNotification 
> org.ofono.MessageManager org.ofono.Phonebook org.ofono.NetworkRegistration 
> org.ofono.ConnectionManager org.ofono.AllowedAccessPoints org.ofono.SimManager
>     Features = sms net gprs sim
>     Type = hardware
>     [ org.ofono.SmartMessaging ]
>     [ org.ofono.PushNotification ]
>     [ org.ofono.MessageManager ]
>         ServiceCenterAddress = +353857000000
>         UseDeliveryReports = 0
>         Bearer = cs-preferred
>         Alphabet = default
>     [ org.ofono.Phonebook ]
>     [ org.ofono.NetworkRegistration ]
>         Status = denied
>         Mode = auto
>         Name =
>     [ org.ofono.ConnectionManager ]
>         Attached = 0
>         Bearer = hsdpa
>         RoamingAllowed = 0
>         Powered = 1
>     [ org.ofono.AllowedAccessPoints ]
>     [ org.ofono.SimManager ]
>         Present = 1
>         CardIdentifier = 8935303052299844310
>         SubscriberIdentity = 272032040423839
>         ServiceProviderName = eir
>         FixedDialing = 0
>         BarredDialing = 0
>         MobileCountryCode = 272
>         MobileNetworkCode = 03
>         SubscriberNumbers = +353858016215
>         LockedPins =
>         ServiceNumbers = [Call Wait Off] = '#43#' [Call Wait On] = '*43#' 
> [Voice Mail 171] = '171' [Last Call Info] = '*#101#' [Nat Direct Enq] = 
> '11811' [Int Direct Enq] = '11818' [Customer Care] = '1921' [Int Cust Care] = 
> '+35317011450' [Int Voice Mail] = '+353855'
>         PinRequired = none
>         Retries = [pin = 3] [pin2 = 3] [puk = 10] [puk2 = 10]
>         CardSlotCount = 1
>         ActiveCardSlot = 1
> _______________________________________________
> ofono mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

BR,
Giacinto
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to