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

Nikon Z6ii build in wifi - Access Denied #976

Open
uwes-ufo opened this issue Apr 24, 2024 · 2 comments
Open

Nikon Z6ii build in wifi - Access Denied #976

uwes-ufo opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
Nikon tagging Nikon reports

Comments

@uwes-ufo
Copy link

This is not a bug.
I would like to use the integrated WiFi on my Nikon Z6_2.

Unfortunately, the PTP_OC_GetObjectInfo (1008) command returns a PTP_RC_AccessDenied (200F). The camera clears AccessDenied as soon as I mark an image for upload and the PTP_OC_NIKON_AdvancedTransfer (9010) command is sent. However, command 9010 blocks if no image is selected to upload.

Does anyone know a better way to disable "AccessDenied"?

@msmeissn msmeissn added the Nikon tagging Nikon reports label Apr 26, 2024
@msmeissn msmeissn self-assigned this Apr 26, 2024
@msmeissn
Copy link
Contributor

I know that NIKON_AdvancedTransfer exists, but its currently not hooked up in libgphoto2. I also checked the Z6_2 SDK, it does not list it as valid command. So I cant say what it does. It seems it was / is used by CoolPix Wifi.

is it not enabling browsing for all pictures via the regular PTP methods? Have not tested thsi on my Z6 for a while though.

@uwes-ufo
Copy link
Author

The access lock is active after the wifi connection is established. In both infrastructure and base station modes. (Not in smart device mode, however.)

This means that it is initially not possible to browse through the file system.

The PTP_OC_GetPartialObject (101b) command is also affected by the lock. However, the command PTP_OC_NIKON_GetPartialObjectEx (9431) does not. This could be a solution for downloading the images. Then there is 9361 in conjunction with PTP_OC_NIKON_GetObjectsMetaData (9434) as a poor replacement for 1008. But it doesn't work for images in the SDRAM. Finally, you would have to have a replacement for PTP_OC_GetThumb (100a): This could perhaps be 9530...

All in all, it would be easier to solve the access block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nikon tagging Nikon reports
Projects
None yet
Development

No branches or pull requests

2 participants