# How can i read data from integrated sensor

**URL:** <https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334>\
**Category:** mangOH Yellow\
**Created:** [August 24, 2023, 11:43am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334 "2023-08-24T11:43:42Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [September 30, 2023, 5:33am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/42 "2023-09-30T05:33:58Z")

</div>

is there any manual or instruction document for specific yacto build

---

<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:** [September 30, 2023, 5:41am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/43 "2023-09-30T05:41:59Z")

</div>

what problem do you have now in compiling the image?

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [September 30, 2023, 5:50am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/44 "2023-09-30T05:50:05Z")

</div>

it still dowloading iam just asking

thing is i need to connect different mqtt, like ‘things board’ i need to connect to this server  
but all sample apps are connected to [datahub.io](http://datahub.io) and all are inter connected  
i need to connect to things board application through mqtt  
can u guide sir

---

<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:** [September 30, 2023, 5:54am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/45 "2023-09-30T05:54:49Z")

</div>

is this app connected to [datahub.io](http://datahub.io)?

> <https://github.com/legatoproject/legato-af/tree/master/apps/sample/mqtt>
>
> //github.com/legatoproject/legato-af/tree/master/apps/sample/mqtt

How about this MQTT app?

> [@Sending file over mqtt using mqttClient-for-Legato](https://mangoh.discourse.group/t/sending-file-over-mqtt-using-mqttclient-for-legato/5773):
>
> hi i am using [mqttClient-for-Legato](https://github.com/nhonchu/mqttClient-for-Legato). I am able to publish data. But i am not able to send file using “mqtt pubfile topic filename” It says cannot open file and I have already given all the permissions. Any help would be appreciated Zehra

How about using the Mosquitto\_pub and Mosquitto\_sub client utilities?

> **[Using The Mosquitto\_pub and Mosquitto\_sub MQTT Client Tools- Examples](http://www.steves-internet-guide.com/mosquitto_pub-sub-clients/)**
>
> Using The Mosquitto\_pub and mosquiito\_sub Client Tools that come with the Mosquitto broker install package for testing and troubleshooting with Examples

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [September 30, 2023, 5:59am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/46 "2023-09-30T05:59:49Z")

</div>

let me try and comback to you

thanks

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:09am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/47 "2023-10-09T07:09:00Z")

</div>

sir when try to update firmware it is showing success but in board it is not updated

## swiflash -m wp76xx -i mangOH-yellow-wp76xx\_0.7.0.spk Detecting USB of the target DONE Communicating with the target DONE Switching to firmware download mode …DONE Downloading the firmware …DONE Rebooting the module …DONE Firmware Download SUCCESS

root@swi-mdm9x28-wp:~# cm info firmware  
SWI9X07Y\_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14

why sir

thanks in advance

---

<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 9, 2023, 7:17am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/48 "2023-10-09T07:17:32Z")

</div>

why do you think that it is not updated?

```auto
owner@ubuntu:~$ swicwe -P /home/owner/Desktop/mangOH-yellow-wp76xx_0.7.0.spk 
 Type Size(Exclude Header) Product Compress Version
*SPKG 69620199 Y921 0 9999999_9908787_SWI9X07Y_02.37.03.00_00_SIERRA_001.060_000
*BOOT 420864 Y921 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 HASH 6480 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 SBL1 413584 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
*MODM 28216140 Y921 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 HASH 6560 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 TZON 522748 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 QRPM 160112 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 DSP2 27525120 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
*FILE 30891 Y921 0 9999999_9908787_SWI9X07Y_02.37.03.00_00_SIERRA_001.060_000
*APPL 34920592 Y921 0 SWI9X07Y_02.37.07.00 2020/12/09 09:46:03
 SYST 25165824 9X28 0 SWI9X07Y_02.37.07.00 2020/12/09 09:46:03
 APPS 9753968 9X28 0 3.18.140 20201209094952
*APPL 6029712 Y921 0 19.11.3-1-g8c030edad vzhu-linux 2020/12/09 03:04:35
 USER 6029312 9X28 0 19.11.3-1-g8c030edad vzhu-linux 2020/12/09 03:04:35
owner@ubuntu:~$

```

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:19am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/49 "2023-10-09T07:19:30Z")

</div>

root@swi-mdm9x28-wp:~# cm info firmware  
SWI9X07Y\_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14

here it is showing different date thats why

---

<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 9, 2023, 7:22am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/50 "2023-10-09T07:22:29Z")

</div>

what is the return of the followings on your module?

```auto
ati3
ati8
at!entercnd="A710"
at!bsinfo

```

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:24am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/51 "2023-10-09T07:24:59Z")

</div>

in my at cmd is not working  
cm is working

---

<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 9, 2023, 7:29am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/52 "2023-10-09T07:29:54Z")

