Appiko
|
Strcture for Operation time. More...
#include <sensepi_ble.h>
Data Fields | |
uint8_t | day_or_night: 1 |
uint8_t | threshold: 7 |
oper_time_t | oper_time |
uint32_t | mode |
uint8_t | amplification |
uint16_t | intr_trig_timer |
uint16_t | timer_interval |
trigger_conf_t | trig_conf |
pir_conf_t | pir_conf |
timer_conf_t | timer_conf |
uint8_t | pre_focus: 1 |
uint8_t | mode: 7 |
uint16_t | detect_window |
cam_oper_t | cam_trigs [MAX_TRIGGERS] |
device_speed_t | speed |
tssp_conf_t | tssp_conf |
uint8_t | is_enable: 1 |
uint8_t | ir_tx_speed: 2 |
To decide the time between 2 signals for IR transmitter. @TIME 0 5ms\ 1 25ms\ 2 50ms\ 3 100ms. | |
uint8_t | ir_tx_pwr: 2 |
ir_tx_conf_t | ir_tx_conf |
uint8_t | log_id |
uint8_t | log_page_no |
uint16_t | data_size |
uint8_t | prod_code [2] |
uint8_t | prod_rev [2] |
Two numbers (0 to 99) for hardware revision. | |
uint8_t | factory_code [2] |
uint8_t | year [2] |
Last two digits of the year of manufacturing. | |
uint8_t | month [2] |
Month of manufacturing. | |
uint8_t | day [2] |
Day of manufacturing. | |
uint8_t | serial_no [4] |
Strcture to configure TSSP sensing.
Structure to control camera operations.
Strcture which is used for data transfer over BLE.
Structure to configure Timer triggering.
Strcture to configure PIR sensing.
Device ID format specification. All values are in ASCII.
Firmware version number format as per specification at semver.org
Definition at line 38 of file sensepi_ble.h.
uint8_t __attribute__::amplification |
In pir_Conf: Amplification of the PIR signal amplifier.
Definition at line 107 of file sensepi_ble.h.
cam_oper_t __attribute__::cam_trigs |
Array of all the possible triggers
Definition at line 175 of file sensebe_ble.h.
uint16_t __attribute__::data_size |
1Byte : data_size
Definition at line 76 of file nvm_logger.c.
uint8_t __attribute__::day_or_night |
Definition at line 65 of file sensepi_ble.h.
uint16_t __attribute__::detect_window |
In tssp_Conf: Detection window duration in resolution of 100ms.
Definition at line 151 of file sensebe_ble.h.
uint8_t __attribute__::factory_code[2] |
Factory code (0 to 99) "00" for Jaaga "01" for Lion Circuits
Definition at line 49 of file dev_id_fw_ver.h.
uint16_t __attribute__::intr_trig_timer |
In pir_Conf: Time between triggers by a PIR in s (with a resolution of 0.1s).
In tssp_Conf: Time between triggers by a TSSP window detect in s (with a resolution of 0.1s).
Definition at line 109 of file sensepi_ble.h.
ir_tx_conf_t __attribute__::ir_tx_conf |
In sensebe_conf: IR transmitter Configuration
Definition at line 192 of file sensebe_ble.h.
uint8_t __attribute__::ir_tx_pwr |
@breif To decide the transmission power for IR transmitter. @POWER 0 Low\ 1 Mid\ 2,3 High\
Definition at line 175 of file sensebe_ble.h.
uint8_t __attribute__::is_enable |
To decide if IR transmitter should be Enabled
Definition at line 158 of file sensebe_ble.h.
uint8_t __attribute__::log_id |
1Byte : LOG_ID
Definition at line 72 of file nvm_logger.c.
uint8_t __attribute__::log_page_no |
1Byte : log_page_no
Definition at line 74 of file nvm_logger.c.
uint8_t __attribute__::mode |
MODE DATA FORMAT:
31 (bits) 24 | 23 (bits) 8 | 7 (bits) 0 |
---|---|---|
Smaller Value | Larger value | Mode |
1 Byte | 2 Bytes | 1 Byte |
Modes:
Mode 0 : Single Shot
Larger Value : –
Smaller Value : –
Mode 1 : Multishot Burst
Larger Value : Time between 2 shots in s (with a resolution of 0.1s). min = 0.5s, max = 60s, unit of (32000/32768) ms
Smaller Value : Number of shots. min = 2, max = 255
Mode 2 : Bulb Exposure
Smaller + Larger Value : Time for exposure in s (with a resolution of 0.1s) min = 0.5s, max = (2^24-1), unit of (32000/32768) ms
Mode 3 : Video
Larger Value : Duration of video in sec; min = 1s, max = 10000s
Smaller Value : Extentation in sec; min = 1s, max = 250s
Mode 4 : Set focus
Larger Value : –
Smaller Value : –
Definition at line 102 of file sensepi_ble.h.
uint8_t __attribute__::mode |
MODE DATA FORMAT:
31 (bits) 24 | 23 (bits) 8 | 7 (bits) 0 |
---|---|---|
Smaller Value | Larger value | Mode |
1 Byte | 2 Bytes | 1 Byte |
Modes:
Mode 0 : Single Shot
Larger Value : –
Smaller Value : –
Mode 1 : Multishot Burst
Larger Value : Time between 2 shots in s (with a resolution of 0.1s). min = 0.5s, max = 60s, unit of (32000/32768) ms
Smaller Value : Number of shots. min = 2, max = 255
Mode 2 : Bulb Exposure
Smaller + Larger Value : Time for exposure in s (with a resolution of 0.1s) min = 0.5s, max = (2^24-1), unit of (32000/32768) ms
Mode 3 : Video
Larger Value : Duration of video in sec; min = 1s, max = 10000s
Smaller Value : Extentation in sec; min = 1s, max = 250s
Mode 4 : Set focus
Larger Value : –
Smaller Value : –
Definition at line 114 of file sensebe_ble.h.
oper_time_t __attribute__::oper_time |
To decide in which light condition PIR should operate.
To decide in which light condition TSSP should operate.
To decide in which light condition timer should operate.
To decide in which light condition IR transmitter should operate.
Definition at line 76 of file sensepi_ble.h.
pir_conf_t __attribute__::pir_conf |
In sensepi_conf: PIR Configuration
Definition at line 131 of file sensepi_ble.h.
uint8_t __attribute__::pre_focus |
To decide if pre_focus pulse of 1.5 sec is required or not
Definition at line 88 of file sensebe_ble.h.
uint8_t __attribute__::prod_code[2] |
Two characters "SP" for SensePi "SB" for SenseBe
Definition at line 43 of file dev_id_fw_ver.h.
uint8_t __attribute__::serial_no[4] |
Serial number of the board being manufactured on that particular day (0000 to 9999)
Definition at line 58 of file dev_id_fw_ver.h.
device_speed_t __attribute__::speed |
In sensebe_conf: Device Spped
Definition at line 177 of file sensebe_ble.h.
uint8_t __attribute__::threshold |
In Oper_Time: Threshold for light intensity.
In pir_Conf: The threshold for PIR sensing is a 11 bit value, so this value needs to be multiplied by 8 and used as the threshold.
Definition at line 67 of file sensepi_ble.h.
timer_conf_t __attribute__::timer_conf |
In sensepi_conf: Time configuration
In sensebe_conf: Timer Configuration
Definition at line 133 of file sensepi_ble.h.
uint16_t __attribute__::timer_interval |
In timer_conf: Interval between two triggers.
Definition at line 118 of file sensepi_ble.h.
trigger_conf_t __attribute__::trig_conf |
In sensepi_conf: Mode of operation
In sensebe_conf: Mode of operation
Definition at line 129 of file sensepi_ble.h.
tssp_conf_t __attribute__::tssp_conf |
In sensebe_conf: TSSP Configuration
Definition at line 179 of file sensebe_ble.h.