IntelRealSense / realsense_mipi_platform_driver

Intel® RealSense™ camera driver for GMSL* interface
GNU General Public License v2.0
15 stars 14 forks source link

HWMC code cleanup #102

Closed xzhangxa closed 1 year ago

xzhangxa commented 2 years ago

This is split from the original ctrls fix #91 so it's based on that PR.

dmipx commented 2 years ago

I think it need to be rebased and these patch file names should be reenumerated

xzhangxa commented 2 years ago

I think it need to be rebased and these patch file names should be reenumerated

Rebased, using 0062 to avoid conflict again with the two new PRs of 0060.

remibettan commented 2 years ago

The aim of this change is to restore the hwm mechanism so that it would work with this driver, the same way as it works with USB driver. The set_xu method used for hwm should get a buffer of 1024 bytes (now it needs 1028 bytes). The get_xu method used for hwm should return a buffer that would start with the opcode, and then the answer buffer (without the input command buffer.