All of lore.kernel.org
 help / color / mirror / Atom feed
* Port configuration for location services on Telit HE910
@ 2015-04-10 13:20 Izhar Mahalalel
  2015-04-10 14:45 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Izhar Mahalalel @ 2015-04-10 13:20 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 3045 bytes --]

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Port configuration for location services on Telit HE910
  2015-04-10 13:20 Port configuration for location services on Telit HE910 Izhar Mahalalel
@ 2015-04-10 14:45 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2015-04-10 14:45 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

Hi Izhar,

On 04/10/2015 08:20 AM, Izhar Mahalalel wrote:
> 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
>

Reboot the modem, not the system.

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-10 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 13:20 Port configuration for location services on Telit HE910 Izhar Mahalalel
2015-04-10 14:45 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.