Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching USB speed and Myriad X serial number #14

Merged
merged 52 commits into from
Nov 6, 2020
Merged

Conversation

saching13
Copy link
Contributor

Created usb_speed and mx_serial private variables to store the usb speed and myriad x serial id.
Along with this added public functions is_usb3, get_mx_id and is_eeprom_loaded(factory testing purpose).

  • is_usb3 returns true if it is connected over usb3
  • get_mx_id will return string of the Myriad X id
  • is_eeprom_loaded returns true if both intrinsics are available after device init.

@Luxonis-Brandon Luxonis-Brandon moved this from Roadmap to In Progress in Gen1 Feature-Complete Release Oct 14, 2020
@Luxonis-Brandon Luxonis-Brandon added Gen1 Feature for or issue with Gen1 enhancement New feature or request labels Oct 14, 2020
saching13 and others added 16 commits October 21, 2020 11:56
Fixes a host app crash when the device calib data is full-zero.
Was reproducible by writing to EEPROM a calib file generated by:
    dd if=/dev/zero of=resources/depthai.calib bs=1 count=445
(in this order, possible multiple times) after the initial setup,
if the host sets app.enable_reconfig (default:true) in the first config.

Report EEPROM write status as 'logs' in the "meta_d2h" stream. Possible values:
"EEPROM cleared"
"EEPROM write OK"
"EEPROM write FAILED"
add test code to call it again at the end of create_pipeline.
Add test code for sending a new config_h2d, TODO create API
for sending a new calib file/structure.
src/device.cpp Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Gen1 Feature for or issue with Gen1
Development

Successfully merging this pull request may close these issues.

None yet

5 participants