NRF8002/examplexml: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: „<code> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE nRF8002Configuration> <nRF8002Configuration Version="1.0"> <GeneralData> <Data> …“)
 
 
Zeile 1: Zeile 1:
<code>
+
 
<?xml version="1.0" encoding="UTF-8"?>
+
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nRF8002Configuration>
+
<!DOCTYPE nRF8002Configuration>
<nRF8002Configuration Version="1.0">
+
<nRF8002Configuration Version="1.0">
 
     <GeneralData>
 
     <GeneralData>
 
         <Data>
 
         <Data>
Zeile 454: Zeile 454:
 
         <AdvertisingInterval>1280</AdvertisingInterval>
 
         <AdvertisingInterval>1280</AdvertisingInterval>
 
     </CurrentInput>
 
     </CurrentInput>
</nRF8002Configuration>
+
</nRF8002Configuration>
</code>
 

Aktuelle Version vom 8. März 2013, 17:54 Uhr

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nRF8002Configuration>
<nRF8002Configuration Version="1.0">
   <GeneralData>
       
           <localName>Everfind1</localName>
           <deviceApperance>FFFE</deviceApperance>
           <bondingFastAdvertisement>40.62</bondingFastAdvertisement>
           <connectingFastAdvertisement>40.62</connectingFastAdvertisement>
           <connectingFastAdvertisementTimeout>40</connectingFastAdvertisementTimeout>
           <connectingSlowAdvertisement>1280</connectingSlowAdvertisement>
           <connectedConnectionIntervalMin>500</connectedConnectionIntervalMin>
           <connectedConnectionIntervalMax>1000</connectedConnectionIntervalMax>
           <connectedSlaveLatency>0</connectedSlaveLatency>
           <connectedConnectionTimeout>6000</connectedConnectionTimeout>
           <deviceManufacturerName>Starnberger I&T GmbH</deviceManufacturerName>
           <deviceModelNumber>SIT-BT-LE</deviceModelNumber>
           <deviceSoftwareRevision>1.0</deviceSoftwareRevision>
           <battery80Percent>2.4</battery80Percent>
           <battery60Percent>2.35</battery60Percent>
           <battery40Percent>2.25</battery40Percent>
           <battery20Percent>2.2</battery20Percent>
           <toBondingInput>4</toBondingInput>
           <toConnectingInput>2</toConnectingInput>
           <toMute>101</toMute>
           <toSleepInput>3</toSleepInput>
           <shortTime>1000</shortTime>
           <mediumTime>3600</mediumTime>
           <resetPin1>0</resetPin1>
           <resetPin2>0</resetPin2>
           <resetPin3>0</resetPin3>
           <resetPWM>0</resetPWM>
           <txPower>3</txPower>
           <disableWhitelist>0</disableWhitelist>
           <securityRequest>0</securityRequest>
           <resultingTxPower>0 dbm</resultingTxPower>
           <muteOutputpin1enabled>false</muteOutputpin1enabled>
           <muteOutputpin2enabled>false</muteOutputpin2enabled>
           <muteOutputpin3enabled>false</muteOutputpin3enabled>
           <muteOutputpwmenabled>true</muteOutputpwmenabled>
           <muteOutputoutputpolarity1>1</muteOutputoutputpolarity1>
           <muteOutputoutputpolarity2>1</muteOutputoutputpolarity2>
           <muteOutputoutputpolarity3>1</muteOutputoutputpolarity3>
           <muteOutputoutputpolaritypwm>1</muteOutputoutputpolaritypwm>
           <muteOutputoutputpatternPin1>0</muteOutputoutputpatternPin1>
           <muteOutputoutputpatternPin2>0</muteOutputoutputpatternPin2>
           <muteOutputoutputpatternPin3>0</muteOutputoutputpatternPin3>
           <muteOutputoutputpatternPWM>0</muteOutputoutputpatternPWM>
       
   </GeneralData>
   <OutputPatternList>
       <OutputPattern Index="0">
           <patternName>Fixed output</patternName>
           <patternType>1</patternType>
           <t1>50</t1>
           <t2>0</t2>
           <trainCount>1</trainCount>
           <sleepTime>1</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>490.2</pwmFrequency>
           <enabled>false</enabled>
       </OutputPattern>
       <OutputPattern Index="1">
           <patternName>Blink every sec</patternName>
           <patternType>0</patternType>
           <t1>1</t1>
           <t2>1</t2>
           <trainCount>1</trainCount>
           <sleepTime>2</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>true</pulseForever>
           <pulseTrainForever>true</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="2">
           <patternName>Blink every 4th sec</patternName>
           <patternType>0</patternType>
           <t1>1</t1>
           <t2>3</t2>
           <trainCount>1</trainCount>
           <sleepTime>6</sleepTime>
           <pulseRepeat>2</pulseRepeat>
           <pulseForever>true</pulseForever>
           <pulseTrainForever>true</pulseTrainForever>
           <pwmFrequency>490.2</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="3">
           <patternName>Blink short every 7th sec</patternName>
           <patternType>1</patternType>
           <t1>50</t1>
           <t2>50</t2>
           <trainCount>1</trainCount>
           <sleepTime>7</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>true</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="4">
           <patternName>5 long beeps</patternName>
           <patternType>1</patternType>
           <t1>1500</t1>
           <t2>500</t2>
           <trainCount>5</trainCount>
           <sleepTime>11</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="5">
           <patternName>3 short beeps</patternName>
           <patternType>1</patternType>
           <t1>300</t1>
           <t2>500</t2>
           <trainCount>3</trainCount>
           <sleepTime>4</sleepTime>
           <pulseRepeat>2</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="6">
           <patternName>3 blinks, 500 ms on, 300ms off</patternName>
           <patternType>1</patternType>
           <t1>500</t1>
           <t2>300</t2>
           <trainCount>4</trainCount>
           <sleepTime>5</sleepTime>
           <pulseRepeat>2</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>3968.25</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="7">
           <patternName>One 100 ms beep</patternName>
           <patternType>1</patternType>
           <t1>100</t1>
           <t2>100</t2>
           <trainCount>1</trainCount>
           <sleepTime>1</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>3174.6</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="8">
           <patternName>2 100ms beep</patternName>
           <patternType>1</patternType>
           <t1>100</t1>
           <t2>100</t2>
           <trainCount>2</trainCount>
           <sleepTime>1</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>3968.25</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="9">
           <patternName>5 blinks, 300 ms on, 200 ms off</patternName>
           <patternType>1</patternType>
           <t1>300</t1>
           <t2>200</t2>
           <trainCount>5</trainCount>
           <sleepTime>3</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="10">
           <patternName>3 blink, 200 ms on 500 ms off</patternName>
           <patternType>1</patternType>
           <t1>200</t1>
           <t2>500</t2>
           <trainCount>3</trainCount>
           <sleepTime>8</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
       <OutputPattern Index="11">
           <patternName>1 blink, 50 ms</patternName>
           <patternType>1</patternType>
           <t1>50</t1>
           <t2>4000</t2>
           <trainCount>1</trainCount>
           <sleepTime>5</sleepTime>
           <pulseRepeat>1</pulseRepeat>
           <pulseForever>false</pulseForever>
           <pulseTrainForever>false</pulseTrainForever>
           <pwmFrequency>4032.26</pwmFrequency>
       </OutputPattern>
   </OutputPatternList>
   <InputPatterns>
       <InputPattern Index="0">
           <shortTime>50</shortTime>
           <mediumTime>150</mediumTime>
           <polarity>0</polarity>
           <wakeupsource>true</wakeupsource>
           <mediumpin1enabled>false</mediumpin1enabled>
           <mediumpin2enabled>false</mediumpin2enabled>
           <mediumpin3enabled>false</mediumpin3enabled>
           <mediumpwmenabled>true</mediumpwmenabled>
           <mediumoutputpolarity1>0</mediumoutputpolarity1>
           <mediumoutputpolarity2>0</mediumoutputpolarity2>
           <mediumoutputpolarity3>0</mediumoutputpolarity3>
           <mediumoutputpolaritypwm>0</mediumoutputpolaritypwm>
           <mediumoutputpatternPin1>0</mediumoutputpatternPin1>
           <mediumoutputpatternPin2>0</mediumoutputpatternPin2>
           <mediumoutputpatternPin3>0</mediumoutputpatternPin3>
           <mediumoutputpatternPWM>7</mediumoutputpatternPWM>
           <longpin1enabled>false</longpin1enabled>
           <longpin2enabled>false</longpin2enabled>
           <longpin3enabled>false</longpin3enabled>
           <longpwmenabled>true</longpwmenabled>
           <longoutputpolarity1>0</longoutputpolarity1>
           <longoutputpolarity2>0</longoutputpolarity2>
           <longoutputpolarity3>0</longoutputpolarity3>
           <longoutputpolaritypwm>0</longoutputpolaritypwm>
           <longoutputpatternPin1>0</longoutputpatternPin1>
           <longoutputpatternPin2>0</longoutputpatternPin2>
           <longoutputpatternPin3>0</longoutputpatternPin3>
           <longoutputpatternPWM>8</longoutputpatternPWM>
       </InputPattern>
       <InputPattern Index="1">
           <shortTime>100</shortTime>
           <mediumTime>200</mediumTime>
           <polarity>0</polarity>
           <wakeupsource>false</wakeupsource>
           <mediumpin1enabled>false</mediumpin1enabled>
           <mediumpin2enabled>false</mediumpin2enabled>
           <mediumpin3enabled>false</mediumpin3enabled>
           <mediumpwmenabled>true</mediumpwmenabled>
           <mediumoutputpolarity1>0</mediumoutputpolarity1>
           <mediumoutputpolarity2>0</mediumoutputpolarity2>
           <mediumoutputpolarity3>0</mediumoutputpolarity3>
           <mediumoutputpolaritypwm>0</mediumoutputpolaritypwm>
           <mediumoutputpatternPin1>0</mediumoutputpatternPin1>
           <mediumoutputpatternPin2>0</mediumoutputpatternPin2>
           <mediumoutputpatternPin3>0</mediumoutputpatternPin3>
           <mediumoutputpatternPWM>7</mediumoutputpatternPWM>
           <longpin1enabled>false</longpin1enabled>
           <longpin2enabled>false</longpin2enabled>
           <longpin3enabled>false</longpin3enabled>
           <longpwmenabled>true</longpwmenabled>
           <longoutputpolarity1>0</longoutputpolarity1>
           <longoutputpolarity2>0</longoutputpolarity2>
           <longoutputpolarity3>0</longoutputpolarity3>
           <longoutputpolaritypwm>0</longoutputpolaritypwm>
           <longoutputpatternPin1>0</longoutputpatternPin1>
           <longoutputpatternPin2>0</longoutputpatternPin2>
           <longoutputpatternPin3>0</longoutputpatternPin3>
           <longoutputpatternPWM>8</longoutputpatternPWM>
       </InputPattern>
   </InputPatterns>
   <OutputSettings>
       <OutputInState State="StateSleep">
           <outputpolarity1>1</outputpolarity1>
           <outputpolarity2>1</outputpolarity2>
           <outputPin1>0</outputPin1>
           <outputPin2>3</outputPin2>
           <outputpattern>0</outputpattern>
           <pin1enabled>true</pin1enabled>
           <pin2enabled>true</pin2enabled>
           <pin3enabled>true</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity3>1</outputpolarity3>
           <outputpolaritypwm>1</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>0</outputpatternPWM>
       </OutputInState>
       <OutputInState State="StateBonding">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>1</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>7</outputpatternPWM>
       </OutputInState>
       <OutputInState State="StateConnecting">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>2</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>8</outputpatternPWM>
       </OutputInState>
       <OutputInState State="StateConnected">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>3</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>5</outputpatternPWM>
       </OutputInState>
   </OutputSettings>
   <AlertOutputs>
       <AlertOutput outputlevel="Off">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>1</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>0</outputpatternPWM>
       </AlertOutput>
       <AlertOutput outputlevel="Mild">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>5</outputpatternPWM>
       </AlertOutput>
       <AlertOutput outputlevel="High">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>4</outputpatternPWM>
       </AlertOutput>
   </AlertOutputs>
   <LinkLossOutputs>
       <LinkLossOutput outputlevel="Mild">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>5</outputpatternPWM>
       </LinkLossOutput>
       <LinkLossOutput outputlevel="High">
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>0</outputpatternPin3>
           <outputpatternPWM>4</outputpatternPWM>
       </LinkLossOutput>
   </LinkLossOutputs>
   <ImmediateAlerts>
       <ImmediateAlert outputlevel="Off">
           <immediateAlertOff>102</immediateAlertOff>
       </ImmediateAlert>
       <ImmediateAlert outputlevel="Mild">
           <immediateAlertMild>103</immediateAlertMild>
       </ImmediateAlert>
       <ImmediateAlert outputlevel="High">
           <immediateAlertHigh>104</immediateAlertHigh>
       </ImmediateAlert>
   </ImmediateAlerts>
   <AlertNotifications>
       <Notification Index="0">
           <flags>32</flags>
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>9</outputpatternPin3>
           <outputpatternPWM>5</outputpatternPWM>
       </Notification>
       <Notification Index="1">
           <flags>8</flags>
           <pin1enabled>false</pin1enabled>
           <pin2enabled>false</pin2enabled>
           <pin3enabled>false</pin3enabled>
           <pwmenabled>true</pwmenabled>
           <outputpolarity1>0</outputpolarity1>
           <outputpolarity2>0</outputpolarity2>
           <outputpolarity3>0</outputpolarity3>
           <outputpolaritypwm>0</outputpolaritypwm>
           <outputpatternPin1>0</outputpatternPin1>
           <outputpatternPin2>0</outputpatternPin2>
           <outputpatternPin3>10</outputpatternPin3>
           <outputpatternPWM>4</outputpatternPWM>
       </Notification>
       <Notification Index="2"/>
       <Notification Index="3"/>
   </AlertNotifications>
   <BatteryOutputs>
       <BatteryOutput batterylevel="Battery100Percent"/>
       <BatteryOutput batterylevel="Battery80Percent"/>
       <BatteryOutput batterylevel="Battery60Percent"/>
       <BatteryOutput batterylevel="Battery40Percent"/>
       <BatteryOutput batterylevel="Battery20Percent"/>
   </BatteryOutputs>
   <CurrentInput>
       <BatteryCharge>220</BatteryCharge>
       <Master32KhzClockAccuracy>10</Master32KhzClockAccuracy>
       <ConnectionInterval>1000</ConnectionInterval>
       <PercentOfTimeSleeping>0</PercentOfTimeSleeping>
       <PercentOfTimeAdvertising>0</PercentOfTimeAdvertising>
       <AdvertisingInterval>1280</AdvertisingInterval>
   </CurrentInput>
</nRF8002Configuration>