# Focus messages ## Control (from Body to Lens) Sample message: ``` f01600017904 00001983000066000000410000 d70155 ``` | Byte | meaning | | ---- | ------- | | 4 | auto or manual focus switch: 81 = MF, 83 = AF | 7 | d6 when in DMF and focusing, else 66 | | 10 | 80 when autofocus, else 00 | | 11 | 09 when in DMF and manually focusing, 01 normally, 41 autofocus active | | ... | ??? | ## Autofocus sample message: ``` f02700018004 000019830000660000804100002f090a1f 020283 848345f2 3e7f53030000 a80655 ``` | Byte | meaning | | ---- | ------- | | 18 | controls if focusing in or out | | 21 | focus speed range 81-88 | ## Electronic manual focus sample message: ``` f01e00012c04 00001983000066000000410000 2f00001d37440040 990255 ``` | Byte | meaning | | ---- | ------- | | 18-19 | sets focus point in steps as reported from lens | ## Info (from Lens to Body) Sample message: ``` f03000014506 0204db49000010f23ed74bd5000c0000000000007b4a00008a0000000000000019131416141515 cc0655 ``` | Byte | meaning | range / note | | ---- | ------- | ----- | | 1 | limit flags | normal 02, 0A bottom limit, 12 top limit | | 2 | focus speed?? | | | 3-4 | focus pos | closest: d74b, furthest: f43e | | ... | ??? | | minpos: ``` f0 3000 01 47 06 0a 00 d74b 000010f23ed74bd5000c000000000000d24b00408a0000000000000000000000000000d40655 ``` maxpos: ``` f0 3000 01 b7 06 12 00 f43e 000010f43ed54bd5000b000000000000f43e00408a0000000000000000000000000000700755 ```