libusbsio 2.2.0__tar.gz → 2.2.1__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 (40) hide show
  1. libusbsio-2.2.0/license/BSD-3-clause.txt → libusbsio-2.2.1/LICENSE.txt +1 -1
  2. libusbsio-2.2.1/MANIFEST.in +7 -0
  3. {libusbsio-2.2.0/libusbsio.egg-info → libusbsio-2.2.1}/PKG-INFO +8 -3
  4. {libusbsio-2.2.0 → libusbsio-2.2.1}/README.md +5 -2
  5. libusbsio-2.2.1/SBOM-libusbsio.spdx.json +54 -0
  6. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/__init__.py +2 -2
  7. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/Win32/libusbsio.dll +0 -0
  8. libusbsio-2.2.1/libusbsio/bin/linux_x86_64/libusbsio.so +0 -0
  9. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/osx_arm64/libusbsio.dylib +0 -0
  10. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/osx_x86_64/libusbsio.dylib +0 -0
  11. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/x64/libusbsio.dll +0 -0
  12. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/libusbsio.py +47 -1
  13. {libusbsio-2.2.0 → libusbsio-2.2.1/libusbsio.egg-info}/PKG-INFO +8 -3
  14. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio.egg-info/SOURCES.txt +2 -6
  15. {libusbsio-2.2.0 → libusbsio-2.2.1}/pyproject.toml +2 -3
  16. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/test_00_lib.py +22 -0
  17. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/test_20_i2c.py +28 -0
  18. libusbsio-2.2.0/LICENSE.txt +0 -2
  19. libusbsio-2.2.0/MANIFEST.in +0 -8
  20. libusbsio-2.2.0/libusbsio/bin/BSD-3-clause.txt +0 -11
  21. libusbsio-2.2.0/libusbsio/bin/SBOM-libusbsio.spdx.json +0 -95
  22. libusbsio-2.2.0/libusbsio/bin/linux_x86_64/libusbsio.so +0 -0
  23. libusbsio-2.2.0/license/LICENSE-hidapi-bsd.txt +0 -26
  24. libusbsio-2.2.0/license/SBOM-libusbsio.spdx.json +0 -95
  25. {libusbsio-2.2.0/libusbsio/bin → libusbsio-2.2.1}/LICENSE-hidapi-bsd.txt +0 -0
  26. {libusbsio-2.2.0 → libusbsio-2.2.1}/examples/hid.py +0 -0
  27. {libusbsio-2.2.0 → libusbsio-2.2.1}/examples/i2c.py +0 -0
  28. {libusbsio-2.2.0 → libusbsio-2.2.1}/examples/ports.py +0 -0
  29. {libusbsio-2.2.0 → libusbsio-2.2.1}/examples/spi.py +0 -0
  30. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/__main__.py +0 -0
  31. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/linux_aarch64/libusbsio.so +0 -0
  32. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/linux_armv7l/libusbsio.so +0 -0
  33. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio/bin/linux_i686/libusbsio.so +0 -0
  34. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio.egg-info/dependency_links.txt +0 -0
  35. {libusbsio-2.2.0 → libusbsio-2.2.1}/libusbsio.egg-info/top_level.txt +0 -0
  36. {libusbsio-2.2.0 → libusbsio-2.2.1}/setup.cfg +0 -0
  37. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/__init__.py +0 -0
  38. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/test_10_spi.py +0 -0
  39. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/test_30_gpio.py +0 -0
  40. {libusbsio-2.2.0 → libusbsio-2.2.1}/test/test_base.py +0 -0
@@ -1,4 +1,4 @@
1
- Copyright 2021-2025 NXP
1
+ Copyright 2021-2026 NXP
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
4
 
@@ -0,0 +1,7 @@
1
+ recursive-include libusbsio/bin *
2
+
3
+ include SBOM-libusbsio.spdx.json
4
+ include LICENSE.txt
5
+
6
+ global-exclude *.py[cod]
7
+ prune __pycache__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libusbsio
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Python wrapper around NXP LIBUSBSIO library
5
5
  Author-email: Michal Hanak <michal.hanak@nxp.com>
6
6
  License-Expression: BSD-3-Clause
@@ -19,7 +19,9 @@ Classifier: Topic :: System :: Hardware
19
19
  Classifier: Topic :: Utilities
