This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@swi-mdm9x15:~# cm radio | |
Power: OFF | |
Current Network Operato | |
Current RAT: Not available | |
Status: Not registered and not currently searching for new operator (LE_MRC_REG_NONE) | |
Signal: No signal strength (0) | |
PS: Packet Switched Unknown state (LE_MRC_REG_UNKNOWN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 27 21:49:19 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2025]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | Found 11 object 9 instances | |
Jun 27 21:49:19 swi-mdm9x15 user.info Legato: INFO | avcDaemon[2025]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 693 | obj9ListLen; 143 obj9List: </lwm2m/9/0>,</lwm2m/9/1>,</lwm2m/9/2>,</lwm2m/9/3>,</lwm2m/9/4>,</lwm2m/9/5>,</lwm2m/9/6>,</lwm2m/9/7>,</lwm2m/9/8>,</ | |
Jun 27 21:49:19 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2025]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/sw/updateState: LE_NOT_FOUND | |
Jun 27 21:49:19 swi-mdm9x15 user.warn Legato: -WRN- | avcDaemon[2025]/avcDaemon T=main | avcAppUpdate.c GetSwUpdateState() 1465 | SW update state not found. Returning 'INITIAL' state | |
Jun 27 21:49:19 swi-mdm9x15 user.err Legato: =ERR= | avcDaemon[2025]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/sw/updateResult: LE_NOT_FOUND | |
Jun 27 21:49:19 swi-mdm9x15 user.warn Legato: -WRN- | avcDaemon[2025]/avcDaemon T=main | avcA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
function readFilePromise(path: string, flags: string): Promise<string> { | |
return new Promise((resolve, reject) => { | |
fs.readFile(path, flags, (err, data) => { | |
// if the error exists, reject the promise | |
// and pass the error, otherwise resolve | |
// with our data | |
err ? reject(err) : resolve(data) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"reboot": false, | |
"systems": { | |
"uids": [ | |
"f42f6963ac484861ab094f2604d7d0cb" | |
] | |
}, | |
"settings": [ | |
{ | |
"key": "digitalService.sensorConfig.digital1_outputKeys", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 18 02:55:06 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028]/avcDaemon T=main | avcClient.c BearerEventCb() 251 | Connected 1 | |
Jul 18 02:55:08 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028]/avcDaemon T=main | avcServer.c ProcessUpdateStatus() 1364 | Update state: Authentication started | |
Jul 18 02:55:08 swi-mdm9x15 user.info Legato: INFO | avcControl[814]/avcControl T=main | avcControl.c StatusHandler() 183 | Air Vantage agent reported update status: AUTHENTICATION_STARTED | |
Jul 18 02:55:10 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028] | Jul 18 02:55:10 WARN Wrong epoch, expected 1, got: 0 | |
Jul 18 02:55:10 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028] | Jul 18 02:55:10 WARN Wrong epoch, expected 1, got: 0 | |
Jul 18 02:55:12 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028] | Jul 18 02:55:12 WARN Wrong epoch, expected 1, got: 0 | |
Jul 18 02:55:12 swi-mdm9x15 user.info Legato: INFO | avcDaemon[1028] | Jul 18 02:55:12 WARN Wrong epoch, expected 1, got: 0 | |
Jul 18 02:55:14 swi-mdm9x15 user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class StatsProvider { | |
private getSwitchedCellStrength(): Observable<number> { | |
return this.switch$ | |
.switchMap((deviceId: string) => | |
this.db | |
.list(this.paths.sensorStatList(deviceId, CELL_STRENGTH_KEY), { | |
query: { | |
orderByChild: 'datetime', | |
limitToLast: 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Makefile:169: build/wp76xx/.config.mk: No such file or directory | |
Module: WiFi | |
********************* VERSION ******************** | |
Legato WiFi version: 18.07.0 | |
************************************************** | |
Module: Dualsys | |
mkdir -p build/wp76xx | |
sed -e 's/^CONFIG_/export &/g' -e 's/="/=/g' -e 's/"$//g' -e 's/=/ := /g' /home/nick/Documents/BRNKL-base/legato/.config > build/wp76xx/.config.mk | |
Module: WiFi | |
********************* VERSION ******************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Poky (Yocto Project Reference Distro) SDK installer version 2.2.3 | |
================================================================= | |
Enter target directory for SDK (default: /opt/swi/y22-ext): /opt/swi/SWI9X07Y_02.16.02.00 | |
You are about to install the SDK to "/opt/swi/SWI9X07Y_02.16.02.00". Proceed[Y/n]? Y | |
[sudo] password for nick: | |
Extracting SDK....................................................done | |
Setting it up...done | |
Makefile:662: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler | |
HOSTCC scripts/basic/fixdep | |
HOSTCC scripts/basic/bin2c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[79/783] Build kernel driver module | |
FAILED: make -C /home/nick/Documents/BRNKL-base/legato/build/wp76xx/system/modules/spisvc | |
make[1]: Entering directory '/home/nick/Documents/BRNKL-base/legato/build/wp76xx/system/modules/spisvc' | |
make -C /opt/swi/SWI9X07Y_02.16.02.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel M=/home/nick/Documents/BRNKL-base/legato/build/wp76xx/system/modules/spisvc modules | |
make[2]: Entering directory '/opt/swi/SWI9X07Y_02.16.02.00/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernel' | |
CC [M] /home/nick/Documents/BRNKL-base/legato/build/wp76xx/system/modules/spisvc/spisvc.o | |
Building modules, stage 2. | |
MODPOST 1 modules | |
/bin/sh: scripts/mod/modpost: No such file or directory | |
scripts/Makefile.modpost:91: recipe for target '__modpost' failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@swi-mdm9x15:~/mt76x7-uploader# python upload.py -c /dev/ttyHS0 -p mt7697 -t ldr -f ../mtfiles/mt7697 | |
_bootloader.bin -n ../mtfiles/da97.bin | |
Start uploading the download agent | |
0% 100% | |
[##############################] | ETA: 00:00:00 | |
Total time elapsed: 00:00:04 | |
DA uploaded, start uploading the user bin | |
0% 100% | |
[# ] | ETA: 00:00:56ERROR:xmodem.XMODEM:send error: expected ACK; got '\x15' for block 1 | |
[## ] | ETA: 00:00:40ERROR:xmodem.XMODEM:send error: expected ACK; got '' for block 1 |