Error while enabling AT via AT!USBCOMP on WP7607

Hello.

Is it possible to enable both MODEM and AT on WP7607 via AT!USBCOMP?

Returns error for me when I try to enable AT via AT!USBCOMP=1,1,000811D.

Regards.

Did you enter at!entercnd=“A710” first?

Yes.

I was able to switch off and on NMEA. But not AT.

Regards.

Do you mean you want another AT port other than modem port?

Yes,

one port for pppd and the other one for diagnostics.

According to doc it should work. I would like to have both MODEM and AT active.

Regards.


Supported Interfaces—Service Descriptions
The following services are available over the supported interfaces described in
Table 2-1 on page 9:
• DIAG (DM)—Diagnostic (or DM) interface intended for use with Qualcomm
tools, such as QXDM, during product development.
• NMEA—Provides external application with standard NMEA messages.
• MODEM/AT—Main command & control interface and supports Data calls.
Note that AT commands cannot be used while a PPP session is established
(the session must be terminated).
• AT—Interface for AT command entry.

I don’t see such configuration.
at!usbcomp=?

!USBCOMP:

AT!USBCOMP=<Config Index>,<Config Type>,<Interface bitmask>

<Config Index> - configuration index to which the composition applies, should be 1

<Config Type> - 1:Generic

<Interface bitmask> - DIAG - 0x00000001,

                    NMEA     - 0x00000004,

                    MODEM    - 0x00000008,

                    RAWDAT   - 0x00000040,

                    RMNET0   - 0x00000100,

                    RMNET1   - 0x00000400,

                    RMNET2   - 0x00000800,

                    AUDIO    - 0x00010000,

                    ECM      - 0x00080000,

                    NCM      - 0x00400000,

e.g.

9 - diag,modem interfaces enabled

10D - diag,nmea,modem,rmnet0 interfaces enabled

Hello,

I got the information from this pdf:

AirPrime WP76xx/WP77xx USB Driver Developer’s Guide

My question is why there’s no AT when it’s mentioned everywhere.

Regards.

Didn’t modem is the AT port?

Another option is you ssh into console by usb ecm port. After that you can
microcom /dev/ttyAT

Thanks for suggestion.

But I would prefer having 2 devices (one for AT commands, one for MODEM).

I will try to upgrade firmware to latest version to see if its a problem also in latest version.

I also have 7502 chip, which has both AT and MODEM.

Regards.

Have you tried to use CMUX on the modem port?

Hello,

I am running “default” configuration of WP7607. I have upgraded firmware to the latest and now I am running uptime test - so probably it will take some time before I can post some details about CMUX.

Regards.

Hello,

these are requested info:

at!MAPUART?
!MAPUART: 1,16

at!MUXMODE?
!MUXMODE: 0

at!USBCOMP=?
!USBCOMP:
AT!USBCOMP=,,
- configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,
NMEA - 0x00000004,
MODEM - 0x00000008,
RAWDAT - 0x00000040,
RMNET0 - 0x00000100,
RMNET1 - 0x00000400,
RMNET2 - 0x00000800,
AUDIO - 0x00010000,
ECM - 0x00080000,
NCM - 0x00400000,
e.g.
9 - diag,modem interfaces enabled
10D - diag,nmea,modem,rmnet0 interfaces enabled

at+cgmr
SWI9X07Y_02.25.02.01 000000 jenkins 2019/01/30 08:13:05

Anything more I should try?

Regards.

You should set AT!MUXMODE=2 and then reset the module.

For the CMUX tool, probably you need to find some 3rd party application to implement such as the gsmmux.
For example:

But I have never tried this before, you need to further debug this.

Thanks for the suggestion. But I would prefer solving the problem, not finding some workarounds.

Anyone either confirming that WP7607 should have both modem and at endpoints or saying the reason why at is not supported?

Regards.

any news on this subject?

Regards.

Hello.

Whom should I contact to get proper answer on subject?

E.g. which module supports which compositions? I am mainly interested in AT and MODEM - i need both of them.

Regards.

ping? anyone?

Regards

This is from dmesg | grep tty on WP7607

dmesg | grep tty
[ 0.000000] Kernel command line: console=ttyHSL0,115200 console=ttyHSL1,115200 root=/dev/ram rootfs_ro=true user1_fs=ubifs verity=on ima_ready=0 lkversion=SWI9X07Y_02.25.02.01 androidboot.serialno=4f34b306 androidboot.authorized_kernel=true quiet androidboot.baseband=msm rootfstype=ubifs rootflags=bulk_read
[ 0.651744] ttyHS0 is reserved for AT service.
[ 0.655022] 78b0000.uart: ttyHS0 at MMIO 0x78b0000 (irq = 49, base_baud = 460800) is a MSM HS UART
[ 0.657402] ttyHS1 function -1 is not valid on application processor.
[ 0.658190] ttyHSL1 is reserved for CONSOLE service.
[ 0.658199] msm_serial_hsl_probe: detected port #1 (ttyHSL1)
[ 0.658501] 78af000.serial: ttyHSL1 at MMIO 0x78af000 (irq = 48, base_baud = 460800) is a MSM
[ 0.861589] console [ttyHSL1] enabled
[ 0.898644] ttyHSL0 is disabled.

It says that ttyHS0 is reserved for AT service, but after several lines it says that it’s disabled.

Could it be the problem?

One more question.

Trying to find alternative way to getting information about status of modem and connection - when no AT service is available on 7607.

Let’s say I can connect to “legato” via UART or USB. Is there any service/program which would give me information similar to at!gstatus? at+cops? …

“cm data” and “cm radio” seems to give me very limited info.

Regards.