20
20
  Requires-Python: >=3.6
21
21
  Description-Content-Type: text/markdown
22
+ License-File: LICENSE-hidapi-bsd.txt
22
23
  License-File: LICENSE.txt
24
+ License-File: SBOM-libusbsio.spdx.json
23
25
  Dynamic: license-file
24
26
 
25
27
  # Python wrapper for NXP libusbsio binary library
@@ -53,7 +55,7 @@ python -m pip install libusbsio
53
55
  Use the following `pip` command to install the libusbsio module from
54
56
  the local NXP LIBUSBSIO installation package available at www.nxp.com:
55
57
  ```
56
- python -m pip install dist/libusbsio-2.2.0-py3-none-any.whl
58
+ python -m pip install dist/libusbsio-2.2.1-py3-none-any.whl
57
59
  ```
58
60
 
59
61
  ## Running example code
@@ -118,6 +120,9 @@ test\test_30_gpio.py ......s.
118
120
  ```
119
121
 
120
122
  ## History
123
+ ### v2.2.1 - June 2026
124
+ - Add Set/GetReadTimeout methods to control low-level HID read timeout when invoking device commands.
125
+ - Default read timeout increased from 500ms to 2000ms.
121
126
  ### v2.2.0 - October 2025
122
127
  - Add OpenBySerial and OpenByPath more robust calls, immune to index reordering upon re-enumeration.
123
128
  - Enumerated devices list remains valid after device close; GetNumPorts re-enumeration is no longer needed
@@ -143,4 +148,4 @@ test\test_30_gpio.py ......s.
143
148
  - The initial Python libusbsio library wrapper release supporting USBSIO library v2.1
144
149
 
145
150
  ____
146
- Copyright NXP 2021-2025
151
+ Copyright NXP 2021-2026
@@ -29,7 +29,7 @@ python -m pip install libusbsio
29
29
  Use the following `pip` command to install the libusbsio module from
30
30
  the local NXP LIBUSBSIO installation package available at www.nxp.com:
31
31
  ```
32
- python -m pip install dist/libusbsio-2.2.0-py3-none-any.whl
32
+ python -m pip install dist/libusbsio-2.2.1-py3-none-any.whl
33
33
  ```
34
34
 
35
35
  ## Running example code
@@ -94,6 +94,9 @@ test\test_30_gpio.py ......s.
94
94
  ```
95
95
 
96
96
  ## History
97
+ ### v2.2.1 - June 2026
98
+ - Add Set/GetReadTimeout methods to control low-level HID read timeout when invoking device commands.
99
+ - Default read timeout increased from 500ms to 2000ms.
97
100
  ### v2.2.0 - October 2025
98
101
  - Add OpenBySerial and OpenByPath more robust calls, immune to index reordering upon re-enumeration.
99
102
  - Enumerated devices list remains valid after device close; GetNumPorts re-enumeration is no longer needed
@@ -119,4 +122,4 @@ test\test_30_gpio.py ......s.
119
122
  - The initial Python libusbsio library wrapper release supporting USBSIO library v2.1
120
123
 
121
124
  ____