</div>

you can enter AT command in console by “microcom /dev/ttyAT”

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:35am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/53 "2023-10-09T07:35:59Z")

</div>

ati8  
Legato Ver: 19.11.3-1-g8c030edad\_1cb5588a1616da9539229ce885e23405  
Yocto Ver: SWI9X07Y\_02.37.07.00 2020-12-09\_09:46:03  
OS Ver: Linux version 3.18.140 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Wed Dec 9 08:50:05 UTC 2020  
LK Ver: SWI9X07Y\_02.37.10.02  
RootFS Ver: SWI9X07Y\_02.37.07.00 2020-12-09\_09:46:03  
UserFS Ver: unknown  
MCU Ver: 002.015

---

<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 9, 2023, 7:37am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/54 "2023-10-09T07:37:53Z")

</div>

what is the return of the followings on your module?

```auto
ati3
ati8
at!entercnd="A710"
at!bsinfo

```

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:42am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/55 "2023-10-09T07:42:18Z")

</div>

at!bsinfo  
Product: WP7608  
Revision: 40  
Main: MDM9207 (000)  
Radio: WTR2965  
Power: PMD9607 (002)  
Flash: MT29F4G08ABBEA3W 512MB x8 (44/0/0) (2048 blocks of 64 pages/block 4096B page size)

OK  
at!entercnd=“A710”  
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:** [October 9, 2023, 7:44am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/56 "2023-10-09T07:44:16Z")

</div>

You still missed ati3 …

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:45am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/57 "2023-10-09T07:45:08Z")

</div>

ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7608  
Revision: SWI9X07Y\_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14  
IMEI: 352913090243054  
IMEI SV: 14  
FSN: XG911600060510  
+GCAP: +CGSM

---

<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 9, 2023, 7:49am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/58 "2023-10-09T07:49:02Z")

</div>

I can see the legato and yocto image are updated

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 7:51am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/59 "2023-10-09T07:51:26Z")

</div>

why date is 2020 it is showing

---

<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 9, 2023, 7:56am UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/60 "2023-10-09T07:56:54Z")

</div>

What time do you expect then?

You can see the release note of this modem FW component here:

[https://source.sierrawireless.com/resources/airprime/software/release\_notes/wp76xx-release-16-customer-release-notes/](https://source.sierrawireless.com/resources/airprime/software/release_notes/wp76xx-release-16-customer-release-notes/)

---

<div class="post-metadata">

**Author:** ![nayanhn](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@nayanhn](https://mangoh.discourse.group/u/nayanhn)\
**Post date:** [October 9, 2023, 12:31pm UTC](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334/61 "2023-10-09T12:31:27Z")

</div>

sir when i download specific branch ‘yellow\_without\_mcu’ from below and compile i am getting error that missing file why

> **[GitHub - mangOH/mangOH at yellow\_for\_wp76xx](https://github.com/mangOH/mangOH/tree/yellow_for_wp76xx)**
>
> yellow\_for\_wp76xx

error

(lsh:wp76stable) nayan@nayan:~/myworkspace/mangOH$ make yellow  
Not building LEGATO due to $LEGATO == 0

# NOTE: When using leaf, these TOOLCHAIN\_X variables don’t need to be passed to mksys.

TOOLCHAIN\_DIR=/home/nayan/myworkspace/leaf-data/wp76stable/mangOH-yellow-wp76xx-toolchain/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi   
TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-   
OCTAVE=1   
mksys -t wp76xx --cflags=-O2 --object-dir=build/yellow\_wp76xx --output-dir=build/update\_files yellow.sdef  
\*\* ERROR:  
/home/nayan/myworkspace/mangOH/sinc/octave\_full.sinc:12:4: error: Can’t find definition file (remote.adef) or binary app (remote.wp76xx.app) for app specification ‘/home/nayan/myworkspace/leaf-data/wp76stable/Octave-mangOH-yellow-wp76xx/remote.wp76xx.app’.  
Note: Looked in the following places:  
‘.’

make: \*\*\* [Makefile:125: yellow\_wp76xx] Error 1

[Previous page](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334.md?page=2)

[Next page](https://mangoh.discourse.group/t/how-can-i-read-data-from-integrated-sensor/10334.md?page=4)
