sensor-sdk 0.0.63__tar.gz → 0.0.64__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.
Files changed (21) hide show
  1. {sensor_sdk-0.0.63/sensor_sdk.egg-info → sensor_sdk-0.0.64}/PKG-INFO +1 -1
  2. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_data_context.py +2 -0
  3. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64/sensor_sdk.egg-info}/PKG-INFO +1 -1
  4. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/setup.py +1 -1
  5. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/LICENSE.txt +0 -0
  6. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/README.md +0 -0
  7. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/__init__.py +0 -0
  8. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/bleak_host.py +0 -0
  9. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/bleak_process.py +0 -0
  10. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/gforce.py +0 -0
  11. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_controller.py +0 -0
  12. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_data.py +0 -0
  13. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_device.py +0 -0
  14. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_profile.py +0 -0
  15. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor/sensor_utils.py +0 -0
  16. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor_sdk.egg-info/SOURCES.txt +0 -0
  17. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor_sdk.egg-info/dependency_links.txt +0 -0
  18. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor_sdk.egg-info/requires.txt +0 -0
  19. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor_sdk.egg-info/top_level.txt +0 -0
  20. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/sensor_sdk.egg-info/zip-safe +0 -0
  21. {sensor_sdk-0.0.63 → sensor_sdk-0.0.64}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sensor-sdk
3
- Version: 0.0.63
3
+ Version: 0.0.64
4
4
  Summary: Python sdk for Synchroni
5
5
  Home-page: https://github.com/oymotion/SynchroniSDKPython
6
6
  Author: Martin Ye
@@ -1289,6 +1289,8 @@ class SensorProfileDataCtx:
1289
1289
 
1290
1290
  if not self._is_data_transfering:
1291
1291
  return False
1292
+ if sensorData is None or sensorData.packageSampleCount <= 0 or sensorData.channelCount <= 0 or sensorData.minPackageSampleCount <= 0 or sensorData.K <= 0:
1293
+ return False
1292
1294
  try:
1293
1295
  packageIndex = 0
1294
1296
  maxPackageIndex = 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sensor-sdk
3
- Version: 0.0.63
3
+ Version: 0.0.64
4
4
  Summary: Python sdk for Synchroni
5
5
  Home-page: https://github.com/oymotion/SynchroniSDKPython
6
6
  Author: Martin Ye
@@ -8,7 +8,7 @@ with open(os.path.join(this_directory, "README.md"), "r", encoding="utf-8") as f
8
8
 
9
9
  setup(
10
10
  name="sensor-sdk",
11
- version="0.0.63",
11
+ version="0.0.64",
12
12
  description="Python sdk for Synchroni",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes