Hi Nipun,
Sorry, it's hard for me to know your '135576' from where and how it's obtained. The control.c is not for data streaming from SPI channel. The code in the file is for setting configuration and getting parameter to and from the camera via TWI channel.
Check out the post:
This is the basic set of code (for raspberry pi) that works for me. Please read the Lepton_thread.cpp file in it so you can see how to read the data stream from SPI and how to extract the raw pixel value from the data packet. I'll be glad to help you out.
There are too many examples in the user groups and github that could cause confusions... I asked and directly got reply from Lepton so that I can get more accurate info and compare to what the datasheet and app note show rather than making assumption from some of those observed by individual users.
Right now I'm working on the accuracy of the temperature reading. It's not simple.
Tom