122
- Copyright NXP 2021-2025
125
+ Copyright NXP 2021-2026
@@ -0,0 +1,54 @@
1
+ {
2
+ "SPDXID": "SPDXRef-DOCUMENT",
3
+ "spdxVersion": "SPDX-2.3",
4
+ "creationInfo": {
5
+ "created": "2026-06-08T14:15:13Z",
6
+ "creators": [
7
+ "Organization: NXP"
8
+ ],
9
+ "licenseListVersion": "3.28"
10
+ },
11
+ "name": "libusbsio-2.2.1",
12
+ "dataLicense": "CC0-1.0",
13
+ "documentNamespace": "https://nxp.com/spdx/e3f98845-f323-4dd2-a570-ce650fa32eb2",
14
+ "packages": [
15
+ {
16
+ "SPDXID": "SPDXRef-package-e3f98845-f323-4dd2-a570-ce650fa32eb2",
17
+ "name": "libusbsio",
18
+ "versionInfo": "2.2.1",
19
+ "licenseConcluded": "(BSD-3-Clause)",
20
+ "licenseDeclared": "(BSD-3-Clause)",
21
+ "downloadLocation": "https://pypi.org/project/libusbsio/",
22
+ "originator": "Organization: NXP",
23
+ "supplier": "NOASSERTION",
24
+ "externalRefs": [],
25
+ "filesAnalyzed": false
26
+ },
27
+ {
28
+ "SPDXID": "SPDXRef-package-e3f98845-f323-4dd2-a570-ce650fa32eb2---16ddf628-ffe8-4a50-a37f-4ac21026fc7b",
29
+ "name": "hidapi",
30
+ "versionInfo": "0.11.2",
31
+ "licenseConcluded": "BSD-3-Clause",
32
+ "licenseDeclared": "(BSD-3-Clause OR GPL-3.0-or-later)",
33
+ "licenseComments": "Multiple license: license chosen BSD-3-Clause",
34
+ "homepage": "http://www.signal11.us/oss/hidapi/",
35
+ "downloadLocation": "NOASSERTION",
36
+ "originator": "Organization: hidapi",
37
+ "supplier": "NOASSERTION",
38
+ "externalRefs": [],
39
+ "filesAnalyzed": false
40
+ }
41
+ ],
42
+ "relationships": [
43
+ {
44
+ "spdxElementId": "SPDXRef-DOCUMENT",
45
+ "relationshipType": "DESCRIBES",
46
+ "relatedSpdxElement": "SPDXRef-package-e3f98845-f323-4dd2-a570-ce650fa32eb2"
47
+ },
48
+ {
49
+ "spdxElementId": "SPDXRef-package-e3f98845-f323-4dd2-a570-ce650fa32eb2",
50
+ "relationshipType": "CONTAINS",
51
+ "relatedSpdxElement": "SPDXRef-package-e3f98845-f323-4dd2-a570-ce650fa32eb2---16ddf628-ffe8-4a50-a37f-4ac21026fc7b"
52
+ }
53
+ ]
54
+ }
@@ -5,10 +5,10 @@
5
5
  #
6
6
  # NXP USBSIO Library to control SPI, I2C and GPIO bus over USB
7
7
  #
8
- __version__ = '2.2.0'
8
+ __version__ = '2.2.1'
9
9
  __title__ = 'usblibsio'
10
10
  __author__ = 'NXP Semiconductors'
11
- __copyright__ = 'Copyright NXP 2021-2025'
11
+ __copyright__ = 'Copyright NXP 2021-2026'
12
12
  __license__ = 'BSD-3-Clause'
13
13
  __url__ = 'https://www.nxp.com/design/software/development-software/library-for-windows-macos-and-ubuntu-linux:LIBUSBSIO'
14
14
  __description__ = 'Python interface for the NXP USBSIO Library version %s' % __version__
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  #
3
- # Copyright 2021-2022,2025 NXP
3
+ # Copyright 2021-2022,2025-2026 NXP
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
5
  #
6
6
  # NXP USBSIO Library to control SPI, I2C and GPIO bus over USB
@@ -578,6 +578,20 @@ class LIBUSBSIO(object):
578
578
  except:
579
579
  pass
580
580
 
581
+ try:
582
+ self._GetReadTimeout = self._dll.LPCUSBSIO_GetReadTimeout
583
+ self._GetReadTimeout.argtypes = [c_void_p]
584
+ self._GetReadTimeout.restype = c_int32
585
+ except:
586
+ pass
587
+
588
+ try:
589
+ self._SetReadTimeout = self._dll.LPCUSBSIO_SetReadTimeout
590
+ self._SetReadTimeout.argtypes = [c_void_p, c_int32]
591
+ self._SetReadTimeout.restype = c_int32
592
+ except:
593
+ pass
594
+
581
595
  # no exception means success
582
596
  return None
583
597
 
@@ -852,6 +866,38 @@ class LIBUSBSIO(object):
852
866
  ret = self._GetLastError(self._h)
853
867
  return ret
854
868
 
