#include <stdint.h>
Go to the source code of this file.
◆ CAM_BYTES_TO_RECEIVE_PER_HALF_CALLBACK
◆ CAM_SENTENCE_LEN
#define CAM_SENTENCE_LEN 67 |
◆ CAM_SENTENCES_PER_HALF_CALLBACK
#define CAM_SENTENCES_PER_HALF_CALLBACK 250 |
◆ CAM_capture_status_enum
◆ CAM_capture_status_enum
Enumerator |
---|
CAM_CAPTURE_STATUS_TRANSMIT_SUCCESS | |
CAM_CAPTURE_STATUS_WRONG_INPUT | |
CAM_CAPTURE_STATUS_LFS_NOT_MOUNTED | |
CAM_CAPTURE_STATUS_LFS_FAILED_OPENING_CREATING_FILE | |
CAM_CAPTURE_STATUS_LFS_FAILED_WRITING_HEADER | |
CAM_CAPTURE_STATUS_FAILED_TRANSMITTING_LIGHTING_MODE | |
CAM_CAPTURE_STATUS_LFS_FAILED_CLOSING_FILE | |
CAM_CAPTURE_STATUS_CAPTURE_FAILURE | |
◆ CAM_capture_image()
Capture an image, writing to a file in LFS.
- Parameters
-
filename_str | The name of the file to write to. |
lighting_mode | Should be a lower-case char d - daylight ambient light m - medium ambient light n - night ambient light s - solar sail contrast and light |
- Returns
- 0: Successfully captured image, more than 0, error occurred
- Note
- This function does not validate that the camera is connected or powered on.
◆ CAM_repeated_error_log_message()
void CAM_repeated_error_log_message |
( |
| ) |
|