Development Tools

Hi
I am using a MC8705 under Linux and connect via pppd. In the background I want to query the Signal strength and other Parameters in a specific interval.
I already figured out that I have to use the CnS port, but I don’t know exactly how.
I was not able to find ONE code sample.
I was not able to find the Sierra Wireless Linux SDK.

Please, can anyone tell me where i can get samples?
Best regards
Marcel

Hi,

Linux SDK for MC8705 is available on sharepoint. Please contact your FAE or distributor if you don’t have access to it.

However, MC8705 should enumerate multiple ports (CnS, NMEA, AT and PPP port), in that case, you can use PPP port for PPPD so the AT port is free for AT command query (Signal strength).
Let me know if you need more info.

Thx

Hi
Thank you for your answer. The modem enumerates 4 ports. Only one of them responds to AT commands. Therefore I needed to connect ppp over this port.
Now my idea is using direct ip, so that i can use the AT port.
I am able to connect using direct ip:

at+cgdcont=1,“IP”,“A1.net
OK
at$qcpdpp=1,1,“ppp”,“ppp@a1plus.at”
OK
at!scact=1,1
OK
at!scpaddr=1
!SCPADDR: 1,“10.37.140.0”

OK

That means that I am connected to the Internet, does it?
But how can I use the wwan0 Interface? I am using Debian Wheezy with a 3.10.0 kernel.
The Interface has no ip, and dhclient wwan0 doesn’t work either.

Is there any documentation on how to use the MC8705 with direct ip with Linux?
Best Regards
Marcel

Sorry that I missed your update.

I think it maybe a compatibility issue between the driver and kernel 3.10.

Is it mandatory for you to use Direct IP?
If not, one quick workaround is to change the USB configuration to “3” or “5”.

AT!UDUSBCOMP=?
0 - HIP  DM    NMEA  AT    MDM1  MDM2  MDM3  MS  NOT SUPPORTED
1 - HIP  DM    NMEA  AT    MDM1  MS              NOT SUPPORTED
2 - HIP  DM    NMEA  AT    NIC1                  SUPPORTED
3 - HIP  DM    NMEA  AT    MDM1  NIC1            SUPPORTED
4 - HIP  DM    NMEA  AT    NIC1  NIC2  NIC3      SUPPORTED
5 - HIP  DM    NMEA  AT    ECM1                  SUPPORTED


OK
AT!UDUSBCOMP=3
OK
AT!RESET
OK

In this case, 5 virtual ports will be enumerated (e.g. ttyUSB0 to ttyUSB4), in which ttyUSB3 is the AT port and ttyUSB4 is the PPP port.

I will check using kernel 3.10 within this week.

Thx.

Hi
I needed to enable the Extended command set by issuing AT!ENTERCND with the Password.
Then I was able to ussue the AT!UDUSBCOMP=5 command.

at!udusbcomp=?
0 - HIP DM NMEA AT MDM1 MDM2 MDM3 MS NOT SUPPORTED
1 - HIP DM NMEA AT MDM1 MS NOT SUPPORTED
2 - HIP DM NMEA AT NIC1 MS SUPPORTED
3 - HIP DM NMEA AT MDM1 NIC1 MS SUPPORTED
4 - HIP DM NMEA AT NIC1 NIC2 NIC3 MS SUPPORTED
5 - HIP DM NMEA AT ECM1 MS SUPPORTED

OK
at!udusbcomp=5
OK
at!reset
OK

The modem registered and enumerated only ttyUSB0 - ttyUSB3. But, it also registered a Network Interface (eth1) on which I was able to use direct ip.

Using the above procedure to connect the modem and after that issuing the following commands:

ifconfig eth1 up
dhclient eth1
ip route delete Default
ip route add dev eth1

I am connected to the Internet now.
Btw: In the meantime I upgraded my kernel to 3.11.0-rc7.

Thank you for your help.
Best regards
Marcel