I can get camera info from get_buildinfo, but how do I get what lens is attached?
w = call_event_proc("EFLensCom.GetID")
My problem is I don't know if the above calls are enabled or need addition parameters.
$ ./discam2.sh m3 120f -s=ShowEFLensInfo_FW -c=100 ; ShowEFLensInfo_FW 0xfc43e9af push {r1, r2, r3, lr} adr r0, #0xa0 bl sub_fc38010c adr r0, #0x364 ; *"[LENS INFO] =============================================\n" bl sub_fc38010c bl sub_fc2cc5ea mov r1, r0 adr r0, #0x394 ; *"LensID = 0x%04X\n" bl sub_fc38010c add r1, sp, #4 add r0, sp, #8 bl sub_fc2f3fd4 ldrb.w r2, [sp, #4] adr r0, #0x39c ; *"LENS NAME: %s (Size: %ld Byte)\n" ldr r1, [sp, #8] bl sub_fc38010c bl sub_fc2cc5de mov r1, r0 adr r0, #0x3b0 ; *"Wide FocalLength = %ld mm\n" bl sub_fc38010c bl sub_fc2cc5e4 mov r1, r0 adr r0, #0x3c0 ; *"Tele FocalLength = %ld mm\n"
First, once again thanks for the insight and education.
I would be grateful for any lua code you can throw my way that allows me to access the lens name or a lens unique Id, as I need to adjust my script according to the lens that is connected.
I did get -1, but didn't know where to go next.
Started by hudson DSLR Hack development
Started by leedsgreen Script Writing
Started by Dune Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by dvip General Discussion and Assistance
Started by fvfvfv Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)