# AT cmds for Mirage Talon from MangoH Red board AT port

**URL:** <https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803>\
**Category:** mangOH Red\
**Created:** [July 9, 2020, 10:13am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803 "2020-07-09T10:13:21Z")\
**Posts on this page:** 20\
**Page:** 4

<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:** [October 22, 2020, 12:11pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/62 "2020-10-22T12:11:39Z")

</div>

tftp is available on MangoH red board. On my android device there is tftpd. Also on android device there is ftpget and ftpput.

Trying to know if some method of file transfer other than scp can be used between the MangoH red board (WP76xx) and Android sytem.

---

<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:** [October 22, 2020, 12:19pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/63 "2020-10-22T12:19:30Z")

</div>

Then you have tftp and tftpd, what do you want else

---

<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:** [October 22, 2020, 1:46pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/64 "2020-10-22T13:46:35Z")

</div>

was not successful with it tftp on WP and tftpd on Android.

---

<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:** [October 22, 2020, 1:49pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/65 "2020-10-22T13:49:42Z")

</div>

What is the reason?  
Do you shutdown the firewall of wp module?  
Have you captured the wireshark for debugging?

---

<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:** [October 22, 2020, 6:17pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/66 "2020-10-22T18:17:56Z")

</div>

Ok, got it resolved. Had issues at android end too.

---

<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:** [November 11, 2020, 8:08am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/67 "2020-11-11T08:08:15Z")

</div>

Wrote a at command server for reading commands on ttyGS1 port on the MangoH red board. It worked fine and was able to get wlan0 ip.

On customized board, with WP76xx + talon mirage wifi module, the same application fails when trying to run udhcpc.  
It hits error when running the default.script, run-parts not found.

On the same custom board, when running thru command line using the steps given in 4119378\_MangoHGreenTutorial-Wifi.pdf works fine.

Is there any permission required when running using popen () ?

Below is the part of the code :  
fp=popen("/sbin/udhcpc -R -b -i wlan0", “r”);  
if (fp == NULL) {  
memset(fullScan,’\0’,sizeof(fullScan));  
LE\_ERROR(“Failed to run UHDCP command\n” );  
return 1;  
}  
while(fgets(r\_path3, sizeof(r\_path3), fp) != NULL) {  
LE\_INFO(“UHDCP Output = %s”, r\_path3);  
}  
pclose(fp);  
if(strstr(r\_path3,"/etc/udhcpc.d/50default: Adding DNS") || strstr(r\_path3,"Lease of ")){  
LE\_INFO(“FOUND wlan id =%s \n”,r\_path3);  
for(i=0;i\<35525;i++);  
}else{

---

<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:** [November 11, 2020, 8:48am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/68 "2020-11-11T08:48:23Z")

</div>

why don’t you use system() API?

---

<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:** [November 11, 2020, 10:02am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/69 "2020-11-11T10:02:19Z")

</div>

Did try system() too but getting the same error.

Log :

Jan 6 00:01:52 swi-mdm9x28-wp user.info Legato: INFO | wifiService[919] | loop=2  
Jan 6 00:01:52 swi-mdm9x28-wp user.info Legato: INFO | wifiService[919] | Connected to d8:07:b6:7b:27:da (on wlan0)  
Jan 6 00:01:52 swi-mdm9x28-wp user.info Legato: INFO | wifiService[919]/daemon T=main | pa\_wifi\_client\_ti.c pa\_wifiClient\_Connect() 1000 | WN  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerTest@0[1713]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Hand.  
Jan 6 00:01:52 swi-mdm9x28-wp user.info Legato: INFO | wifiService[919]/daemon T=main | pa\_wifi\_client\_ti.c FirstLayerWifiClientEventHandler0  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/daemon T=main | le\_wifiClient.c PaEventHandler() 125 | Event: 0  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/daemon T=main | le\_wifiClient.c FirstLayerWifiClientEventHandler() 0  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerTest@0[1713]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Hand.  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/daemon T=main | le\_wifiClient.c le\_wifiClient\_RemoveNewEventHandlerr  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerTest@0[1713]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handm  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/daemon T=main | le\_wifiClient.c CloseSessionEventHandler() 489 | se)  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/framework T=main | le\_wifiClient\_server.c CleanupClientData() 148 |!  
Jan 6 00:01:52 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[919]/framework T=main | le\_wifiAp\_server.c CleanupClientData() 148 | Cli!  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | /usr/share/udhcpc/default.script:  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | exec:  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | line 3:  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | run-parts: not found  
Jan 6 00:01:52 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] |  
Jan 6 00:01:52 swi-mdm9x28-wp user.info kernel: [109.977391] IPv6: wlan0: IPv6 duplicate address fe80::fa33:31ff:fe4b:4473 detected!  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | /usr/share/udhcpc/default.script:  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | exec:  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | line 3:  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] | run-parts: not found  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[925] |  
Jan 6 00:01:53 swi-mdm9x28-wp user.err Legato: =ERR= | atServerTest@0[1713]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handm  
Jan 6 00:01:53 swi-mdm9x28-wp user.info Legato: INFO | atServerWifiStart[925] | udhcpc (v1.24.1) started Sending discover… Sending select

