Changeset 10685 for ossiedev/branches/jgaeddert/0.8.0/components
- Timestamp:
- 04/15/11 16:20:25 (2 years ago)
- Location:
- ossiedev/branches/jgaeddert/0.8.0/components
- Files:
-
- 2 modified
-
src/FrameSync64.cpp (modified) (1 diff)
-
xml/FrameSync64.prf.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jgaeddert/0.8.0/components/src/FrameSync64.cpp
r10089 r10685 159 159 std::cout << "props length : " << props.length() << std::endl; 160 160 161 for ( unsigned int i = 0; i <props.length(); i++) 162 { 161 for ( unsigned int i = 0; i <props.length(); i++) { 163 162 std::cout << "Property id : " << props[i].id << std::endl; 164 163 165 164 if (strcmp(props[i].id, "DCE:0a3620cc-0aa1-11df-baab-001aa089d644") == 0) { 166 165 // verbose 167 CORBA::Boolean tmp; 168 props[i].value >>= tmp; 169 verbose = tmp; 166 props[i].value >>= verbose; 167 } else if (strcmp(props[i].id, "DCE:5b2083b8-fac1-4ed9-becf-80ca7ab08329") == 0) { 168 // squelch_enabled 169 CORBA::Boolean simple_tmp; 170 props[i].value >>= simple_tmp; 171 fsprops.squelch_enabled = (simple_tmp == false) ? 0 : 1; 172 framesync64_setprops(fs,&fsprops); 173 } else if (strcmp(props[i].id, "DCE:f6729dae-185f-4438-9202-6adaff95e20e") == 0) { 174 // squelch_threshold 175 props[i].value >>= fsprops.squelch_threshold; 176 framesync64_setprops(fs,&fsprops); 177 } else { 178 fprintf(stderr,"error: FrameSync64::configure(), invalid property\n"); 179 throw (0); 170 180 } 171 181 } -
ossiedev/branches/jgaeddert/0.8.0/components/xml/FrameSync64.prf.xml
r10052 r10685 5 5 <properties> 6 6 <description>These are the properties to configure the device manager</description> 7 7 8 <simple id="DCE:0a3620cc-0aa1-11df-baab-001aa089d644" mode="readwrite" name="verbose" type="boolean"> 8 9 <value>0</value> … … 10 11 <kind kindtype="configure"/> 11 12 </simple> 13 14 <simple id="DCE:5b2083b8-fac1-4ed9-becf-80ca7ab08329" mode="readwrite" name="squelch_enabled" type="boolean"> 15 <value>1</value> 16 <description>enable/disable squelch control (ignore signals below threshold)</description> 17 <kind kindtype="configure"/> 18 </simple> 19 20 <simple id="DCE:f6729dae-185f-4438-9202-6adaff95e20e" mode="readwrite" name="squelch_threshold" type="float"> 21 <value>-30.0</value> 22 <description>AGC squelch threshold (noise floor) in dB</description> 23 <kind kindtype="configure"/> 24 </simple> 12 25 </properties>