# Enable Diag port using AT comands

**URL:** https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839
**Category:** mangOH Red
**Created:** [July 14, 2020, 8:35am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839 "2020-07-14T08:35:38Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 8:35am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/1 "2020-07-14T08:35:39Z")

</div>

Is it possible to enable Diag port using AT!USBCOMP command?

I tried but getting “ERROR”

at!usbcomp=1,9010D  
ERROR  
at!usbcomp?  
Config Index: 1  
Config Type: 1 (Generic)  
Interface bitmask: 0009010C (nmea,modem,rmnet0,audio,ecm)

OK  
at!usbcomp=1,1,9010D  
ERROR  
at!usbcomp=1,1,9010D  
ERROR

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 10:31am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/2 "2020-07-14T10:31:18Z")

</div>

You need to first type  
AT!entercnd=“A710”

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 10:51am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/3 "2020-07-14T10:51:03Z")

</div>

yes i did that. But still getting error.

at!entercnd=“A710”  
OK  
at!usbcomp=1,9010D  
ERROR  
at!usbcomp?  
Config Index: 1  
Config Type: 1 (Generic)  
Interface bitmask: 0009010C (nmea,modem,rmnet0,audio,ecm)

OK  
at!usbcomp=1,1,9010D  
ERROR  
at!usbcomp=1,1,9010D  
ERROR  
AT  
OK

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 11:04am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/4 "2020-07-14T11:04:27Z")

</div>

What is return of at!usbcomp=?

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 11:09am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/5 "2020-07-14T11:09:00Z")

</div>

at!entercnd=“A710”  
OK  
at!usbcomp=?  
!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, s1

- 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

OK

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 12:22pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/6 "2020-07-14T12:22:44Z")

</div>

Do you change the usbcomp value before?  
I remember the dm port can be seen by default.

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 12:33pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/7 "2020-07-14T12:33:13Z")

</div>

Yes wanted to enable audio, so tried 9010C .

Now is it possible to enable diag ?

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 12:36pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/8 "2020-07-14T12:36:23Z")

</div>

Seems no, according to your test result…  
You might need to contact distributor

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 12:46pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/9 "2020-07-14T12:46:44Z")

</div>

Thanks for the info.

If the diag is disabled will there be any issues with atd; command ?

I am trying to do so but its giving me error.

atd9844371816;  
ERROR  
at+cops?  
+cops: 0,0,“IND airtel airtel”,7

OK  
at+creg?  
+CREG: 0,1

OK

Also the

root@swi-mdm9x28-wp:~# cm radio status  
Power: ON  
Current Network Operator: IND airtel  
Current RAT: LTE network (LE\_MRC\_RAT\_LTE)  
Status: Registered, home network (LE\_MRC\_REG\_HOME)  
Signal: Very strong signal strength (5)  
PS: Packet Switched Registered, home network (LE\_MRC\_REG\_HOME)

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 1:07pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/10 "2020-07-14T13:07:13Z")

</div>

Did you enter the atd in microcom console program or the usb AT port?  
Did your operator support voice call?

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 1:09pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/11 "2020-07-14T13:09:33Z")

</div>

The atd is enterd on the USB AT port.

This is a working sim card.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 1:14pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/12 "2020-07-14T13:14:56Z")

</div>

Maybe your module is non volte modem.  
Please see here

> **[How to configure VoLTE on WP7607](https://forum.sierrawireless.com/t/how-to-configure-volte-on-wp7607/16423/9)**
>
> @Donald Thanks a lot for your reply. I will check this once we receive the new set of commercial modems.

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 14, 2020, 3:31pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/13 "2020-07-14T15:31:19Z")

</div>

tried to follow the link, but few at comands not available.

at!entercnd=“A710”  
OK  
at!fmw?  
ERROR  
at!gstatus?  
!GSTATUS:  
Current Time: 1617 Temperature: 42  
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0  
Reset Counter: 1 Mode: ONLINE  
System mode: LTE PS state: Attached  
IMS reg state: UNKNOWN IMS mode: Not Support  
IMS Srv State: UNKNOWN SMS,UNKNOWN VoIP  
LTE band: B1 LTE bw: 10 MHz  
LTE Rx chan: 240 LTE Tx chan: 21626  
LTE CA state: INACTIVE  
EMM state: Registered Normal Service  
RRC state: RRC Idle

PCC RxM RSSI: -64 RSRP (dBm): -97  
PCC RxD RSSI: -64 RSRP (dBm): -96  
Tx Power: 0 TAC: 2152 (8530)  
RSRQ (dB): -15 Cell ID: 00049921 (301345)  
SINR (dB): -2.4

OK  
at+cgact?  
+CGACT: 1,1

OK  
at!entercnd=“A710”  
OK  
at!fmpath?  
ERROR  
at!fmpath=?  
ERROR  
at+cgdcont?  
+CGDCONT: 1,“IPV4V6”,“internet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK  
at+cgdcont=2,“IPV4V6”,“ims”  
OK  
AT$qcpdpimscfge?  
$QCPDPIMSCFGE: 1 , 0 , 0 , 0  
$QCPDPIMSCFGE: 2 , 0 , 0 , 0

OK  
at!reset  
OK  
at!gstatus?  
!GSTATUS:  
Current Time: 520 Temperature: 44  
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0  
Reset Counter: 1 Mode: ONLINE  
System mode: LTE PS state: Attached  
IMS reg state: UNKNOWN IMS mode: Not Support  
IMS Srv State: UNKNOWN SMS,UNKNOWN VoIP  
LTE band: B1 LTE bw: 10 MHz  
LTE Rx chan: 240 LTE Tx chan: 21626  
LTE CA state: INACTIVE  
EMM state: Registered Normal Service  
RRC state: RRC Idle

PCC RxM RSSI: -64 RSRP (dBm): -97  
PCC RxD RSSI: -61 RSRP (dBm): -92  
Tx Power: 0 TAC: 2152 (8530)  
RSRQ (dB): -14 Cell ID: 00049921 (301345)  
SINR (dB): 2.8

OK  
at+cgact?  
+CGACT: 1,1  
+CGACT: 2,0

OK  
atd9844371816;  
ERROR

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 14, 2020, 3:49pm UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/14 "2020-07-14T15:49:18Z")

</div>

“at!fmxxx commands are not accessible to users outside of Sierra Wireless which is why they did not work.”

Already stated in the link.  
You need to buy a module that enable volte.

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 15, 2020, 2:41am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/15 "2020-07-15T02:41:37Z")

</div>

So there is no way that i can do a “ATDnn;” on this module ?

The whole idea is to enable a Call and also enable wifi.

Request any suggestion to get a call working other than buying module.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 15, 2020, 2:53am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/16 "2020-07-15T02:53:05Z")

</div>

no idea on old module.  
I just make a test on my module, no problem is found for voice call.

at!gstatus?  
!GSTATUS:  
Current Time: 146 Temperature: 31  
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0  
Reset Counter: 1 Mode: ONLINE  
System mode: LTE PS state: Attached  
LTE band: B3 LTE bw: 20 MHz  
LTE Rx chan: 1385 LTE Tx chan: 19385  
LTE CA state: INACTIVE  
EMM state: Registered Normal Service  
RRC state: RRC Idle  
IMS reg state: No Srv

PCC RxM RSSI: -78 RSRP (dBm): -107  
PCC RxD RSSI: -95 RSRP (dBm): -135  
Tx Power: 0 TAC: 0462 (1122)  
RSRQ (dB): -8 Cell ID: 06745D16 (108289302)  
SINR (dB): 7.8

OK  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7607-1  
Revision: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
IMEI: 359780080500170  
IMEI SV: 5  
FSN: V2842570321010  
+GCAP: +CGSM

OK  
atd28245238;  
OK

NO CARRIER

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 15, 2020, 8:15am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/17 "2020-07-15T08:15:05Z")

</div>

I enabled only GSM using AT+KSRAT=1 and then it started working.

Can you let me know the troubles if diag port is not enabled ?

Any features cannot be used?

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [July 15, 2020, 8:27am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/18 "2020-07-15T08:27:50Z")

</div>

you cannot take log in case there is network issue.  
You cannot use all the Qualcomm tool like QPST.

---

<div class="post-metadata">

### Author: ![tejaswisj](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@tejaswisj](https://mangoh.discourse.group/u/tejaswisj)
#### Post date: [July 15, 2020, 10:42am UTC](https://mangoh.discourse.group/t/enable-diag-port-using-at-comands/4839/19 "2020-07-15T10:42:03Z")

</div>

Ok. Thank you for the information. Let me check if the diag canbe enabled.
