Hello,
I have again a little problem with the camera but I assume (and I hope!) you will find fastly the answer. I want to use the JPG format...
I have attached to this post a pdf document which describes the different commands and results that I get...
My problem is that I do not know when my data (corresponding to the JPEG image) begins.
For example, A jpg picture has to begin with FFD8FFE0 and finish with FFD9.
But I think all the bytes received by my camera are not useful for the image...
For each block, I delete the 4 first bytes and the last two bytes... But It does not work
I hope you will help me 
=>aa 0e 00 00 00 00
<=
00 00 fa 00 ff d8 ff e0 00 11 4a 46 49 46 00 01 ..ú.ÿØÿà..JFIF..02 03 04 05 06 07 08 09 0a ff db 00 43 00 10 0c .........ÿÛ.C...0c 0e 0c 0a 10 0e 0e 0e 12 12 10 14 18 28 1a 18 .............(..16 16 18 32 24 26 1e 28 3a 34 3e 3c 3a 34 38 38 ...2$&.(:4><:48840 48 5c 4e 40 44 58 46 38 38 50 6e 52 58 60 62 @H\[email protected]`b68 68 68 3e 4e 72 7a 70 64 78 5c 66 68 64 ff db hhh>Nrzpdx\fhdÿÛ00 43 01 12 12 12 16 16 16 30 1a 1a 30 64 42 38 .C.......0..0dB842 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 Bddddddddddddddd64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 dddddddddddddddd64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 dddddddddddddddd64 64 64 ff c4 00 1f 00 00 01 05 01 01 01 01 01 dddÿÄ...........01 00 00 00 00 00 00 00 00 01 02 03 04 05 06 07 ................08 09 0a 0b ff c4 00 b5 10 00 02 01 03 03 02 04 ....ÿÄ.μ........03 05 05 04 04 00 00 01 7d 01 02 03 00 04 11 05 ........}.......12 21 31 41 06 13 51 61 07 22 71 14 32 81 91 a1 .!1A..Qa."q.2ı‘¡08 23 42 b1 c1 15 52 d1 f0 24 33 62 72 82 bb 00 .#B±Á.RÑð$3br‚».
I have again a little problem with the camera but I assume (and I hope!) you will find fastly the answer. I want to use the JPG format...
I have attached to this post a pdf document which describes the different commands and results that I get...
My problem is that I do not know when my data (corresponding to the JPEG image) begins.
For example, A jpg picture has to begin with FFD8FFE0 and finish with FFD9.
But I think all the bytes received by my camera are not useful for the image...
For each block, I delete the 4 first bytes and the last two bytes... But It does not work


=>aa 0e 00 00 00 00
<=
00 00 fa 00 ff d8 ff e0 00 11 4a 46 49 46 00 01 ..ú.ÿØÿà..JFIF..02 03 04 05 06 07 08 09 0a ff db 00 43 00 10 0c .........ÿÛ.C...0c 0e 0c 0a 10 0e 0e 0e 12 12 10 14 18 28 1a 18 .............(..16 16 18 32 24 26 1e 28 3a 34 3e 3c 3a 34 38 38 ...2$&.(:4><:48840 48 5c 4e 40 44 58 46 38 38 50 6e 52 58 60 62 @H\[email protected]`b68 68 68 3e 4e 72 7a 70 64 78 5c 66 68 64 ff db hhh>Nrzpdx\fhdÿÛ00 43 01 12 12 12 16 16 16 30 1a 1a 30 64 42 38 .C.......0..0dB842 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 Bddddddddddddddd64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 dddddddddddddddd64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 dddddddddddddddd64 64 64 ff c4 00 1f 00 00 01 05 01 01 01 01 01 dddÿÄ...........01 00 00 00 00 00 00 00 00 01 02 03 04 05 06 07 ................08 09 0a 0b ff c4 00 b5 10 00 02 01 03 03 02 04 ....ÿÄ.μ........03 05 05 04 04 00 00 01 7d 01 02 03 00 04 11 05 ........}.......12 21 31 41 06 13 51 61 07 22 71 14 32 81 91 a1 .!1A..Qa."q.2ı‘¡08 23 42 b1 c1 15 52 d1 f0 24 33 62 72 82 bb 00 .#B±Á.RÑð$3br‚».
Comment