869
+ @need_dll_open
870
+ def GetReadTimeout(self) -> int:
871
+ '''# Get low-level HID read timeout
872
+ Configurable timeout feature was added in library version 2.2.1.
873
+ This call will return a hard-coded value of 500ms when using
874
+ an older library version.
875
+
876
+ ## Returns
877
+ Timeout value in milliseconds or negative error code.
878
+ '''
879
+
880
+ # 500 was a hard-coded value of library versions prior to 2.2.1
881
+ ret = self._GetReadTimeout(self._h) if self._GetReadTimeout else 500
882
+ return ret
883
+
884
+ @need_dll_open
885
+ def SetReadTimeout(self, timeout_ms:int) -> int:
886
+ '''# Set low-level HID timeout for subsequent device calls
887
+ Configurable timeout feature was added in library version 2.2.1.
888
+ This call will return an error when using an older library version.
889
+
890
+ ## Args
891
+ - `timeout_ms` - Low-level HID read timeout in milliseconds.
892
+
893
+ ## Returns
894
+ Zero as success or a negative error code.
895
+ '''
896
+
897
+ # 500 was a hard-coded value of library versions prior to 2.2.1
898
+ ret = self._SetReadTimeout(self._h, timeout_ms) if self._SetReadTimeout else LIBUSBSIO.ERR_HID_LIB
899
+ return ret
900
+
855
901
  class PORT:
856
902
  def __init__(self, libsio):
857
903
  self._sio: LIBUSBSIO = libsio
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libusbsio
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Python wrapper around NXP LIBUSBSIO library
5
5
  Author-email: Michal Hanak <michal.hanak@nxp.com>
6
6
  License-Expression: BSD-3-Clause
@@ -19,7 +19,9 @@ Classifier: Topic :: System :: Hardware
19
19
  Classifier: Topic :: Utilities
20
20
  Requires-Python: >=3.6
21
21
  Description-Content-Type: text/markdown
22
+ License-File: LICENSE-hidapi-bsd.txt
22
23
  License-File: LICENSE.txt
24
+ License-File: SBOM-libusbsio.spdx.json
23
25
  Dynamic: license-file
24
26
 
25
27
  # Python wrapper for NXP libusbsio binary library
@@ -53,7 +55,7 @@ python -m pip install libusbsio
53
55
  Use the following `pip` command to install the libusbsio module from
54
56
  the local NXP LIBUSBSIO installation package available at www.nxp.com:
55
57
  ```
56
- python -m pip install dist/libusbsio-2.2.0-py3-none-any.whl
58
+ python -m pip install dist/libusbsio-2.2.1-py3-none-any.whl
57
59
  ```
58
60
 
59
61
  ## Running example code
