Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 3aac0f3

Browse files
committed
Updated LTE stack / sqnsupgrade [1.18.1.r3]
New functions: pppsuspend() pppresume() New command line parameters attach(apn="default') connect(legacy=False) dettach(reset=False) deinit(dettach=True, reset=False) send_at_cmd(delay=10000) New Sequans firmware updater supporting FFF mode for differential upgrades
1 parent 4d00fa7 commit 3aac0f3

File tree

9 files changed

+1052
-372
lines changed

9 files changed

+1052
-372
lines changed

Jenkinsfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
def buildVersion
2-
def boards_to_build = ["WiPy", "LoPy", "SiPy", "GPy", "FiPy", "LoPy4"]
3-
def boards_to_test = ["Pycom_Expansion3_Py00ec5f", "Pycom_Expansion3_Py9f8bf5"]
2+
def boards_to_build = ["GPy", "FiPy"]
3+
def boards_to_test = []
44

55
node {
66
// get pycom-esp-idf source
77
stage('Checkout') {
88
checkout scm
99
sh 'rm -rf esp-idf'
10-
sh 'git clone --recursive -b master https://github.com/pycom/pycom-esp-idf.git esp-idf'
11-
sh 'git -C esp-idf checkout 4eab4e1b0e47c73b858c6b29d357f3d30a69c074'
12-
sh 'git -C esp-idf submodule update'
10+
sh 'git clone --depth=1 --recursive -b master https://github.com/pycom/pycom-esp-idf.git esp-idf'
1311
}
1412

1513
PYCOM_VERSION=get_version()

esp32/frozen/LTE/sqnsbr.py

Lines changed: 8 additions & 1 deletion
Large diffs are not rendered by default.

esp32/frozen/LTE/sqnstp.py

100644100755
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env python
2+
# Copyright (c) 2018, Pycom Limited.
3+
#
4+
# This software is licensed under the GNU GPL version 3 or any
5+
# later version, with permitted additional terms. For more information
6+
# see the Pycom Licence v1.0 document supplied with this file, or
7+
# available at https://www.pycom.io/opensource/licensing
28

39
import struct
410
import time
@@ -59,9 +65,9 @@ def hexdump(src, length=32):
5965
lines = []
6066
for c in range(0, len(src), length):
6167
chars = src[c:c+length]
62-
hex = ' '.join(['%02x' % x for x in chars])
63-
printable = ''.join(['%s' % ((x <= 127 and FILTER[x]) or '.') for x in chars])
64-
lines.append('%04x %-*s %s\n' % (c, length*3, hex, printable))
68+
hex = ' '.join(["%02x" % ord(x) for x in chars])
69+
printable = ''.join(["%s" % ((ord(x) <= 127 and FILTER[ord(x)]) or '.') for x in chars])
70+
lines.append("%04x %-*s %s\n" % (c, length*3, hex, printable))
6571
print(''.join(lines))
6672

6773

@@ -374,17 +380,11 @@ def start(elf, elfsize, serial, baud=3686400, retry=None, debug=None, AT=True, p
374380

375381
while True:
376382
try:
377-
if debug: print('running m.wipe')
378383
m.wipe()
379-
if debug: print('running m.reset')
380384
m.reset()
381-
if debug: print('running m.open_session')
382385
m.open_session()
383-
if debug: print('running push(m)')
384386
push(m)
385-
if debug: print('running dev.set_timeout(2)')
386387
dev.set_timeout(2)
387-
if debug: print('running m.reset(True)')
388388
m.reset(True)
389389
return True
390390
except MException as ex:

0 commit comments

Comments
 (0)