# STK (SIM Toolkit); aka Card Application Toolkit (CAT) - QMI?

**URL:** <https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902>\
**Category:** MC/EM Series\
**Created:** [December 9, 2013, 10:44am UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902 "2013-12-09T10:44:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [December 9, 2013, 10:44am UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902/1 "2013-12-09T10:44:47Z")

</div>

I seem to have reached a dead-end with AT Commands for this:

> [@STK (SIM Toolkit) AT Commands on EM8805/EM7305](https://forum.sierrawireless.com/t/stk-sim-toolkit-at-commands-on-em8805-em7305/6891/1):
>
> This is the built-in 3G/4G modem in a Fujitsu Lifebook laptop. I’m told they should be the same as the MC series. The Extended AT Commands document lists some AT!STK… commands; AT!STKVER does display a version number, but the rest just seem to give ERROR: Any ideas what I’m missing, or where I’m going wrong? It doesn’t help that the documentation is pretty opaque; eg, it talks about “unsolicited SIM commands”, but the 3GPP specs say that the SIM can’t do anything unsolicited. I presume th…

So possibly QMI (QUALCOMM® MSM™ Interface) might be the way to go…

> [@dl5162](#):
>
> > [@awneil](#):
> >
> > > [@dl5162](#):
> > >
> > > I’d of course recommend the qmi\_wwan driver with libqmi, but I’m not neutral.
> > 
> > Sorry to cut in, but it sounds like you know about QMI: [STK (SIM Toolkit) AT Commands on EM8805/EM7305 - #6 by awneil](https://forum.sierrawireless.com/t/stk-sim-toolkit-at-commands-on-em8805-em7305/6891/6)❓
> 
> Well, I do know some of it. But it’s a multiplex of an increasing set of services, each with an increasing set of commands, and with an increasing set of TLVs associated with existing commands. So I don’t want to say that I know QMI 🙂
> 
> I wrote the qmi\_wwan driver in mainline Linux. Which is completely protocol agnostic - there is no QMI in there at all, unlike the SWI/Qualcomm QMI driver. But I have of course also followed the parallell development of the different open source QMI userspace utilities, as well as writing a few test scripts during driver develoment. So I believe I know the parts of QMI necessary to connect. The rest is pretty blank.
> 
> Qualcomm has documented a lot of the QMI services under NDA. You can find it in the Gobi docs on their developer pages. But luckily they have also been running the CodeAurora Gobi project, which has made the most important parts available under a BSD license. This has allowed Open Source projects like libqmi.
> 
> I recommend searching all those sources for more details about QMI. But be careful with the Qualcomm NDA’d docs if you want to/must publish source code. The CodeAurora Gobi project has documented so much that chances are high you don’t need it anyway.
> 
> [MC7710 rndis mode](https://forum.sierrawireless.com/t/mc7710-rndis-mode/6878/1)

It seems that the Qualcomm docs refer to it as “Card Application Toolkit”, and the service is QMI\_CAT; so the document is “QMI Card Application Toolkit Spec”, 80-VB816-11 P

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [December 9, 2013, 1:37pm UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902/2 "2013-12-09T13:37:32Z")

</div>

> [@](#):
>
> You might want to check out the current QMI code in oFono, libqmi and the CodeAurora Gobi project and see if there is some STK example code there. But I wouldn’t be surprised if you’re on your own here… All these projects have naturally focused most on making basic services work, and STK is rarely requested.
> 
> [STK (SIM Toolkit) AT Commands on EM8805/EM7305 - #6 by awneil](https://forum.sierrawireless.com/t/stk-sim-toolkit-at-commands-on-em8805-em7305/6891/6)

Couldn’t find any reference to “QMI” in any of the oFono sources…

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [December 9, 2013, 4:55pm UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902/3 "2013-12-09T16:55:06Z")

</div>

> [@](#):
>
> … oFono, libqmi and the CodeAurora Gobi project …

All look rather linuxy - any Windows equivalents ❓  
(these are Windows laptops)

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.sierrawireless.com/u/lotam)\
**Post date:** [December 10, 2013, 7:49am UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902/4 "2013-12-10T07:49:35Z")

</div>

Hi,

Can you specify the product(s) in concerns?

Thx

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [December 10, 2013, 9:04am UTC](https://forum.sierrawireless.com/t/stk-sim-toolkit-aka-card-application-toolkit-cat-qmi/6902/5 "2013-12-10T09:04:04Z")

</div>

Sorry - I omitted to bring that across from the original thread:

> [@](#):
>
> EM8805; EM7305
> 
> This is the built-in 3G/4G modem in a Fujitsu Lifebook laptop. I’m told they should be the same as the MC series.
> 
> [STK (SIM Toolkit) AT Commands on EM8805/EM7305](https://forum.sierrawireless.com/t/stk-sim-toolkit-at-commands-on-em8805-em7305/6891/1)
