Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-28 | Import serial routines from utilHEADmaster | Nick Van Doorn | |
2018-04-06 | Make serial device configurable | Nick Van Doorn | |
2018-03-06 | Use chromium clang format | Nick Van Doorn | |
2018-02-09 | 1.0.3 | Nick Van Doorn | |
2018-02-09 | Clean up operators & comment on perf improvement | Nick Van Doorn | |
2018-02-09 | Remove un-used definition blocks | Nick Van Doorn | |
2017-12-30 | Fix log write percentage log message | Nick Van Doorn | |
2017-12-27 | Update readme for 1.0.1 | Nick Van Doorn | |
2017-12-27 | Add const qualifiers to readme | Nick Van Doorn | |
2017-12-27 | Fix progress computation | Nick Van Doorn | |
2017-12-21 | Increase buff and block size and update prototypes | Nick Van Doorn | |
2017-12-21 | Fix write progress, return photo path & resume vid | Nick Van Doorn | |
2017-12-13 | Update readme for 1.0.0 with sample code | Nick Van Doorn | |
2017-12-13 | Add example app | Nick Van Doorn | |
2017-12-13 | Update header file for new names | Nick Van Doorn | |
2017-12-13 | Log feedback when writing image data | Nick Van Doorn | |
2017-12-13 | Use system serial calls and cleanup | Nick Van Doorn | |
The issues related to reading photos are a result of an issue in the Legato le_tty interface. Opening a serial connection using all system calls solves this problem nicely. Thanks to wiringPi for providing some code for this. All the log statements are cleaned up. The stream functions could use some feedback to let the developer know things are still alive. There are also doc comments for each function except some of the motion detection stuff that I have not quite figured out yet. | |||
2017-12-12 | Remove un-needed return | Nick Van Doorn | |
2017-12-12 | Update API | Nick Van Doorn | |
2017-12-12 | Refactor serial helpers to make resets easier | Nick Van Doorn | |
We were experience issues where the readPicture command would become unresponsive after exactly 10 reads 32 bytes in size. We were able to "solve" this by simply closing and re-opening the serial connection file descriptor after reading a block. This may be a limitation in the le_tty interface meaning it may be worth implementing this using only Linux system calls (e.g open et al). The sendCommand function now pays attention to the return status of the calls to fd helpers. | |||
2017-12-12 | Add debug statements & rename io helpers | Nick Van Doorn | |
2017-12-04 | Rename serial defines | Nick Van Doorn | |
2017-12-04 | Fix segfault and refactor I/O functions | Nick Van Doorn | |
Seg fault was caused by attemtping to write a NULL pointer. The pointer is now checked before writing and will fail gracefully. | |||
2017-12-04 | Update API | Nick Van Doorn | |
2017-12-04 | Update license and readme to give proper credit | Nick Van Doorn | |
2017-12-04 | Attempt to fix I/O | Nick Van Doorn | |
There is a gross segfault... but only when it timesout for some reason. | |||
2017-12-01 | Fix sizeof args bug & cleanup | Nick 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-10 | Update readme for new prototypes | Nick Van Doorn | |
2017-11-10 | Set methods as shared and lower timeout | Nick Van Doorn | |
Thanks to @dpfrey for the excellent support resolving our build issues related to this file | |||
2017-11-10 | Fix I/O related issues | Nick Van Doorn | |
1. Put the serial connection in 'raw mode' 2. Use the write and read calls properly 3. Add support for flushing the buffer | |||
2017-11-09 | Code review bug fixes | Nick Van Doorn | |
2017-11-09 | Re-add component init method | Nick Van Doorn | |
2017-11-09 | Remove confusing typedef | Nick Van Doorn | |
2017-11-06 | Pass pointer to first element of buff | Nick Van Doorn | |
I think this is correct... | |||
2017-11-05 | Implement method to write snapshot to file | Nick Van Doorn | |
Mostly lifted from here https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/tree/master/examples/Snapshot | |||
2017-11-05 | Add component init stub | Nick Van Doorn | |
2017-11-03 | Strip out test code | Nick Van Doorn | |
These function should be called from a seperate component which I may or may not include in this repository | |||
2017-11-03 | Implement all methods suported on the VC0706 | Nick 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-02 | Fix args | Nick Van Doorn | |
2017-11-02 | Fix spacing | Nick Van Doorn | |
2017-11-02 | Merge branch 'master' of https://github.com/brnkl/VC0706-cam-lib-legato | Nick Van Doorn | |
2017-11-04 | Initial commit | Nicholas Van Doorn | |
2017-11-02 | Initial commit | Nick Van Doorn | |