summaryrefslogtreecommitdiff
path: root/camera.h
AgeCommit message (Collapse)Author
2018-04-06Make serial device configurableNick Van Doorn
2018-03-06Use chromium clang formatNick Van Doorn
2017-12-21Increase buff and block size and update prototypesNick Van Doorn
2017-12-13Update header file for new namesNick Van Doorn
2017-12-12Update APINick Van Doorn
2017-12-12Add debug statements & rename io helpersNick Van Doorn
2017-12-04Rename serial definesNick Van Doorn
2017-12-04Attempt to fix I/ONick Van Doorn
There is a gross segfault... but only when it timesout for some reason.
2017-12-01Fix sizeof args bug & cleanupNick Van Doorn
Turns out uint8_t is passed by reference by default since it's just a typedef for char. As a result the length of args cannot be computed in runCommand. The caller is now responsible for computing the number of args and then passing them to runCommand openCameraFd now returns the result and writes the file descriptor in the fd pointer. Fix an inverted if statement in runComamnd Fix inverted read logic in snapShotToFile function
2017-11-10Set methods as shared and lower timeoutNick Van Doorn
Thanks to @dpfrey for the excellent support resolving our build issues related to this file
2017-11-09Code review bug fixesNick Van Doorn
2017-11-09Remove confusing typedefNick Van Doorn
2017-11-05Implement method to write snapshot to fileNick Van Doorn
Mostly lifted from here https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/tree/master/examples/Snapshot
2017-11-03Implement all methods suported on the VC0706Nick Van Doorn
Most of this is ported directly from the Adafruit repo with some small changes Still lots of magic numbers floating around that I would like to squash but I'm not sure if there is really any point.
2017-11-02Fix argsNick Van Doorn
2017-11-02Initial commitNick Van Doorn