mirror of
https://github.com/meshtastic/python.git
synced 2026-04-30 11:55:17 -04:00
add info about 19003
This commit is contained in:
@@ -75,6 +75,7 @@ rak4631_5005 = SupportedDevice(name="RAK 4631 5005", version="", for_firmware="r
|
||||
device_class="nrf52",
|
||||
baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem",
|
||||
usb_vendor_id_in_hex="239a", usb_product_id_in_hex="0029")
|
||||
# Note: The 19003 reports same product id as 5005 in boot mode
|
||||
rak4631_19003 = SupportedDevice(name="RAK 4631 19003", version="", for_firmware="rak4631_19003",
|
||||
device_class="nrf52",
|
||||
baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem",
|
||||
|
||||
@@ -327,7 +327,7 @@ def detect_supported_devices():
|
||||
|
||||
elif system == "Darwin":
|
||||
# run: system_profiler SPUSBDataType
|
||||
# if mac air (eg: arm m1) do not know how to get info TODO: research
|
||||
# Note: If in boot mode, the 19003 reports same product ID as 5005.
|
||||
|
||||
_, sp_output = subprocess.getstatusoutput('system_profiler SPUSBDataType')
|
||||
vids = get_unique_vendor_ids()
|
||||
|
||||
Reference in New Issue
Block a user