Skip to contentSkip to conversation

Port configuration for location services on Telit HE910

DISCUSSION Izhar Mahalalel 2 participants 2 messages Apr 10, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to enable the LocationReporting interface in ofono. If I understood the documentation correctly, in order for this interface to show up in Manager.GetModems, I need first to send an appropriate AT command to the device, for it to change to port configuration #8, and then power cycle the board for changes to take effect.

I have tried the following:

# systemctl stop ofono
# cat /dev/ttyACM3 &
# echo 'AT#PORTCFG=8\r' > /dev/ttyACM3

OK

# reboot

But I still do not see the location reporting interface when running Manager.GetModems:

# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.Manager.GetModems
method return sender=:1.1 -> dest=:1.5 reply_serial=2
   array [
      struct {
         object path "/he910_1"
         array [
            dict entry(
               string "Online"
               variant                   boolean true
            )
            dict entry(
               string "Powered"
               variant                   boolean true
            )
            dict entry(
               string "Lockdown"
               variant                   boolean false
            )
            dict entry(
               string "Emergency"
               variant                   boolean false
            )
            dict entry(
               string "Manufacturer"
               variant                   string "Telit"
            )
            dict entry(
               string "Model"
               variant                   string "HE910"
            )
            dict entry(
               string "Revision"
               variant                   string "12.00.004"
            )
            dict entry(
               string "Serial"
               variant                   string "357164040701347"
            )
            dict entry(
               string "Interfaces"
               variant                   array [
                     string "org.ofono.NetworkRegistration"
                     string "org.ofono.ConnectionManager"
                     string "org.ofono.CallMeter"
                     string "org.ofono.SupplementaryServices"
                     string "org.ofono.VoiceCallManager"
                     string "org.ofono.CallBarring"
                     string "org.ofono.CallSettings"
                     string "org.ofono.CallForwarding"
                     string "org.ofono.MessageWaiting"
                     string "org.ofono.SimManager"
                  ]
            )
            dict entry(
               string "Features"
               variant                   array [
                     string "net"
                     string "gprs"
                     string "ussd"
                     string "sim"
                  ]
            )
            dict entry(
               string "Type"
               variant                   string "hardware"
            )
         ]
      }
   ]

What am I missing?

Thanks,
Izhar

#1 lore raw

Hi Izhar,

Quoted 10 lines · Izhar Mahalalel

Hi,

I'm trying to enable the LocationReporting interface in ofono. If I understood the documentation correctly, in order for this interface to show up in Manager.GetModems, I need first to send an appropriate AT command to the device, for it to change to port configuration #8, and then power cycle the board for changes to take effect.

I have tried the following:

Quoted 8 lines
# systemctl stop ofono
# cat /dev/ttyACM3 &
# echo 'AT#PORTCFG=8\r' > /dev/ttyACM3

OK

# reboot

Reboot the modem, not the system.

Quoted 3 lines

But I still do not see the location reporting interface when running Manager.GetModems:

I would enable AT command debugging and follow the logic inside drivers/telitmodem/location-reporting.c. Maybe one of the AT commands fails or the ports are setup differently on your particular version of the hardware.

Regards,
-Denis