problems controlling the IMX219-AF

Hi, I’m having a lot of trouble finding information on how to control the IMX219-AF. The only code examples that I can find control the focal distance in Python by doing system(‘i2cset -y 6 0x0c …’), but I haven’t been able to find an explanation of what’s going on here.

The datasheet on the marketing webpage for the camera doesn’t even have the words “focus” or “focal” in it, and I don’t see any mention of this method of i2c commanding.

Also, is it possible to control other parameters of the camera like gain and black level (which are mentioned in the datasheet, but there are no samples or discussions of it that I can find).

The focus motor model on the IMX219-AF is DW9714A, here is the manual for DW9714A