@@ -118,6 +120,9 @@ test\test_30_gpio.py ......s.
118
120
  ```
119
121
 
120
122
  ## History
123
+ ### v2.2.1 - June 2026
124
+ - Add Set/GetReadTimeout methods to control low-level HID read timeout when invoking device commands.
125
+ - Default read timeout increased from 500ms to 2000ms.
121
126
  ### v2.2.0 - October 2025
122
127
  - Add OpenBySerial and OpenByPath more robust calls, immune to index reordering upon re-enumeration.
123
128
  - Enumerated devices list remains valid after device close; GetNumPorts re-enumeration is no longer needed
@@ -143,4 +148,4 @@ test\test_30_gpio.py ......s.
143
148
  - The initial Python libusbsio library wrapper release supporting USBSIO library v2.1
144
149
 
145
150
  ____
146
- Copyright NXP 2021-2025
151
+ Copyright NXP 2021-2026
@@ -1,6 +1,8 @@
1
+ LICENSE-hidapi-bsd.txt
1
2
  LICENSE.txt
2
3
  MANIFEST.in
3
4
  README.md
5
+ SBOM-libusbsio.spdx.json
4
6
  pyproject.toml
5
7
  examples/hid.py
6
8
  examples/i2c.py
@@ -13,9 +15,6 @@ libusbsio.egg-info/PKG-INFO
13
15
  libusbsio.egg-info/SOURCES.txt
14
16
  libusbsio.egg-info/dependency_links.txt
15
17
  libusbsio.egg-info/top_level.txt
16
- libusbsio/bin/BSD-3-clause.txt
17
- libusbsio/bin/LICENSE-hidapi-bsd.txt
18
- libusbsio/bin/SBOM-libusbsio.spdx.json
19
18
  libusbsio/bin/Win32/libusbsio.dll
20
19
  libusbsio/bin/linux_aarch64/libusbsio.so
21
20
  libusbsio/bin/linux_armv7l/libusbsio.so
@@ -24,9 +23,6 @@ libusbsio/bin/linux_x86_64/libusbsio.so
24
23
  libusbsio/bin/osx_arm64/libusbsio.dylib
25
24
  libusbsio/bin/osx_x86_64/libusbsio.dylib
26
25
  libusbsio/bin/x64/libusbsio.dll
27
- license/BSD-3-clause.txt
28
- license/LICENSE-hidapi-bsd.txt
29
- license/SBOM-libusbsio.spdx.json
30
26
  test/__init__.py
31
27
  test/test_00_lib.py
32
28
  test/test_10_spi.py
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "libusbsio"
10
- version = "2.2.0"
10
+ version = "2.2.1"
11
11
  authors = [
12
12
  { name="Michal Hanak", email="michal.hanak@nxp.com" },
13
13
  ]
@@ -26,7 +26,7 @@ classifiers = [
26
26
  ]
27
27
  keywords = ['LIBUSBSIO', 'USBSIO', 'SPI', 'I2C', 'GPIO']
28
28
  license = "BSD-3-Clause"
29
- license-files = ["LICEN[CS]E*"]
29
+ license-files = ["LICEN[CS]E*", "SBOM-*"]
30
30
 
31
31
  [project.urls]
32
32
  Homepage = "https://www.nxp.com/libusbsio"
@@ -39,7 +39,6 @@ include-package-data = true
39
39
 
40
40
  [tool.setuptools.package-dir]
41
41
  "libusbsio" = "libusbsio"
42
- "libusbsio.license" = "license"
43
42
  "libusbsio.test" = "test"
44
43
  "libusbsio.examples" = "examples"
45
44
 
@@ -171,3 +171,25 @@ class TestLib(TestBase):
171
171
  n = self.sio.GetLastError()
172
172
  self.logger.info("GetLastError returns %d" % n)
173
173
  self.assertEqual(n, 0)
174
+
175
+ @opensio
176
+ def test_GetReadTimeout(self):
177
+ n = self.sio.GetReadTimeout()
178
+ self.logger.info("GetReadTimeout returns %d" % n)
179
+ self.assertEqual(n, 2000) # default timeout value in v2.2.1
180
+
181
+ @opensio
182
+ def test_SetReadTimeout(self):
183
+ n = self.sio.SetReadTimeout(1500)
184
+ self.logger.info("SetReadTimeout(1500) returns %d" % n)
185
+ self.assertEqual(n, 0)
186
+ n = self.sio.GetReadTimeout()
187
+ self.logger.info("GetReadTimeout returns %d" % n)
188
+ self.assertEqual(n, 1500)
189
+ n = self.sio.SetReadTimeout(2000)
190
+ self.logger.info("SetReadTimeout(2000) returns %d" % n)
191
+ self.assertEqual(n, 0)
192
+ n = self.sio.GetReadTimeout()
193
+ self.logger.info("GetReadTimeout returns %d" % n)
194
+ self.assertEqual(n, 2000)
195
+
@@ -82,6 +82,7 @@ class TestI2C(TestBase):
82
82
  self.assertEqual(self.i2c.Close(), 0)
83
83
  self.assertFalse(self.sio.IsAnyPortOpen())
84
84
 
85
+
85
86
  # the USE_MULTI_PART bit determines if multi-part operation is used at all, the PART_xxx identify which part it is
86
87
  (NO_MULTI_PART, USE_MULTI_PART, PART_FIRST, PART_LAST) = (0x0, 0x01, 0x02, 0x04)
87
88
 
@@ -188,6 +189,24 @@ class TestI2C_BaseComm(TestBase):
188
189
  def test_I2C_Transfer_Echo_full(self):
189
190
  self.siotest_i2c_echo(1, self.sio.GetMaxDataSize() - 10)
190
191
 
192
+ @skip_in_base
193
+ @use_i2c(I2C_PORT)
194
+ def test_I2C_ReOpenAfterUse(self):
195
+ self.sio.logger.setLevel(logging.INFO)
196
+
197
+ self.assertTrue(isinstance(self.i2c, LIBUSBSIO.I2C))
198
+ self.assertTrue(self.sio.IsAnyPortOpen())
199
+ self.i2c_write(I2C_DEV_ADDR, b'ABCD')
200
+ self.assertEqual(self.i2c.Close(), 0)
201
+ self.assertFalse(self.sio.IsAnyPortOpen())
202
+ self.sio.Close()
203
+ self.OpenDefaultPort()
204
+ self.assertTrue(self.sio.GetNumI2CPorts() > 0)
205
+ self.i2c = self.sio.I2C_Open(I2C_BUS_SPEED, portNum=I2C_PORT)
206
+ self.assertTrue(isinstance(self.i2c, LIBUSBSIO.I2C))
207
+ self.assertTrue(self.sio.IsAnyPortOpen())
208
+
209
+
191
210
  class TestI2C_XFER(TestI2C_BaseComm):
192
211
  def i2c_write(self, devAddr:int, txData:bytes, multipartWrite:int=NO_MULTI_PART, **kwargs):
193
212
  self.assertFalse(multipartWrite & USE_MULTI_PART, "Cannot handle multi-part write in FastXfer method")
@@ -283,6 +302,10 @@ class TestI2C_WriteRead_MultipartRead(TestI2C_WriteRead):
283
302
  def test_I2C_Transfer_Echo_full(self):
284
303
  super.test_I2C_Transfer_Echo_full()
285
304
 
305
+ @known_issue
306
+ def test_I2C_ReOpenAfterUse(self):
307
+ super.test_I2C_ReOpenAfterUse()
308
+
286
309
  class TestI2C_WriteRead_MultipartWrite(TestI2C_WriteRead):
287
310
  '''MultipartWrite test splits the outgoing I2C write requests to two halves and tries to send
288
311
  them using two I2C_DeviceWrite library calls with partial options (no STOP generated in
@@ -327,3 +350,8 @@ class TestI2C_WriteRead_MultipartWrite(TestI2C_WriteRead):
327
350
  @known_issue
328
351
  def test_I2C_Transfer_Echo_full(self):
329
352
  super.test_I2C_Transfer_Echo_full()
353
+
354
+ @known_issue
355
+ def test_I2C_ReOpenAfterUse(self):
356
+ super.test_I2C_ReOpenAfterUse()
357
+
@@ -1,2 +0,0 @@
1
- The libusbsio Python package and related binaries is released under BSD-3-Clause License.
2
- See the 'license' folder for related license files and SBOM-libusbsio.spdx.json.
@@ -1,8 +0,0 @@
1
- recursive-include libusbsio/bin *
2
-
3
- include license/SBOM-libusbsio.spdx.json
4
- include license/BSD-3-clause.txt
5
- include license/LICENSE-hidapi-bsd.txt
6
-
7
- global-exclude *.py[cod]
8
- prune __pycache__
@@ -1,11 +0,0 @@
1
- Copyright 2021-2025 NXP
2
-
3
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
-
5
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
-
7
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
-
9
- 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
-
11
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,95 +0,0 @@
1
- {
2
- "SPDXID": "SPDXRef-DOCUMENT",
3
- "spdxVersion": "SPDX-2.3",
4
- "creationInfo": {
5
- "created": "2025-10-31T10:12:29Z",
6
- "creators": [
7
- "Organization: NXP"
8
- ],
9
- "licenseListVersion": "3.20"
10
- },
11
- "name": "libusbsio-2.2.0",
12
- "dataLicense": "CC0-1.0",
13
- "documentNamespace": "https://nxp.com/spdx/79c03a43-7a2b-4947-b1c4-8d87e24adb43",
14
- "packages": [
15
- {
16
- "SPDXID": "SPDXRef-package-16ddf628-ffe8-4a50-a37f-4ac21026fc7b",
17
- "name": "hidapi",
18
- "versionInfo": "0.11.2",
19
- "licenseConcluded": "BSD-3-Clause",
20
- "licenseDeclared": "(BSD-3-Clause OR GPL-3.0-or-later)",
21
- "homepage": "http://www.signal11.us/oss/hidapi/",
22
- "downloadLocation": "https://pypi.org/project/hidapi/0.11.2",
23
- "originator": "Organization: pypi",
24
- "supplier": "NOASSERTION",
25
- "externalRefs": [
26
- {
27
- "referenceCategory": "PACKAGE-MANAGER",
28
- "referenceLocator": "pkg:pypi/hidapi@0.11.2",
29
- "referenceType": "purl"
30
- },
31
- {
32
- "referenceCategory": "OTHER",
33
- "referenceLocator": "c8918c0e-682f-457a-9eaa-4e38a17a5c10",
34
- "referenceType": "BlackDuck-ComponentOrigin"
35
- }
36
- ],
37
- "filesAnalyzed": false,
38
- "licenseComments": "Multiple license: license chosen BSD-3-Clause"
39
- },
40
- {
41
- "SPDXID": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
42
- "name": "libusbsio",
43
- "versionInfo": "2.2.0",
44
- "licenseConcluded": "(BSD-3-Clause)",
45
- "licenseDeclared": "(BSD-3-Clause)",
46
- "downloadLocation": "https://pypi.org/project/libusbsio/ https://www.nxp.com/design/design-center/software/development-software/libusbsio-host-library-for-usb-enabled-mcus:LIBUSBSIO",
47
- "originator": "Organization: NXP",
48
- "supplier": "NOASSERTION",
49
- "externalRefs": [],
50
- "filesAnalyzed": false
51
- },
52
- {
53
- "SPDXID": "SPDXRef-package-8c673b9b-215e-40f5-bf01-40c6bfc02b03",
54
- "name": "libhidapi-hidraw0",
55
- "versionInfo": "0.11.2",
56
- "licenseConcluded": "BSD-3-Clause",
57
- "licenseDeclared": "(BSD-3-Clause OR GPL-3.0-or-later)",
58
- "homepage": "http://www.signal11.us/oss/hidapi/",
59
- "downloadLocation": "http://archive.ubuntu.com/ubuntu/ubuntu/pool/universe/h/hidapi",
60
- "originator": "Organization: ubuntu",
61
- "supplier": "NOASSERTION",
62
- "externalRefs": [
63
- {
64
- "referenceCategory": "PACKAGE-MANAGER",
65
- "referenceLocator": "pkg:deb/ubuntu/hidapi@0.11.2-1",
66
- "referenceType": "purl"
67
- },
68
- {
69
- "referenceCategory": "OTHER",
70
- "referenceLocator": "ac0becc4-29d8-469d-a6fa-d42a0c88ae4b",
71
- "referenceType": "BlackDuck-ComponentOrigin"
72
- }
73
- ],
74
- "filesAnalyzed": false,
75
- "licenseComments": "Multiple license: license chosen BSD-3-Clause"
76
- }
77
- ],
78
- "relationships": [
79
- {
80
- "spdxElementId": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
81
- "relationshipType": "CONTAINS",
82
- "relatedSpdxElement": "SPDXRef-package-16ddf628-ffe8-4a50-a37f-4ac21026fc7b"
83
- },
84
- {
85
- "spdxElementId": "SPDXRef-DOCUMENT",
86
- "relationshipType": "DESCRIBES",
87
- "relatedSpdxElement": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43"
88
- },
89
- {
90
- "spdxElementId": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
91
- "relationshipType": "CONTAINS",
92
- "relatedSpdxElement": "SPDXRef-package-8c673b9b-215e-40f5-bf01-40c6bfc02b03"
93
- }
94
- ]
95
- }
@@ -1,26 +0,0 @@
1
- Copyright (c) 2010, Alan Ott, Signal 11 Software
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without
5
- modification, are permitted provided that the following conditions are met:
6
-
7
- * Redistributions of source code must retain the above copyright notice,
8
- this list of conditions and the following disclaimer.
9
- * Redistributions in binary form must reproduce the above copyright
10
- notice, this list of conditions and the following disclaimer in the
11
- documentation and/or other materials provided with the distribution.
12
- * Neither the name of Signal 11 Software nor the names of its
13
- contributors may be used to endorse or promote products derived from
14
- this software without specific prior written permission.
15
-
16
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26
- POSSIBILITY OF SUCH DAMAGE.
@@ -1,95 +0,0 @@
1
- {
2
- "SPDXID": "SPDXRef-DOCUMENT",
3
- "spdxVersion": "SPDX-2.3",
4
- "creationInfo": {
5
- "created": "2025-10-31T10:12:29Z",
6
- "creators": [
7
- "Organization: NXP"
8
- ],
9
- "licenseListVersion": "3.20"
10
- },
11
- "name": "libusbsio-2.2.0",
12
- "dataLicense": "CC0-1.0",
13
- "documentNamespace": "https://nxp.com/spdx/79c03a43-7a2b-4947-b1c4-8d87e24adb43",
14
- "packages": [
15
- {
16
- "SPDXID": "SPDXRef-package-16ddf628-ffe8-4a50-a37f-4ac21026fc7b",
17
- "name": "hidapi",
18
- "versionInfo": "0.11.2",
19
- "licenseConcluded": "BSD-3-Clause",
20
- "licenseDeclared": "(BSD-3-Clause OR GPL-3.0-or-later)",
21
- "homepage": "http://www.signal11.us/oss/hidapi/",
22
- "downloadLocation": "https://pypi.org/project/hidapi/0.11.2",
23
- "originator": "Organization: pypi",
24
- "supplier": "NOASSERTION",
25
- "externalRefs": [
26
- {
27
- "referenceCategory": "PACKAGE-MANAGER",
28
- "referenceLocator": "pkg:pypi/hidapi@0.11.2",
29
- "referenceType": "purl"
30
- },
31
- {
32
- "referenceCategory": "OTHER",
33
- "referenceLocator": "c8918c0e-682f-457a-9eaa-4e38a17a5c10",
34
- "referenceType": "BlackDuck-ComponentOrigin"
35
- }
36
- ],
37
- "filesAnalyzed": false,
38
- "licenseComments": "Multiple license: license chosen BSD-3-Clause"
39
- },
40
- {
41
- "SPDXID": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
42
- "name": "libusbsio",
43
- "versionInfo": "2.2.0",
44
- "licenseConcluded": "(BSD-3-Clause)",
45
- "licenseDeclared": "(BSD-3-Clause)",
46
- "downloadLocation": "https://pypi.org/project/libusbsio/ https://www.nxp.com/design/design-center/software/development-software/libusbsio-host-library-for-usb-enabled-mcus:LIBUSBSIO",
47
- "originator": "Organization: NXP",
48
- "supplier": "NOASSERTION",
49
- "externalRefs": [],
50
- "filesAnalyzed": false
51
- },
52
- {
53
- "SPDXID": "SPDXRef-package-8c673b9b-215e-40f5-bf01-40c6bfc02b03",
54
- "name": "libhidapi-hidraw0",
55
- "versionInfo": "0.11.2",
56
- "licenseConcluded": "BSD-3-Clause",
57
- "licenseDeclared": "(BSD-3-Clause OR GPL-3.0-or-later)",
58
- "homepage": "http://www.signal11.us/oss/hidapi/",
59
- "downloadLocation": "http://archive.ubuntu.com/ubuntu/ubuntu/pool/universe/h/hidapi",
60
- "originator": "Organization: ubuntu",
61
- "supplier": "NOASSERTION",
62
- "externalRefs": [
63
- {
64
- "referenceCategory": "PACKAGE-MANAGER",
65
- "referenceLocator": "pkg:deb/ubuntu/hidapi@0.11.2-1",
66
- "referenceType": "purl"
67
- },
68
- {
69
- "referenceCategory": "OTHER",
70
- "referenceLocator": "ac0becc4-29d8-469d-a6fa-d42a0c88ae4b",
71
- "referenceType": "BlackDuck-ComponentOrigin"
72
- }
73
- ],
74
- "filesAnalyzed": false,
75
- "licenseComments": "Multiple license: license chosen BSD-3-Clause"
76
- }
77
- ],
78
- "relationships": [
79
- {
80
- "spdxElementId": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
81
- "relationshipType": "CONTAINS",
82
- "relatedSpdxElement": "SPDXRef-package-16ddf628-ffe8-4a50-a37f-4ac21026fc7b"
83
- },
84
- {
85
- "spdxElementId": "SPDXRef-DOCUMENT",
86
- "relationshipType": "DESCRIBES",
87
- "relatedSpdxElement": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43"
88
- },
89
- {
90
- "spdxElementId": "SPDXRef-package-79c03a43-7a2b-4947-b1c4-8d87e24adb43",
91
- "relationshipType": "CONTAINS",
92
- "relatedSpdxElement": "SPDXRef-package-8c673b9b-215e-40f5-bf01-40c6bfc02b03"
93
- }
94
- ]
95
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes