# Compiling SDK at embedded Linux 3.10.12

**URL:** <https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227>\
**Category:** Open AT\
**Created:** [October 8, 2015, 8:27am UTC](https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227 "2015-10-08T08:27:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rict\_tcd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rict\_tcd](https://forum.sierrawireless.com/u/rict_tcd)\
**Post date:** [October 8, 2015, 8:27am UTC](https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227/1 "2015-10-08T08:27:33Z")

</div>

Hello,

I using MC7304 with FW “SWI9X15C\_06.03.32.02” at my HW (not PC). Until now I would initiate a Data call via AT commands but without success. My device is attached to the network and also to GPRS. But I don´t find a way to make a ping (or something else) to see that traffic over the bridge works fine.

In this forum I found a statement that a start of data connection is not possible without QMI SDK. Therefore I would compile it.

My HW using embedded linux 3.10.12. The drivers GobiSerial and GobiNet I have installed successfully. Now I would compiling SDK with version SLQS03.03.10.

In document Linux QMI SDK Application developers guide I got some information to handling the SDK. But the description to building the SDK is a little bit confusing for me.

What can I do to compile it?

Thanks for any help.

Best regards  
Thomas

---

<div class="post-metadata">

**Author:** ![krima919](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@krima919](https://forum.sierrawireless.com/u/krima919)\
**Post date:** [October 8, 2015, 9:59am UTC](https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227/2 "2015-10-08T09:59:30Z")

</div>

> [@](#):
>
> In this forum I found a statement that a start of data connection is not possible without QMI SDK. Therefore I would compile it.

This is not true for MC73xx. It is possible with AT commands.  
AT+CGDCONT=1,“IP”,“”  
AT!SCACT=1,1

Then in Linux yuo must most likely run dhclient for the proper interface.

> [@](#):
>
> In document Linux QMI SDK Application developers guide I got some information to handling the SDK. But the description to building the SDK is a little bit confusing for me.
> 
> What can I do to compile it?

If you download the QMI SDK from the source it is a binary package. So you don’t need to compile it. To get started try one of the sample applications like the connection manager.

---

<div class="post-metadata">

**Author:** ![rict\_tcd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rict\_tcd](https://forum.sierrawireless.com/u/rict_tcd)\
**Post date:** [October 8, 2015, 10:18am UTC](https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227/3 "2015-10-08T10:18:06Z")

</div>

Hello krima919,

thanks for your reply.  
My settings of my modem are:

AT+CGDCONT?  
+CGDCONT: 1,“IP”,“[internet.eplus.de](http://internet.eplus.de)”,“0.0.0.0”,0,0  
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0”,0,0  
+CGDCONT: 3,“IPV4V6”,“nxtgenphone”,“0.0.0.0”,0,0  
+CGDCONT: 4,“IPV4V6”,“sos”,“0.0.0.0”,0,0  
OK  
AT!SCACT=1,1  
OK  
AT!SCACT?  
!SCACT: 1,0  
!SCACT: 2,0  
!SCACT: 3,0  
!SCACT: 4,0  
OK

On my HW I can use dhcp6c, but currenty I have no experiences with it.

The source code of QMI SDK application I got from [source.sierrawireless.com/resour … 03,-d-,10/](http://source.sierrawireless.com/resources/airprime/software/linux-qmi-sdk-software-03,-d-,03,-d-,10/).  
My platform is an embedded HW with mips architecture. As far as I know it does not supported by QMI yet. ;-(

---

<div class="post-metadata">

**Author:** ![krima919](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@krima919](https://forum.sierrawireless.com/u/krima919)\
**Post date:** [October 12, 2015, 9:37am UTC](https://forum.sierrawireless.com/t/compiling-sdk-at-embedded-linux-3-10-12/8227/4 "2015-10-12T09:37:45Z")

</div>

It seems like AT!SCACT fails in your case. It should look like my example below. Verify that the APN is correct and that you are registered in the network.

```auto
at+creg?
+CREG: 0,1
OK
at+cops?
+COPS: 1,0,"3 3",7
OK

at+cgdcont?
+CGDCONT: 1,"IP","data.tre.se","0.0.0.0",0,0
+CGDCONT: 2,"IP","data.tre.se","0.0.0.0",0,0
OK

at!scact?
!SCACT: 1,0
!SCACT: 2,0
OK

at!scact=1,1
OK

at!scact?
!SCACT: 1,1
!SCACT: 2,0
OK
```

After running AT!SCACT=1,1 I use “sude dhclient eth2” in the host. eth2 is the first port enumerated on the MC7304. After that I can see that the interface get an IP using ifconfig. I have no experience with dhcp6c.

> [@](#):
>
> The source code of QMI SDK application I got from [source.sierrawireless.com/resour](http://source.sierrawireless.com/resour) … 03,-d-,10/.  
> My platform is an embedded HW with mips architecture. As far as I know it does not supported by QMI yet. ;-(

It is supported. Take a look in the build/bin of that package. As you can see there is a binary of the SDK for both MIPS and MIPSEL(little endian).  
It seems like the sample applications are only pre built for MIPSEL. But it ise easy to build the sample applications. Just run make in path of any of the sample apps.