---

<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:** [November 11, 2020, 10:45am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/70 "2020-11-11T10:45:25Z")

</div>

Your log is missing a lot of content

---

<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:** [November 11, 2020, 11:26am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/71 "2020-11-11T11:26:13Z")

</div>

Attaching the full log.  
Error Log part :

Jan 6 00:03:19 swi-mdm9x28-wp user.debug Legato: DBUG | wifiService[907]/framework T=main | le\_wifiAp\_server.c CleanupClientData() 148 | Client 0x7f57ccfc is closed !!!  
Jan 6 00:03:19 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 576 | UHDCP Output = udhcpc (v1.24.1) started  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | /usr/share/udhcpc/default.script:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | exec:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | line 3:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | run-parts: not found  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] |  
Jan 6 00:03:19 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 576 | UHDCP Output = Sending discover…  
Jan 6 00:03:19 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 576 | UHDCP Output = Sending select for 192.168.43.94…  
Jan 6 00:03:19 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 576 | UHDCP Output = Lease of 192.168.43.94 obtained, lease time 3599  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | /usr/share/udhcpc/default.script:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | exec:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | line 3:  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] | run-parts: not found  
Jan 6 00:03:19 swi-mdm9x28-wp user.err Legato: =ERR= | atServerWifiStart[913] |  
Jan 6 00:03:19 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 581 | FOUND wlan id =Lease of 192.168.43.94 obtained, lease time 3599  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = wlan0 Link encap:Ethernet HWaddr F8:33:31:4B:44:73  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = inet6 addr: fe80::fa33:31ff:fe4b:4473/64 Scope:Link  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = RX packets:4 errors:0 dropped:0 overruns:0 frame:0  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = TX packets:9 errors:0 dropped:0 overruns:0 carrier:0  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = collisions:0 txqueuelen:1000  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output = RX bytes:986 (986.0 B) TX bytes:1530 (1.4 KiB)  
Jan 6 00:03:21 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiConnect\_Handler() 610 | ifconifg Output =  
Jan 6 00:03:22 swi-mdm9x28-wp user.info Legato: INFO | atServerTest@0[1716]/atServerTestComp T=main | atServerTest.c Prepare\_wifiRoute\_Enable\_Handler() 374 | WIFI Routing complete  
[fail.txt](https://mangoh.discourse.group/uploads/short-url/3ztSEQRBd5zlhkknZ0DEkjU2vZS.txt) (56.8 KB)

---

<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:** [November 11, 2020, 11:45am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/72 "2020-11-11T11:45:19Z")

</div>

FOUND wlan id =Lease of 192.168.43.94 obtained, lease time 3599

Didn’t this mean working fine?

---

<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:** [November 11, 2020, 12:35pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/73 "2020-11-11T12:35:32Z")

</div>

Yes i did think it worked, but then after than udhcpc is run to assign wlan0 ip.

Thats when the run-tests not found error is got. After this, the wlan0 has no ip.

---

<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:** [November 12, 2020, 2:30am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/74 "2020-11-12T02:30:37Z")

</div>

I don’t see problem, please see the log below:

* * *

root@swi-mdm9x28-wp:~# wifi client start  
successfully called start.  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# cm info  
Device: WP7605  
IMEI: 353532100020465  
IMEISV: 6  
FSN: 2A917285070404  
Firmware Version: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16  
Bootloader Version: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16  
MCU Version:  
PRI Part Number (PN): 9908705  
PRI Revision: 002.006  
Carrier PRI Name: SIERRA  
Carrier PRI Revision: 001.032\_000  
SKU: 1104208  
Last Reset Cause: Power Down  
Resets Count: Expected: 44 Unexpected: 0  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# wifi client scan  
starting scan.  
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:b9:04:61” Strength:-67 Ref:0x10000003  
Found: SSID: “” BSSID: “94:b4:0f:d2:47:63” Strength:-71 Ref:0x1000000b  
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:b9:04:60” Strength:-64 Ref:0x10000001  
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:d2:47:61” Strength:-71 Ref:0x10000009  
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:b8:fa:22” Strength:-57 Ref:0x10000011  
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:d2:47:60” Strength:-71 Ref:0x10000007  
Found: SSID: “” BSSID: “94:b4:0f:b8:fa:23” Strength:-56 Ref:0x10000013  
Found: SSID: “SWI-MOBILE” BSSID: “94:b4:0f:b8:fa:21” Strength:-57 Ref:0x1000000f  
Found: SSID: “SWI-GUEST” BSSID: “94:b4:0f:b9:04:62” Strength:-67 Ref:0x10000005  
Found: SSID: “SWI-WLAN” BSSID: “94:b4:0f:b8:fa:20” Strength:-57 Ref:0x1000000d  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# ^C  
root@swi-mdm9x28-wp:~# wifi client setsecurityproto 0x10000003 3  
Successfully set security protocol.  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# wifi client setpassphrase 0x10000003 password  
Successfully set passphrase.  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# wifi client connect 0x10000003  
Connecting…  
CONNECTED.  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# ifconfig wlan0  
wlan0 Link encap:Ethernet HWaddr D0:B5:C2:F1:F5:5B  
inet6 addr: fe80::d2b5:c2ff:fef1:f55b/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:3 errors:0 dropped:0 overruns:0 frame:0  
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:364 (364.0 B) TX bytes:888 (888.0 B)

root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# app status  
[running] atAirVantage  
[running] atQmiLinker  
[running] atService  
[running] audioService  
[running] avcService  
[running] cellNetService  
[running] dataConnectionService  
[running] fwupdateService  
[running] gpioService  
[running] modemService  
[running] portService  
[running] positioningService  
[running] powerMgr  
[running] qmiAirVantage  
[running] secStore  
[stopped] smsInboxService  
[stopped] spiService  
[stopped] tools  
[stopped] voiceCallService  
[stopped] wifi  
[stopped] wifiApTest  
[stopped] wifiClientTest  
[running] wifiService  
[stopped] wifiWebAp  
[stopped] hello6  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# app start hello6  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# ifconfig wlan0  
wlan0 Link encap:Ethernet HWaddr D0:B5:C2:F1:F5:5B  
inet addr:192.168.23.251 Bcast:192.168.23.255 Mask:255.255.255.0  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:51 errors:0 dropped:0 overruns:0 frame:0  
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:4106 (4.0 KiB) TX bytes:2556 (2.4 KiB)

Nov 12 10:26:49 | hello6[3949]/hello6\_exe T=main | \_main.c main() 62 | == Starting Event Processing Loop ==  
Nov 12 10:26:49 | hello6[3949]/hello6Component T=main | hello6Component.c \_hello6Component\_COMPONENT\_INIT() 9 | Hello, world.  
Nov 12 10:26:49 | hello6[3949] | | udhcpc: started, v1.27.2  
Nov 12 10:26:49 | hello6[3949] | | udhcpc: sending discover  
Nov 12 10:26:52 | hello6[3949] | | udhcpc: sending discover  
Nov 12 10:26:55 | hello6[3949] | | udhcpc: sending discover  
Nov 12 10:26:56 | hello6[3949] | | udhcpc: sending select for 192.168.23.251  
Nov 12 10:26:56 | hello6[3949] | | udhcpc: lease of 192.168.23.251 obtained, lease time 86400  
Nov 12 10:26:56 | hello6[3949] | | /etc/udhcpc.d/50default: Adding DNS 8.8.8.8

* * *

Attached hello6.rar is the application I am using.

[hello6.rar](https://mangoh.discourse.group/uploads/short-url/v1okskKgyc9XNT1ePtP9GZJLwr0.rar) (287.2 KB)

---

<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:** [November 18, 2020, 11:50am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/75 "2020-11-18T11:50:42Z")

</div>

Below are the problems found -

1. Some how few of the commands in the default.script for udhcpc are not taking the absolute path / the envs are not set correctly when popen() is used from custom application. Somehow this is messing with the whole app written.

2. Also, when GobiSerial.c is used, few of the sierra ril libs are not getting loaded. So removed the GobiSerial.c and trying to retain, USB modem only.

Now trying to get atServerIntegrationTest to run usign sockets.  
Executed, “app runProc atServerIntegrationTest --exe=atServerTest  
– socket”.

From ubuntu tried to login to using ssh [root@192.168.2.2](mailto:root@192.168.2.2) -p 1235 ,  
but did not work. Probably a wrong command. can u correct it ?

---

<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:** [November 18, 2020, 11:55am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/76 "2020-11-18T11:55:14Z")

</div>

Did you try my app above?

---

<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:** [November 18, 2020, 11:56am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/77 "2020-11-18T11:56:06Z")

</div>

yes, the one u have attached in the same thread.

---

<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:** [November 18, 2020, 11:56am UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/78 "2020-11-18T11:56:37Z")

</div>

Then can it run udhcpc to get ip address from wlan0?

---

<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:** [November 18, 2020, 12:08pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/79 "2020-11-18T12:08:07Z")

</div>

Yes, was able to correct few of the scripts on the custom hw using the application attached above. But issue is to get the RawIP port up on Android, i used GobiSerial drivers. Able to communicate with the RawIP port of WP. But for the modem part, where sierra ril libs were used, the ril libs are not working.  
So wanted to try if sockets works on the app attached, instead of using RawIP port, wanted to use sockets from Android and try.

---

<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:** [November 18, 2020, 12:10pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/80 "2020-11-18T12:10:10Z")

</div>

do you need NMEA port?  
If no, you can disable the NMEA port so that the port will become RawIP port.

---

<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:** [November 18, 2020, 12:13pm UTC](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803/81 "2020-11-18T12:13:32Z")

</div>

Yes, need NMEA port. Else the Android and WP would not work.

Trying to get Socket working on WP and then will try on Android. So wanted the right command to connect to the atServerIntegrationTest app on WP

[Previous page](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803.md?page=3)

[Next page](https://mangoh.discourse.group/t/at-cmds-for-mirage-talon-from-mangoh-red-board-at-port/4803.md?page=5)
