--minor changes sts_cfg_nvm
This commit is contained in:
parent
66ee3a4ffc
commit
e408229c54
|
@ -68,19 +68,19 @@ volatile sts_cfg_nvm_t sts_cfg_nvm = {
|
|||
sts_mtmcode2,
|
||||
sts_version,
|
||||
sts_hardware_ver,
|
||||
0x01, //Regular TxPeriodicity interval
|
||||
'M', //unit of Regular TxPeriodicity interval
|
||||
0x3C, //Heart-beat interval or Sampling interval
|
||||
'M', //unit of Heart-beat interval or Sampling interval
|
||||
0x04, // dual mode
|
||||
0x00, // service mask
|
||||
0x00, // reserve01
|
||||
0x20, //32 bytes, below start of p[0]
|
||||
{ // *******************below 28 bytes
|
||||
0x08, //start_m [8]*0.1 meter =0.8
|
||||
0x19, //lenght_m 0x19=[25]*0.1=2.5f meter
|
||||
0x0F, //threshold 0X0F=[15]*0.1=1.5f
|
||||
0x28, //receiver gain 0x28 =[40]*0.01=0.40f max 99=0x63
|
||||
0x01, //Regular TxPeriodicity interval
|
||||
'M', //Uplink data interval unit, for heart-beat uplink
|
||||
0x3C, //Heart-beat interval or Sampling interval
|
||||
'M', //Sampling sensor interval unit, for real-time sensing of MEMS
|
||||
0x04, // dual mode=4, uni_mode =5
|
||||
0x00, // sts service mask
|
||||
0x00, //sts_ioc_mask
|
||||
0x20, //32 bytes, below start of p[0] 20 BYTES AND 12 BYTES FALL DOWN CFG
|
||||
{ // below 20 bytes
|
||||
0x08, //start_m [8]*0.1 meter =0.8
|
||||
0x19, //lenght_m 0x19=[25]*0.1=2.5f meter
|
||||
0x0F, //threshold 0X0F=[15]*0.1=1.5f
|
||||
0x28, //receiver gain 0x28 =[40]*0.01=0.40f max 99=0x63
|
||||
0x04, //profile [4]=4
|
||||
0x0A, //rate tracking 0x0A=10= 10U
|
||||
0x41, //rate presence 0x41=65= 65U
|
||||
|
@ -89,32 +89,32 @@ volatile sts_cfg_nvm_t sts_cfg_nvm = {
|
|||
0x05, //inter frame deviation time const 0x05=[5]*0.1=0.5f
|
||||
0x0A, //inter frame fast cutoff 0x0A=[10] = 10U
|
||||
0x01, //inter frame slow cutoff,0x01=1[1]*0.01=0.01f
|
||||
0x00, //intra frame time const [0]=0
|
||||
0x00, //intra frame weight, 0x00=[0]*0.1=0.0F
|
||||
0x00, ///intra frame time const [0]=0 Lower to reduce sensitivity, higher to increase sensitivity
|
||||
0x0A, //intra frame weight, 0x00=[0]*0.1=0.0F 0x0A=10, 10*0.1=1 FOR FAST MOVEMENT TRACKING FALL DETECTION
|
||||
0x05, //output time const 0x05=[5]*0.1=0.5
|
||||
0x02, //downsampling factor [2]=2
|
||||
0x03, //power saving mode ACTIVE [3] = 3U
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xFF, //reserve
|
||||
0xF, //reserve
|
||||
}, // ******************* above 28 bytes28 bytes
|
||||
// ******************* below 4 bytes
|
||||
0x00, //reserve --P[17]
|
||||
0x00, //reserve --P[18]
|
||||
0x00, //reserve --P[19]
|
||||
}, // above 20 bytes
|
||||
0x00, //reserve2
|
||||
0x00, //reserve3
|
||||
0x20, //sensor install height in 10 cm, default 32*10=320cm, 3.2meter
|
||||
|
||||
0x00, //reserve5 alarm_parameter05
|
||||
0x06, //reserve6 alarm_mute_or_reset_expire_timer_in_10sec, 60 seconds
|
||||
0x23, //reserve7 alarm Lamp Bar Flashing color define, 0x20, 2==STS_RED, 0 = STS_DARK, 0x23, 2=STS_RED, 3=STS_BLUE
|
||||
0x03, //reserve8 occupancy over time threshold 3*10 = 30 minutes
|
||||
|
||||
0x09, //reserve8 motionless_duration_threshold_in_min+1, normal: 10 min(0x0A) Minutes (2 min.) 1-9== 2-10min
|
||||
0x09, //unconscious threshold * 128, 0-9, 9*128=1280 motion level
|
||||
|
||||
0x01, //fall_detection_acc_threshold = *10 acceleration measure
|
||||
0x03, //fall detection_depth_threshold *10cm
|
||||
0x00, //reserve
|
||||
0x02, //occupancy over time threshold *10 minutes
|
||||
// ******************* ABOVE 4 bytes
|
||||
// below 20 bytes AC
|
||||
{0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0}
|
||||
|
||||
0x03, //falldown_confirm_threshold_in_10sec, 0x3=30 sec default
|
||||
// below 20 bytes for RFAC code
|
||||
{0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue