smallneuron 1.0.2__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {smallneuron-1.0.2/src/smallneuron.egg-info → smallneuron-1.1.0}/PKG-INFO +1 -1
- {smallneuron-1.0.2 → smallneuron-1.1.0}/pyproject.toml +1 -1
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/smallneuron.py +4 -4
- {smallneuron-1.0.2 → smallneuron-1.1.0/src/smallneuron.egg-info}/PKG-INFO +1 -1
- {smallneuron-1.0.2 → smallneuron-1.1.0}/.gitignore +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/LICENSE +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/README.md +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/example.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/setup.cfg +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/__init__.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/build +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/gpio_h3.c +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/gpio_h3.h +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/gpio_h3.so +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/logger.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/sndummy.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/sngpio.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/snhttp.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/sninput.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/snmqtt.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/snserial.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron/sntimer.py +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron.egg-info/SOURCES.txt +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron.egg-info/dependency_links.txt +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron.egg-info/top_level.txt +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron_pelainux.egg-info/PKG-INFO +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron_pelainux.egg-info/SOURCES.txt +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron_pelainux.egg-info/dependency_links.txt +0 -0
- {smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron_pelainux.egg-info/top_level.txt +0 -0
|
@@ -286,7 +286,7 @@ class SnWatcher():
|
|
|
286
286
|
self.event=event
|
|
287
287
|
self.event_args=event_args
|
|
288
288
|
self.event_pattern=event_pattern
|
|
289
|
-
self.
|
|
289
|
+
self.stoploop=False
|
|
290
290
|
self.thread=None
|
|
291
291
|
log.debug("SnWatcher created")
|
|
292
292
|
|
|
@@ -299,7 +299,7 @@ class SnWatcher():
|
|
|
299
299
|
'''
|
|
300
300
|
log.debug("SnWatcher.run")
|
|
301
301
|
if self.thread == None:
|
|
302
|
-
self.
|
|
302
|
+
self.stoploop=False
|
|
303
303
|
try:
|
|
304
304
|
log.debug("SnWatcher.run Thread create")
|
|
305
305
|
self.thread=threading.Thread(target=SnWatcher._check, args=(self,[bridge,bridge_args,mode, period]))
|
|
@@ -319,7 +319,7 @@ class SnWatcher():
|
|
|
319
319
|
log.debug("SnWatcher._check loop start",args)
|
|
320
320
|
try:
|
|
321
321
|
[bridge,args,mode, period] = args
|
|
322
|
-
while not self.
|
|
322
|
+
while not self.stoploop:
|
|
323
323
|
resp=bridge.check(**args)
|
|
324
324
|
|
|
325
325
|
# Si la respuesta no es un dict
|
|
@@ -347,6 +347,6 @@ class SnWatcher():
|
|
|
347
347
|
log.error(traceback.format_exc())
|
|
348
348
|
|
|
349
349
|
def stop(self):
|
|
350
|
-
self.
|
|
350
|
+
self.stoploop=True
|
|
351
351
|
self.thread.join()
|
|
352
352
|
self.thread=None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smallneuron-1.0.2 → smallneuron-1.1.0}/src/smallneuron_pelainux.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|