No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xep-0326.xml 398KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!-- TODO: enhanced concentrator GUI XEP. (Icons, overlays, etc.) -->
  3. <!-- TODO: Interaction with provisioning server -->
  4. <!-- TODO: Execute command failure: Error message. -->
  5. <!-- TODO: Execute command on nodes failures: Error messages. -->
  6. <!DOCTYPE xep SYSTEM 'xep.dtd' [
  7. <!ENTITY % ents SYSTEM 'xep.ent'>
  8. %ents;
  9. ]>
  10. <?xml-stylesheet type='text/xsl' href='xep.xsl'?>
  11. <xep>
  12. <header>
  13. <title>Internet of Things - Concentrators</title>
  14. <abstract>
  15. Note: This specification has been retracted by the author; new
  16. implementations are not recommended.
  17. This specification describes how to manage and get information from
  18. concentrators of devices over XMPP networks.
  19. </abstract>
  20. &LEGALNOTICE;
  21. <number>0326</number>
  22. <status>Retracted</status>
  23. <type>Standards Track</type>
  24. <sig>Standards</sig>
  25. <approver>Council</approver>
  26. <dependencies>
  27. <spec>XMPP Core</spec>
  28. <spec>XEP-0001</spec>
  29. <spec>XEP-0004</spec>
  30. <spec>XEP-0030</spec>
  31. <spec>XEP-0122</spec>
  32. <spec>XEP-0137</spec>
  33. <spec>XEP-0141</spec>
  34. <spec>XEP-0323</spec>
  35. <spec>XEP-0324</spec>
  36. <spec>XEP-0331</spec>
  37. <spec>XEP-0336</spec>
  38. </dependencies>
  39. <supersedes/>
  40. <supersededby/>
  41. <shortname>sensor-network-concentrators</shortname>
  42. &peterwaher;
  43. <revision>
  44. <version>0.4</version>
  45. <date>2017-05-20</date>
  46. <initials>XEP Editor: ssw</initials>
  47. <remark>Mark XEP as retracted by the author.</remark>
  48. </revision>
  49. <revision>
  50. <version>0.3</version>
  51. <date>2015-11-09</date>
  52. <initials>pw</initials>
  53. <remark>
  54. <p>Updated contact information.</p>
  55. <p>Updated example JIDs to example.org</p>
  56. </remark>
  57. </revision>
  58. <revision>
  59. <version>0.2</version>
  60. <date>2014-03-10</date>
  61. <initials>pw</initials>
  62. <remark>
  63. <p>Namespace in dynamic form examples has been changed to urn:xmpp:xdata:dynamic.</p>
  64. <p>Added the following node query events: <strong>title</strong>, <strong>status</strong>, <strong>beginSection</strong> and <strong>endSection</strong>.</p>
  65. <p>Updated the schema to more strictly validate references to x-data forms.</p>
  66. <p>Updated attribute names so queries and responses are consistent.</p>
  67. <p>Updated the language.</p>
  68. <p>Added section about how to determine support.</p>
  69. <p>Corrected language and examples.</p>
  70. <p>Node Query command type added.</p>
  71. <p>Fixed links to documents with new numbers.</p>
  72. <p>Changed namespace urn:xmpp:sn to urn:xmpp:iot</p>
  73. </remark>
  74. </revision>
  75. <revision>
  76. <version>0.1</version>
  77. <date>2013-05-06</date>
  78. <initials>psa</initials>
  79. <remark>
  80. <p>Initial published version approved by the XMPP Council.</p>
  81. </remark>
  82. </revision>
  83. <revision>
  84. <version>0.0.1</version>
  85. <date>2013-03-20</date>
  86. <initials>pw</initials>
  87. <remark>
  88. <p>First draft.</p>
  89. </remark>
  90. </revision>
  91. </header>
  92. <section1 topic='Introduction' anchor='intro'>
  93. <p>
  94. Concentrators are devices in sensor networks, concentrating the management of a sub set of devices to one point. They can be small (for example: PLC:s managing a small
  95. set of sensors and actuators), medium-sized (for example: mid-level concentrators, controlling branches of the network, islands, perhaps using separate communication protocols),
  96. large (for example: entire sub-systems, perhaps managed by a separate child/partner organization) to massive (for example: The entire top-level system, smart-grid, IoT network).
  97. </p>
  98. <p>
  99. Even though this XEP is generally written and can be used by other implementations not based on sensor networks, much of the requirements used to define this specification
  100. comes from requirements used in sensor networks and Internet of Things applications and infrastructure.
  101. </p>
  102. <p>
  103. This specification will define the following aspects of a general concentrator profile, that can handle all different types of concentrators available in sensor network architectures:
  104. </p>
  105. <ul>
  106. <li>
  107. A concentrator works with multiple <strong>data sources</strong>. Effective management of data sources and their contents is a vital part of this XEP.
  108. </li>
  109. <li>The ability to work with massive quantities of entities.</li>
  110. <li>Effective synchronization of contents between interested parties.</li>
  111. <li>Effective ways to interact with entities controlled by the concentrator.</li>
  112. </ul>
  113. <p>
  114. Sensor networks contains many different architectures and use cases. For this reason, the sensor network standards have been divided into multiple XEPs according to the following table:
  115. </p>
  116. <table caption='Sensor Network XEPs'>
  117. <tr>
  118. <th>XEP</th>
  119. <th>Description</th>
  120. </tr>
  121. <tr>
  122. <td>xep-0000-IoT-BatteryPoweredSensors</td>
  123. <td>Defines how to handle the peculiars related to battery powered devices, and other devices intermittently available on the network.</td>
  124. </tr>
  125. <tr>
  126. <td>xep-0000-IoT-Discovery</td>
  127. <td>Defines the peculiars of sensor discovery in sensor networks. Apart from discovering sensors by JID, it also defines how to discover sensors based on location, etc.</td>
  128. </tr>
  129. <tr>
  130. <td>xep-0000-IoT-Events</td>
  131. <td>Defines how sensors send events, how event subscription, hysteresis levels, etc., are configured.</td>
  132. </tr>
  133. <tr>
  134. <td>xep-0000-IoT-Interoperability</td>
  135. <td>Defines guidelines for how to achieve interoperability in sensor networks, publishing interoperability interfaces for different types of devices.</td>
  136. </tr>
  137. <tr>
  138. <td>xep-0000-IoT-Multicast</td>
  139. <td>Defines how sensor data can be multicast in efficient ways.</td>
  140. </tr>
  141. <tr>
  142. <td>xep-0000-IoT-PubSub</td>
  143. <td>Defines how efficient publication of sensor data can be made in sensor networks.</td>
  144. </tr>
  145. <tr>
  146. <td>xep-0000-IoT-Chat</td>
  147. <td>Defines how human-to-machine interfaces should be constructed using chat messages to be user friendly, automatable and consistent with other IoT extensions and possible underlying architecture.</td>
  148. </tr>
  149. <tr>
  150. <td>XEP-0322</td>
  151. <td>
  152. Defines how to EXI can be used in XMPP to achieve efficient compression of data. Albeit not a sensor network specific XEP, this XEP should be considered
  153. in all sensor network implementations where memory and packet size is an issue.
  154. </td>
  155. </tr>
  156. <tr>
  157. <td>XEP-0323</td>
  158. <td>
  159. Provides the underlying architecture, basic operations and data structures for sensor data communication over XMPP networks.
  160. It includes a hardware abstraction model, removing any technical detail implemented in underlying technologies. This XEP is used by all other sensor network XEPs.
  161. </td>
  162. </tr>
  163. <tr>
  164. <td>XEP-0324</td>
  165. <td>Defines how provisioning, the management of access privileges, etc., can be efficiently and easily implemented.</td>
  166. </tr>
  167. <tr>
  168. <td>XEP-0325</td>
  169. <td>Defines how to control actuators and other devices in Internet of Things.</td>
  170. </tr>
  171. <tr>
  172. <td>XEP-0326</td>
  173. <td>This specification. Defines how to handle architectures containing concentrators or servers handling multiple sensors.</td>
  174. </tr>
  175. <tr>
  176. <td>XEP-0331</td>
  177. <td>Defines extensions for how color parameters can be handled, based on &xep0004;</td>
  178. </tr>
  179. <tr>
  180. <td>XEP-0336</td>
  181. <td>Defines extensions for how dynamic forms can be created, based on &xep0004;, &xep0122;, &xep0137; and &xep0141;.</td>
  182. </tr>
  183. </table>
  184. <section2 topic='Relations to other extensions'>
  185. <p>
  186. Even though there are technologies available in forms of XEPs that solve parts of the above mentioned problem, they do not provide sufficient support. The following paragraphs will
  187. take the time to list why different technologies are not applicable.
  188. </p>
  189. <section3 topic='XEP-0060'>
  190. <p>
  191. This XEP defines tree structures for nodes in different data sources. &xep0060; defines a model where a tree structure of nodes is published and users can browse this
  192. tree structure. Furthermore, it allows the possibility to publish items on these nodes as well as syndication of this information.
  193. </p>
  194. <p>
  195. This XEP also defines data sources (in a tree structure). These data sources contain nodes. &xep0248; defines a structure called a node collection, a structure that
  196. allows the creation of collections containing loosely coupled nodes.
  197. </p>
  198. <p>
  199. Even though this document defines tree structures of data, it is not however based on XEP-0060. There are multiple reasons for this:
  200. </p>
  201. <ul>
  202. <li>
  203. The structures defined in this specification do not include items to publish for each node.
  204. </li>
  205. <li>
  206. We want to be able to use XEP-0060 in parallel to this specification, for the purpose of publishing sensor data.
  207. More information about this is found in <link url='xep-0000-IoT-PubSub.html'>xep-0000-IoT-PubSub.html</link>.
  208. </li>
  209. <li>
  210. For massive systems (hundreds of thousands, or millions, of nodes behind a concentrator, its vitally important to be able to manage sets of nodes directly
  211. (for example: Edit multiple nodes at once). Many of the operations in XEP-0060 only allow for operations of singular nodes. Furthermore, many simple operations
  212. require multiple messages per node. This document defines way to operate of sets of nodes simultaneously, as well as ways to perform operations with a smaller
  213. number of operations.
  214. </li>
  215. <li>
  216. In this document, nodes have specific functions, controlled by a specific Node Type. Different Node Types have different parameter sets, different options, commands,
  217. capabilities, etc. XEP-0060 does not differ between node types. There, nodes are only a structural way to sort data into a tree graph.
  218. </li>
  219. <li>
  220. In this document, nodes have real-time status, like errors, warnings, etc.
  221. </li>
  222. </ul>
  223. </section3>
  224. <section3 topic='XEP-0248'>
  225. <p>
  226. XEP-0248 defines the concept of node collections and syndication of information from nodes in these collections. But XEP-0248 is not used in this specification.
  227. There are multiple reasons:
  228. </p>
  229. <ul>
  230. <li>
  231. We want to be able to use XEP-0248 in parallel to this specification, for the purpose of publishing sensor data.
  232. More information about this is found in <link url='xep-0000-IoT-PubSub.html'>xep-0000-IoT-PubSub.html</link>.
  233. </li>
  234. <li>
  235. Node IDs are not necessarily unique by themselves in the system. This document defines a uniqueness concept based on a triple of data: (Data Source ID, Cache Type, Node ID). This
  236. means that Nodes must have IDs unique within a given Cache Type, within a given data source.
  237. </li>
  238. <li>
  239. We need to expand on types of events generated from a data source, to make them adhere to the particulars of nodes as defined in this specification.
  240. </li>
  241. <li>
  242. Data sources own their nodes. XEP-0248 define a loosely coupled structure with references to nodes. In this document, a data source is the owner of all nodes
  243. contained in it.
  244. </li>
  245. </ul>
  246. </section3>
  247. <section3 topic='XEP-0050'>
  248. <p>
  249. &xep0050; defines how ad-hoc commands can be implemented and how clients can use such commands to interact with underlying logic. But XEP-0050 is not used in this specification.
  250. There are multiple reasons:
  251. </p>
  252. <ul>
  253. <li>
  254. We want to be able to use XEP-0050 for other types of commands, than commands defined in this specification. Generally, XEP-0050 is used to implement
  255. system-wide commands.
  256. </li>
  257. <li>
  258. Commands defined in this specification are context sensitive, i.e. they depend on the type of node and the context of the node on which the act.
  259. </li>
  260. <li>
  261. It is a requirement to be able to execute commands on sets of nodes directly.
  262. </li>
  263. <li>
  264. Since commands have to be context sensitive, a large concentrator system may have hundreds or thousands of different commands, making it impossible to create
  265. context sensitive GUI's using XEP-0050.
  266. </li>
  267. <li>
  268. Dialog types used for Ad-Hoc-commands are not sufficient. First, dynamic dialogs are required in the general case.
  269. (<link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0326</link> define how to create dynamic forms.) Furthermore, the
  270. wizard style type of dialogs used for more complex dialogs in ad-hoc commands, are difficult to automate.
  271. </li>
  272. </ul>
  273. </section3>
  274. </section2>
  275. </section1>
  276. <section1 topic='Glossary' anchor='glossary'>
  277. <p>The following table lists common terms and corresponding descriptions.</p>
  278. <dl>
  279. <di>
  280. <dt>Actuator</dt>
  281. <dd>Device containing at least one configurable property or output that can and should be controlled by some other entity or device.</dd>
  282. </di>
  283. <di>
  284. <dt>Computed Value</dt>
  285. <dd>A value that is computed instead of measured.</dd>
  286. </di>
  287. <di>
  288. <dt>Concentrator</dt>
  289. <dd>Device managing a set of devices which it publishes on the XMPP network.</dd>
  290. </di>
  291. <di>
  292. <dt>Data Source</dt>
  293. <dd>
  294. A Data source contains a collection of nodes. Three types of data sources exist: Singular, Flat and Tree. Singular data sources only include one object.
  295. Flat data sources contain a list of objects and Tree data sources contain nodes formed as a tree graph with one root element.
  296. </dd>
  297. </di>
  298. <di>
  299. <dt>Field</dt>
  300. <dd>
  301. One item of sensor data. Contains information about: Node, Field Name, Value, Precision, Unit, Value Type, Status, Timestamp, Localization information, etc.
  302. Fields should be unique within the triple (Node ID, Field Name, Timestamp).
  303. </dd>
  304. </di>
  305. <di>
  306. <dt>Field Name</dt>
  307. <dd>Name of a field of sensor data. Examples: Energy, Volume, Flow, Power, etc.</dd>
  308. </di>
  309. <di>
  310. <dt>Field Type</dt>
  311. <dd>What type of value the field represents. Examples: Momentary Value, Status Value, Identification Value, Calculated Value, Peak Value, Historical Value, etc.</dd>
  312. </di>
  313. <di>
  314. <dt>Historical Value</dt>
  315. <dd>A value stored in memory from a previous timestamp.</dd>
  316. </di>
  317. <di>
  318. <dt>Identification Value</dt>
  319. <dd>A value that can be used for identification. (Serial numbers, meter IDs, locations, names, etc.)</dd>
  320. </di>
  321. <di>
  322. <dt>Localization information</dt>
  323. <dd>Optional information for a field, allowing the sensor to control how the information should be presented to human viewers.</dd>
  324. </di>
  325. <di>
  326. <dt>Meter</dt>
  327. <dd>A device possible containing multiple sensors, used in metering applications. Examples: Electricity meter, Water Meter, Heat Meter, Cooling Meter, etc.</dd>
  328. </di>
  329. <di>
  330. <dt>Momentary Value</dt>
  331. <dd>A momentary value represents a value measured at the time of the read-out.</dd>
  332. </di>
  333. <di>
  334. <dt>Node</dt>
  335. <dd>
  336. Graphs contain nodes and edges between nodes. In Internet of Things, sensors, actuators, meters, devices, gateways, etc., are often depicted as nodes whereas links between sensors (friendships)
  337. are depicted as edges. In abstract terms, it's easier to talk about a Node, rather than list different possible node types (sensors, actuators, meters, devices, gateways, etc.).
  338. Each Node has a Node ID. Nodes belong to a data source, and all nodes have a Node Type. Some nodes have a parent node, and some nodes have child nodes. Nodes with the same
  339. parent nodes a called sibling nodes.
  340. </dd>
  341. </di>
  342. <di>
  343. <dt>Node ID</dt>
  344. <dd>
  345. An ID uniquely identifying a node within its corresponding context. If a globally unique ID is desired, an architecture should be used using a universally accepted
  346. ID scheme.
  347. </dd>
  348. </di>
  349. <di>
  350. <dt>Node Type</dt>
  351. <dd>Each node has a Node Type. The Node Type defines the functionality of the node in the system.</dd>
  352. </di>
  353. <di>
  354. <dt>Parameter</dt>
  355. <dd>
  356. Readable and/or writable property on a node/device. The XEP-0326 &xep0326; deals with reading and writing parameters
  357. on nodes/devices. Fields are not parameters, and parameters are not fields.
  358. </dd>
  359. </di>
  360. <di>
  361. <dt>Peak Value</dt>
  362. <dd>A maximum or minimum value during a given period.</dd>
  363. </di>
  364. <di>
  365. <dt>Precision</dt>
  366. <dd>
  367. In physics, precision determines the number of digits of precision. In sensor networks however, this definition is not easily applicable. Instead, precision
  368. determines, for example, the number of decimals of precision, or power of precision. Example: 123.200 MWh contains 3 decimals of precision. All entities parsing and
  369. delivering field information in sensor networks should always retain the number of decimals in a message.
  370. </dd>
  371. </di>
  372. <di>
  373. <dt>Sensor</dt>
  374. <dd>
  375. Device measuring at least one digital value (0 or 1) or analog value (value with precision and physical unit). Examples: Temperature sensor, pressure sensor, etc.
  376. Sensor values are reported as fields during read-out. Each sensor has a unique Node ID.
  377. </dd>
  378. </di>
  379. <di>
  380. <dt>SN</dt>
  381. <dd>Sensor Network. A network consisting, but not limited to sensors, where transport and use of sensor data is of primary concern. A sensor network may contain actuators, network applications, monitors, services, etc.</dd>
  382. </di>
  383. <di>
  384. <dt>Status Value</dt>
  385. <dd>A value displaying status information about something.</dd>
  386. </di>
  387. <di>
  388. <dt>Timestamp</dt>
  389. <dd>Timestamp of value, when the value was sampled or recorded.</dd>
  390. </di>
  391. <di>
  392. <dt>Token</dt>
  393. <dd>
  394. A client, device or user can get a token from a provisioning server. These tokens can be included in requests to other entities in the network, so these entities can validate
  395. access rights with the provisioning server.
  396. </dd>
  397. </di>
  398. <di>
  399. <dt>Unit</dt>
  400. <dd>Physical unit of value. Example: MWh, l/s, etc.</dd>
  401. </di>
  402. <di>
  403. <dt>Value</dt>
  404. <dd>A field value.</dd>
  405. </di>
  406. <di>
  407. <dt>Value Status</dt>
  408. <dd>Status of field value. Contains important status information for Quality of Service purposes. Examples: Ok, Error, Warning, Time Shifted, Missing, Signed, etc.</dd>
  409. </di>
  410. <di>
  411. <dt>Value Type</dt>
  412. <dd>Can be numeric, string, boolean, Date &amp; Time, Time Span or Enumeration.</dd>
  413. </di>
  414. <di>
  415. <dt>WSN</dt>
  416. <dd>Wireless Sensor Network, a sensor network including wireless devices.</dd>
  417. </di>
  418. <di>
  419. <dt>XMPP Client</dt>
  420. <dd>Application connected to an XMPP network, having a JID. Note that sensors, as well as applications requesting sensor data can be XMPP clients.</dd>
  421. </di>
  422. </dl>
  423. </section1>
  424. <section1 topic='Use Cases' anchor='usecases'>
  425. <p>
  426. To create a complete set of operations supported by all types of concentrators, ranging from PLCs to subsystems to entire systems is very difficult. So, the aim
  427. of this document is instead to create a very small reduced set of operations, a common denominator, that would allow for basic maintenance and interoperability of
  428. concentrators of different makes and models and of these varying ranges.
  429. </p>
  430. <section2 topic='Capabilities'>
  431. <section3 topic='Get Capabilities'>
  432. <p>
  433. This document lists a sequence of commands. Some are very basic, while others are used for managing massive amounts of devices. When developing a small PLC, it might
  434. be difficult to motivate the implementation of the more advanced commands. They are simply not necessary for the management of the device. So, clients connecting to
  435. the concentrator need a way to learn what operations are available in the concentrator, and as a consequence what operations are not. To do this, the
  436. <strong>getCapabilities</strong> command is sent, as is shown in the following example.
  437. </p>
  438. <example caption='Full capabilities'>
  439. <![CDATA[
  440. <iq type='get'
  441. from='client@example.org/client'
  442. to='subsystem@example.org'
  443. id='1'>
  444. <getCapabilities xmlns='urn:xmpp:iot:concentrators'/>
  445. </iq>
  446. <iq type='result'
  447. from='subsystem@example.org'
  448. to='client@example.org/client'
  449. id='1'>
  450. <getCapabilitiesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  451. <value>getCapabilities</value>
  452. <value>getAllDataSources</value>
  453. <value>getRootDataSources</value>
  454. <value>getChildDataSources</value>
  455. <value>containsNode</value>
  456. <value>containsNodes</value>
  457. <value>getNode</value>
  458. <value>getNodes</value>
  459. <value>getAllNodes</value>
  460. <value>getNodeInheritance</value>
  461. <value>getRootNodes</value>
  462. <value>getChildNodes</value>
  463. <value>getIndices</value>
  464. <value>getNodesFromIndex</value>
  465. <value>getNodesFromIndices</value>
  466. <value>getAllIndexValues</value>
  467. <value>getNodeParametersForEdit</value>
  468. <value>setNodeParametersAfterEdit</value>
  469. <value>getCommonNodeParametersForEdit</value>
  470. <value>setCommonNodeParametersAfterEdit</value>
  471. <value>getAddableNodeTypes</value>
  472. <value>getParametersForNewNode</value>
  473. <value>createNewNode</value>
  474. <value>destroyNode</value>
  475. <value>getAncestors</value>
  476. <value>getNodeCommands</value>
  477. <value>getCommandParameters</value>
  478. <value>executeNodeCommand</value>
  479. <value>executeNodeQuery</value>
  480. <value>abortNodeQuery</value>
  481. <value>getCommonNodeCommands</value>
  482. <value>getCommonCommandParameters</value>
  483. <value>executeCommonNodeCommand</value>
  484. <value>executeCommonNodeQuery</value>
  485. <value>abortCommonNodeQuery</value>
  486. <value>moveNodeUp</value>
  487. <value>moveNodeDown</value>
  488. <value>moveNodesUp</value>
  489. <value>moveNodesDown</value>
  490. <value>subscribe</value>
  491. <value>unsubscribe</value>
  492. <value>getDatabases</value>
  493. <value>getDatabaseReadoutParameters</value>
  494. <value>startDatabaseReadout</value>
  495. </getCapabilitiesResponse>
  496. </iq>]]>
  497. </example>
  498. <p>
  499. A concentrator without databases, but still contain a rich interface for handling masses of nodes may present itself as follows:
  500. </p>
  501. <example caption='No database capabilities'>
  502. <![CDATA[
  503. <iq type='get'
  504. from='client@example.org/client'
  505. to='subsystem@example.org'
  506. id='63'>
  507. <getCapabilities xmlns='urn:xmpp:iot:concentrators'/>
  508. </iq>
  509. <iq type='result'
  510. from='subsystem@example.org'
  511. to='client@example.org/client'
  512. id='63'>
  513. <getCapabilitiesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  514. <value>getCapabilities</value>
  515. <value>getAllDataSources</value>
  516. <value>getRootDataSources</value>
  517. <value>getChildDataSources</value>
  518. <value>containsNode</value>
  519. <value>containsNodes</value>
  520. <value>getNode</value>
  521. <value>getNodes</value>
  522. <value>getAllNodes</value>
  523. <value>getNodeInheritance</value>
  524. <value>getRootNodes</value>
  525. <value>getChildNodes</value>
  526. <value>getIndices</value>
  527. <value>getNodesFromIndex</value>
  528. <value>getNodesFromIndices</value>
  529. <value>getAllIndexValues</value>
  530. <value>getNodeParametersForEdit</value>
  531. <value>setNodeParametersAfterEdit</value>
  532. <value>getCommonNodeParametersForEdit</value>
  533. <value>setCommonNodeParametersAfterEdit</value>
  534. <value>getAddableNodeTypes</value>
  535. <value>getParametersForNewNode</value>
  536. <value>createNewNode</value>
  537. <value>destroyNode</value>
  538. <value>getAncestors</value>
  539. <value>getNodeCommands</value>
  540. <value>getCommandParameters</value>
  541. <value>executeNodeCommand</value>
  542. <value>executeNodeQuery</value>
  543. <value>abortNodeQuery</value>
  544. <value>getCommonNodeCommands</value>
  545. <value>getCommonCommandParameters</value>
  546. <value>executeCommonNodeCommand</value>
  547. <value>executeCommonNodeQuery</value>
  548. <value>abortCommonNodeQuery</value>
  549. <value>moveNodeUp</value>
  550. <value>moveNodeDown</value>
  551. <value>moveNodesUp</value>
  552. <value>moveNodesDown</value>
  553. <value>subscribe</value>
  554. <value>unsubscribe</value>
  555. </getCapabilitiesResponse>
  556. </iq>]]>
  557. </example>
  558. <p>
  559. A smaller gateway on the other hand, may have skipped the implementation of the batch commands that are used for larger systems:
  560. </p>
  561. <example caption='No batch command capabilities'>
  562. <![CDATA[
  563. <iq type='get'
  564. from='client@example.org/client'
  565. to='gateway@example.org'
  566. id='2'>
  567. <getCapabilities xmlns='urn:xmpp:iot:concentrators'/>
  568. </iq>
  569. <iq type='result'
  570. from='gateway@example.org'
  571. to='client@example.org/client'
  572. id='2'>
  573. <getCapabilitiesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  574. <value>getCapabilities</value>
  575. <value>getAllDataSources</value>
  576. <value>getRootDataSources</value>
  577. <value>getChildDataSources</value>
  578. <value>containsNode</value>
  579. <value>getNode</value>
  580. <value>getNodeInheritance</value>
  581. <value>getRootNodes</value>
  582. <value>getChildNodes</value>
  583. <value>getNodeParametersForEdit</value>
  584. <value>setNodeParametersAfterEdit</value>
  585. <value>getAddableNodeTypes</value>
  586. <value>getParametersForNewNode</value>
  587. <value>createNewNode</value>
  588. <value>destroyNode</value>
  589. <value>getAncestors</value>
  590. <value>getNodeCommands</value>
  591. <value>getCommandParameters</value>
  592. <value>executeNodeCommand</value>
  593. <value>executeNodeQuery</value>
  594. <value>abortNodeQuery</value>
  595. <value>moveNodeUp</value>
  596. <value>moveNodeDown</value>
  597. <value>moveNodesUp</value>
  598. <value>moveNodesDown</value>
  599. <value>subscribe</value>
  600. <value>unsubscribe</value>
  601. </getCapabilitiesResponse>
  602. </iq>]]>
  603. </example>
  604. <p>
  605. But a small PLC, possibly with a fixed set of nodes, might have support for an even more reduced set of commands:
  606. </p>
  607. <example caption='No edit capabilities'>
  608. <![CDATA[
  609. <iq type='get'
  610. from='client@example.org/client'
  611. to='plc@example.org'
  612. id='3'>
  613. <getCapabilities xmlns='urn:xmpp:iot:concentrators'/>
  614. </iq>
  615. <iq type='result'
  616. from='plc@example.org'
  617. to='client@example.org/client'
  618. id='3'>
  619. <getCapabilitiesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  620. <value>getCapabilities</value>
  621. <value>getAllDataSources</value>
  622. <value>containsNode</value>
  623. <value>getNode</value>
  624. <value>getRootNodes</value>
  625. <value>getChildNodes</value>
  626. <value>getNodeCommands</value>
  627. <value>getCommandParameters</value>
  628. <value>executeNodeCommand</value>
  629. <value>executeNodeQuery</value>
  630. <value>abortNodeQuery</value>
  631. </getCapabilitiesResponse>
  632. </iq>]]>
  633. </example>
  634. <p>
  635. So, clients who need to interact with different types of concentrators need to be aware of what commands are supported, and limit operations to those commands.
  636. </p>
  637. </section3>
  638. </section2>
  639. <section2 topic='Data Sources'>
  640. <section3 topic='Get All Data Sources'>
  641. <p>
  642. This command will return a flat list of all available data sources on the concentrator. It is not structured hierarchically.
  643. </p>
  644. <example caption='Get All Data Sources'>
  645. <![CDATA[
  646. <iq type='get'
  647. from='client@example.org/client'
  648. to='concentrator@example.org'
  649. id='4'>
  650. <getAllDataSources xmlns='urn:xmpp:iot:concentrators' xml:lang='en'/>
  651. </iq>
  652. <iq type='result'
  653. from='concentrator@example.org'
  654. to='client@example.org/client'
  655. id='4'>
  656. <getAllDataSourcesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  657. <dataSource sourceId='Applications' name='Applications' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  658. <dataSource sourceId='Certificates' name='Certificates' hasChildren='false' lastChanged='2013-02-20T12:31:54'/>
  659. <dataSource sourceId='Clayster.EventSink.Programmable' name='Programmable Event Log' hasChildren='false' lastChanged='2012-10-25T09:31:12'/>
  660. ...
  661. </getAllDataSourcesResponse>
  662. </iq>]]>
  663. </example>
  664. </section3>
  665. <section3 topic='Get Root Data Sources'>
  666. <p>
  667. If the client is interested in the hierarchical structure of available data sources, it should request only the root sources, and then ask the client for their
  668. corresponding child data sources. If the client wants to present the data sources to a user, presenting them in their hierarchical order may be more intuitive.
  669. </p>
  670. <example caption='Get Root Data Sources'>
  671. <![CDATA[
  672. <iq type='get'
  673. from='client@example.org/client'
  674. to='concentrator@example.org'
  675. id='5'>
  676. <getRootDataSources xmlns='urn:xmpp:iot:concentrators' xml:lang='en'/>
  677. </iq>
  678. <iq type='result'
  679. from='concentrator@example.org'
  680. to='client@example.org/client'
  681. id='5'>
  682. <getRootDataSourcesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  683. <dataSource sourceId='MeteringRoot' name='Metering' hasChildren='true' lastChanged='2013-03-19T17:58:01'/>
  684. <dataSource sourceId='SecurityRoot' name='Security' hasChildren='true' lastChanged='2013-01-12T22:03:50'/>
  685. <dataSource sourceId='SystemRoot' name='System' hasChildren='true' lastChanged='2012-02-20T12:34:56'/>
  686. ...
  687. </getRootDataSourcesResponse>
  688. </iq>]]>
  689. </example>
  690. </section3>
  691. <section3 topic='Get Child Data Sources'>
  692. <p>
  693. Having the ID of a data source that contains child data sources, you can fetch the child sources as follows:
  694. </p>
  695. <example caption='Get Child Data Sources'>
  696. <![CDATA[
  697. <iq type='get'
  698. from='client@example.org/client'
  699. to='concentrator@example.org'
  700. id='6'>
  701. <getChildDataSources xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringRoot' xml:lang='en'/>
  702. </iq>
  703. <iq type='result'
  704. from='concentrator@example.org'
  705. to='client@example.org/client'
  706. id='6'>
  707. <getChildDataSourcesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  708. <dataSource sourceId='MeteringFieldImports' name='Field Imports' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  709. <dataSource sourceId='MeteringFieldProcessors' name='Field Processors' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  710. <dataSource sourceId='MeteringFieldSinks' name='Field Sinks' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  711. <dataSource sourceId='MeteringGroups' name='Groups' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  712. <dataSource sourceId='MeteringJobs' name='Jobs' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  713. <dataSource sourceId='MeteringTopology' name='Topology' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  714. <dataSource sourceId='MeteringUnitConversion' name='Unit Conversion' hasChildren='false' lastChanged='2013-03-19T17:58:01'/>
  715. </getChildDataSourcesResponse>
  716. </iq>]]>
  717. </example>
  718. </section3>
  719. <section3 topic='Subscribe to data source events' anchor='subscribe'>
  720. <p>
  721. A client can subscribe to changes made in a data source. It does this by sending the <strong>subscribe</strong> command to the concentrator,
  722. as is shown in the following example:
  723. </p>
  724. <example caption='Subscribing to data source events'>
  725. <![CDATA[
  726. <iq type='set'
  727. from='client@example.org/client'
  728. to='concentrator@example.org'
  729. id='57'>
  730. <subscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology'/>
  731. </iq>
  732. <iq type='result'
  733. from='concentrator@example.org'
  734. to='client@example.org/client'
  735. id='57'>
  736. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  737. </iq>]]>
  738. </example>
  739. <p>
  740. Multiple subscriptions to the same source will not result in an error, however the server will still only send one event message for each event in the data source.
  741. </p>
  742. <p>
  743. <strong>Important:</strong> Event subscriptions only last for as long as the client and concentrator both maintain presence. The concentrator must not persist
  744. event notification subscriptions, and if it goes offline and back online, or if the client goes offline or online again for any reason, the event subscription
  745. is removed.
  746. </p>
  747. <p>
  748. <strong>Note:</strong> The <strong>parameters</strong> and <strong>messages</strong> attributes can be used to retrieve parameter and status message information
  749. about the nodes in event messages sent from the concentrator. Note that the <strong>xml:lang</strong> may be used to select the language used in such events,
  750. if the concentrator supports localization of strings.
  751. </p>
  752. <example caption='Subscribing to data source events with localized parameters'>
  753. <![CDATA[
  754. <iq type='set'
  755. from='client@example.org/client'
  756. to='concentrator@example.org'
  757. id='60'>
  758. <subscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' messages='true' xml:lang='en'/>
  759. </iq>
  760. <iq type='result'
  761. from='concentrator@example.org'
  762. to='client@example.org/client'
  763. id='60'>
  764. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  765. </iq>]]>
  766. </example>
  767. <p>
  768. The <strong>subscribe</strong> command has a set of optional attributes, one for each event type available, and with the same names (<strong>nodeAdded</strong>,
  769. <strong>nodeUpdated</strong>, <strong>nodeStatusChanged</strong>, <strong>nodeRemoved</strong>, <strong>nodeMovedUp</strong> and <strong>nodeMovedDown</strong>), that the
  770. client can use to subscribe to individual events, but not to others. They have the default value of true implying that if not provided, the
  771. default action is to subscribe to those events. The attributes <strong>parameters</strong> and <strong>messages</strong> can also be used to specify
  772. if node parameters and node messages respectively should be available in event messages. The default value for the these later attributes is false, implying
  773. that normal events do not include node parameter and node message information.
  774. </p>
  775. <p>
  776. The following example shows how a client can subscribe to a set of events only:
  777. </p>
  778. <example caption='Subscribing to data source events, avoiding state events'>
  779. <![CDATA[
  780. <iq type='set'
  781. from='client@example.org/client'
  782. to='concentrator@example.org'
  783. id='61'>
  784. <subscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' messages='false' xml:lang='en'
  785. nodeAdded='true' nodeUpdated='true' nodeStatusChanged='false' nodeRemoved='true' nodeMovedUp='false' nodeMovedDown='false'/>
  786. </iq>
  787. <iq type='result'
  788. from='concentrator@example.org'
  789. to='client@example.org/client'
  790. id='61'>
  791. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  792. </iq>]]>
  793. </example>
  794. <p>
  795. For more information on types of events sent, see the <link url='#sourceevents'>Data Source Events</link> section.
  796. </p>
  797. </section3>
  798. <section3 topic='Unsubscribe from data source events'>
  799. <p>
  800. A client can unsubscribe to changes made in a data source it is subscribed to. It does this by sending the <strong>unsubscribe</strong> command to the concentrator,
  801. as is shown in the following example:
  802. </p>
  803. <example caption='Unsubscribing from data source events'>
  804. <![CDATA[
  805. <iq type='set'
  806. from='client@example.org/client'
  807. to='concentrator@example.org'
  808. id='58'>
  809. <unsubscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology'/>
  810. </iq>
  811. <iq type='result'
  812. from='concentrator@example.org'
  813. to='client@example.org/client'
  814. id='58'>
  815. <unsubscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  816. </iq>]]>
  817. </example>
  818. <p>
  819. An unsubscription made to an existing data source, but where an event subscription does not exist, must not result in an error.
  820. </p>
  821. <p>
  822. The <strong>unsubscribe</strong> command has a set of optional attributes, one for each event type available, and with the same names, that the
  823. client can use to unsubscribe from individual events, but not from others. They have the default value of true implying that if not provided, the
  824. default action is to unsubscribe from those events.
  825. </p>
  826. <p>
  827. The following example shows how a client can unsubscribe from a subset of events, keeping subscriptions on the others (if subscribed to):
  828. </p>
  829. <example caption='Unsubscribing from state events'>
  830. <![CDATA[
  831. <iq type='set'
  832. from='client@example.org/client'
  833. to='concentrator@example.org'
  834. id='62'>
  835. <unsubscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' messages='false' xml:lang='en'
  836. nodeAdded='false' nodeUpdated='false' nodeStatusChanged='true' nodeRemoved='false' nodeMovedUp='false' nodeMovedDown='false'/>
  837. </iq>
  838. <iq type='result'
  839. from='concentrator@example.org'
  840. to='client@example.org/client'
  841. id='62'>
  842. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  843. </iq>]]>
  844. </example>
  845. </section3>
  846. <section3 topic='Get changes since given timestamp before subscribing' anchor='subscribe2'>
  847. <p>
  848. If a client comes back online and wants to know any changes that have taken place on the concentrator since last time it was in contact with it,
  849. it can include a <strong>getEventsSince</strong> attribute in the <strong>subscribe</strong> command sent to the concentrator. This will make the
  850. concentrator send all event messages since the given timestamp to the client before subscribing the client to events in the given data source.
  851. </p>
  852. <example caption='Get changes since given timestamp before subscribing'>
  853. <![CDATA[
  854. <iq type='set'
  855. from='client@example.org/client'
  856. to='concentrator@example.org'
  857. id='59'>
  858. <subscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' getEventsSince='2013-03-21T19:24:00'/>
  859. </iq>
  860. <iq type='result'
  861. from='concentrator@example.org'
  862. to='client@example.org/client'
  863. id='59'>
  864. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  865. </iq>
  866. ... Sequence of event messages sent from concentrator to client.]]>
  867. </example>
  868. <p>
  869. <strong>Important:</strong> Event subscriptions only last for as long as the client and concentrator both maintain presence. The concentrator must not persist
  870. event notification subscriptions, and if it goes offline and back online, or if the client goes offline or online again for any reason, the event subscription
  871. is removed.
  872. </p>
  873. <p>
  874. <strong>Note:</strong> The <strong>parameters</strong> and <strong>messages</strong> attributes can be used to retrieve parameter and status message information
  875. about the nodes in event messages sent from the concentrator.
  876. </p>
  877. <p>
  878. For more information on types of events sent, see the <link url='#sourceevents'>Data Source Events</link> section.
  879. </p>
  880. </section3>
  881. <section3 topic='Get changes since given timestamp before subscribing, Failure'>
  882. <p>
  883. If during a subscription request the concentrator is not able to fulfill the request of retrieving previous events using the <strong>getEventsSince</strong> attribute,
  884. perhaps the attribute stretches too far back, or includes too many records, the concentrator can return an error message using a response code of <strong>NotImplemented</strong>.
  885. In this case, the subscription must not be made.
  886. </p>
  887. <p>
  888. When receiving such an error from the concentrator, the client must make a decision if it should download the data source again, or keep the data source as is, and
  889. subscribing again without the <strong>getEventsSince</strong> attribute.
  890. </p>
  891. <example caption='Get changes since given timestamp before subscribing, Failure'>
  892. <![CDATA[
  893. <iq type='set'
  894. from='client@example.org/client'
  895. to='concentrator@example.org'
  896. id='73'>
  897. <subscribe xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' getEventsSince='2001-01-01T00:00:00'/>
  898. </iq>
  899. <iq type='result'
  900. from='concentrator@example.org'
  901. to='client@example.org/client'
  902. id='73'>
  903. <subscribeResponse xmlns='urn:xmpp:iot:concentrators' result='NotImplemented'/>
  904. </iq>]]>
  905. </example>
  906. </section3>
  907. </section2>
  908. <section2 topic='Nodes'>
  909. <section3 topic='Contains Node'>
  910. <p>
  911. This command permits the client to check the existence of a node in the concentrator.
  912. </p>
  913. <example caption='Checking the existence of a node'>
  914. <![CDATA[
  915. <iq type='get'
  916. from='client@example.org/client'
  917. to='concentrator@example.org'
  918. id='7'>
  919. <containsNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1'/>
  920. </iq>
  921. <iq type='result'
  922. from='concentrator@example.org'
  923. to='client@example.org/client'
  924. id='7'>
  925. <containsNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>true</containsNodeResponse>
  926. </iq>]]>
  927. </example>
  928. </section3>
  929. <section3 topic='Contains Nodes'>
  930. <p>
  931. If the client wants to check the existence of multiple nodes on the concentrator, it can use this batch command instead:
  932. </p>
  933. <example caption='Checking the existence of a multiple nodes'>
  934. <![CDATA[
  935. <iq type='get'
  936. from='client@example.org/client'
  937. to='concentrator@example.org'
  938. id='8'>
  939. <containsNodes xmlns='urn:xmpp:iot:concentrators'>
  940. <node sourceId='MeteringTopology' nodeId='Node1'/>
  941. <node sourceId='MeteringTopology' nodeId='Node2'/>
  942. <node sourceId='MeteringTopology' nodeId='Node3'/>
  943. <node sourceId='MeteringGroups' nodeId='Group1'/>
  944. </containsNodes>
  945. </iq>
  946. <iq type='result'
  947. from='concentrator@example.org'
  948. to='client@example.org/client'
  949. id='8'>
  950. <containsNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  951. <value>true</value>
  952. <value>true</value>
  953. <value>false</value>
  954. <value>true</value>
  955. </containsNodesResponse>
  956. </iq>]]>
  957. </example>
  958. <p>
  959. The array returned will have one item for each item in the request, in the same order.
  960. </p>
  961. </section3>
  962. <section3 topic='Get Node'>
  963. <p>
  964. This command returns basic information about a node in the concentrator.
  965. </p>
  966. <example caption='Get Node'>
  967. <![CDATA[
  968. <iq type='get'
  969. from='client@example.org/client'
  970. to='concentrator@example.org'
  971. id='9'>
  972. <getNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en'/>
  973. </iq>
  974. <iq type='result'
  975. from='concentrator@example.org'
  976. to='client@example.org/client'
  977. id='9'>
  978. <getNodeResponse xmlns='urn:xmpp:iot:concentrators'
  979. result='OK'
  980. nodeId='Node1'
  981. nodeType='Namespace.NodeType1'
  982. cacheType='Node'
  983. state='WarningUnsigned'
  984. hasChildren='false'
  985. isReadable='true'
  986. isControllable='true'
  987. hasCommands='true'
  988. parentId='Root'
  989. lastChanged='2013-03-19T17:58:01'/>
  990. </iq>]]>
  991. </example>
  992. <p>
  993. For more information, see <link url='#nodeinfo'>Node Information</link>.
  994. </p>
  995. </section3>
  996. <section3 topic='Get Nodes'>
  997. <p>
  998. This command lets the client get information from multiple nodes at once.
  999. </p>
  1000. <example caption='Get Nodes'>
  1001. <![CDATA[
  1002. <iq type='get'
  1003. from='client@example.org/client'
  1004. to='concentrator@example.org'
  1005. id='10'>
  1006. <getNodes xmlns='urn:xmpp:iot:concentrators' xml:lang='en'>
  1007. <node sourceId='MeteringTopology' nodeId='Node1'/>
  1008. <node sourceId='MeteringTopology' nodeId='Node2'/>
  1009. <node sourceId='MeteringTopology' nodeId='Node3'/>
  1010. </getNodes>
  1011. </iq>
  1012. <iq type='result'
  1013. from='concentrator@example.org'
  1014. to='client@example.org/client'
  1015. id='10'>
  1016. <getNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1017. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false' isReadable='true'
  1018. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  1019. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  1020. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  1021. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  1022. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  1023. </getNodesResponse>
  1024. </iq>]]>
  1025. </example>
  1026. <p>
  1027. For more information, see <link url='#nodeinfo'>Node Information</link>.
  1028. </p>
  1029. </section3>
  1030. <section3 topic='Get Node with parameters'>
  1031. <p>
  1032. This command returns basic information about a node in the concentrator, as well as node parameters.
  1033. </p>
  1034. <example caption='Get Node with parameters'>
  1035. <![CDATA[
  1036. <iq type='get'
  1037. from='client@example.org/client'
  1038. to='concentrator@example.org'
  1039. id='11'>
  1040. <getNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en' parameters='true'/>
  1041. </iq>
  1042. <iq type='result'
  1043. from='concentrator@example.org'
  1044. to='client@example.org/client'
  1045. id='11'>
  1046. <getNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK' nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node'
  1047. state='WarningUnsigned' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  1048. parentId='Root' lastChanged='2013-03-19T17:58:01'>
  1049. <string id='id' name='Node ID' value='Node1'/>
  1050. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1051. <string id='sn' name='Serial Number' value='123456'/>
  1052. <string id='class' name='Node Class' value='Temperature'/>
  1053. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1054. <int id='addr' name='Address' value='123'/>
  1055. <double id='lat' name='Latitude' value='12.345'/>
  1056. <double id='long' name='Longitude' value='123.45'/>
  1057. </getNodeResponse>
  1058. </iq>]]>
  1059. </example>
  1060. <p>
  1061. For more information, see <link url='#nodeinfo'>Node Information</link>.
  1062. </p>
  1063. </section3>
  1064. <section3 topic='Get Nodes with parameters'>
  1065. <p>
  1066. This command lets the client get information from multiple nodes at once, including node parameters.
  1067. </p>
  1068. <example caption='Get Nodes with parameters'>
  1069. <![CDATA[
  1070. <iq type='get'
  1071. from='client@example.org/client'
  1072. to='concentrator@example.org'
  1073. id='12'>
  1074. <getNodes xmlns='urn:xmpp:iot:concentrators' parameters='true' xml:lang='en'>
  1075. <node sourceId='MeteringTopology' nodeId='Node1'/>
  1076. <node sourceId='MeteringTopology' nodeId='Node2'/>
  1077. <node sourceId='MeteringTopology' nodeId='Node3'/>
  1078. </getNodes>
  1079. </iq>
  1080. <iq type='result'
  1081. from='concentrator@example.org'
  1082. to='client@example.org/client'
  1083. id='12'>
  1084. <getNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1085. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false' isReadable='true'
  1086. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  1087. <string id='id' name='Node ID' value='Node1'/>
  1088. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1089. <string id='sn' name='Serial Number' value='123456'/>
  1090. <string id='class' name='Node Class' value='Temperature'/>
  1091. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1092. <int id='addr' name='Address' value='123'/>
  1093. <double id='lat' name='Latitude' value='12.345'/>
  1094. <double id='long' name='Longitude' value='123.45'/>
  1095. </node>
  1096. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  1097. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  1098. <string id='id' name='Node ID' value='Node2'/>
  1099. <string id='type' name='Node Type' value='Watchamacallit Pressure Sensor v1.2'/>
  1100. <string id='sn' name='Serial Number' value='234567'/>
  1101. <string id='class' name='Node Class' value='Pressure'/>
  1102. <string id='meterLoc' name='Meter Location' value='P668632-6'/>
  1103. <int id='addr' name='Address' value='124'/>
  1104. <double id='lat' name='Latitude' value='12.345'/>
  1105. <double id='long' name='Longitude' value='123.45'/>
  1106. </node>
  1107. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  1108. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  1109. <string id='id' name='Node ID' value='Node3'/>
  1110. <string id='type' name='Node Type' value='Watchamacallit Electricity Meter v1.2'/>
  1111. <string id='sn' name='Serial Number' value='345678'/>
  1112. <string id='class' name='Node Class' value='Electricity'/>
  1113. <string id='meterLoc' name='Meter Location' value='P332367-9'/>
  1114. <int id='addr' name='Address' value='125'/>
  1115. <double id='lat' name='Latitude' value='12.345'/>
  1116. <double id='long' name='Longitude' value='123.45'/>
  1117. </node>
  1118. </getNodesResponse>
  1119. </iq>]]>
  1120. </example>
  1121. <p>
  1122. For more information, see <link url='#nodeinfo'>Node Information</link>.
  1123. </p>
  1124. </section3>
  1125. <section3 topic='Get All Nodes'>
  1126. <p>
  1127. If the device does not manage too many nodes, it could choose to implement this function. It would return all available nodes with one call.
  1128. </p>
  1129. <example caption='Get All Nodes'>
  1130. <![CDATA[
  1131. <iq type='get'
  1132. from='client@example.org/client'
  1133. to='concentrator@example.org'
  1134. id='13'>
  1135. <getAllNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' xml:lang='en'/>
  1136. </iq>
  1137. <iq type='result'
  1138. from='concentrator@example.org'
  1139. to='client@example.org/client'
  1140. id='13'>
  1141. <getAllNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1142. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1143. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1144. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false'
  1145. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1146. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1147. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1148. <node nodeId='Root' nodeType='Namespace.Root' cacheType='Node' state='None' hasChildren='true'
  1149. isReadable='false' isControllable='false' hasCommands='true'/>
  1150. </getAllNodesResponse>
  1151. </iq>]]>
  1152. </example>
  1153. </section3>
  1154. <section3 topic='Get All Nodes with Parameters'>
  1155. <p>
  1156. If the device does not manage too many nodes, it could choose to implement this function. It would return all available nodes with their parameters with one call.
  1157. </p>
  1158. <example caption='Get All Nodes with Parameters'>
  1159. <![CDATA[
  1160. <iq type='get'
  1161. from='client@example.org/client'
  1162. to='concentrator@example.org'
  1163. id='14'>
  1164. <getAllNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' xml:lang='en'/>
  1165. </iq>
  1166. <iq type='result'
  1167. from='concentrator@example.org'
  1168. to='client@example.org/client'
  1169. id='14'>
  1170. <getAllNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1171. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1172. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1173. <string id='id' name='Node ID' value='Node1'/>
  1174. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1175. <string id='sn' name='Serial Number' value='123456'/>
  1176. <string id='class' name='Node Class' value='Temperature'/>
  1177. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1178. <int id='addr' name='Address' value='123'/>
  1179. <double id='lat' name='Latitude' value='12.345'/>
  1180. <double id='long' name='Longitude' value='123.45'/>
  1181. </node>
  1182. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false'
  1183. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1184. <string id='id' name='Node ID' value='Node2'/>
  1185. <string id='type' name='Node Type' value='Watchamacallit Pressure Sensor v1.2'/>
  1186. <string id='sn' name='Serial Number' value='234567'/>
  1187. <string id='class' name='Node Class' value='Pressure'/>
  1188. <string id='meterLoc' name='Meter Location' value='P668632-6'/>
  1189. <int id='addr' name='Address' value='124'/>
  1190. <double id='lat' name='Latitude' value='12.345'/>
  1191. <double id='long' name='Longitude' value='123.45'/>
  1192. </node>
  1193. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1194. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1195. <string id='id' name='Node ID' value='Node3'/>
  1196. <string id='type' name='Node Type' value='Watchamacallit Electricity Meter v1.2'/>
  1197. <string id='sn' name='Serial Number' value='345678'/>
  1198. <string id='class' name='Node Class' value='Electricity'/>
  1199. <string id='meterLoc' name='Meter Location' value='P332367-9'/>
  1200. <int id='addr' name='Address' value='125'/>
  1201. <double id='lat' name='Latitude' value='12.345'/>
  1202. <double id='long' name='Longitude' value='123.45'/>
  1203. </node>
  1204. <node nodeId='Root' nodeType='Namespace.Root' cacheType='Node' state='None' hasChildren='true'
  1205. isReadable='false' isControllable='false' hasCommands='true'>
  1206. <string id='id' name='Node ID' value='Root'/>
  1207. <string id='type' name='Node Type' value='Root Node'/>
  1208. </node>
  1209. </getAllNodesResponse>
  1210. </iq>]]>
  1211. </example>
  1212. </section3>
  1213. <section3 topic='Get All Nodes derived from'>
  1214. <p>
  1215. This command assumes node types exist in a class hierarchy, and allows the caller to retrieve nodes with similar inheritance.
  1216. </p>
  1217. <example caption='Get All Nodes derived from'>
  1218. <![CDATA[
  1219. <iq type='get'
  1220. from='client@example.org/client'
  1221. to='concentrator@example.org'
  1222. id='15'>
  1223. <getAllNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' xml:lang='en'>
  1224. <onlyIfDerivedFrom>Namespace.BaseClass1</onlyIfDerivedFrom>
  1225. </getAllNodes>
  1226. </iq>
  1227. <iq type='result'
  1228. from='concentrator@example.org'
  1229. to='client@example.org/client'
  1230. id='15'>
  1231. <getAllNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1232. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1233. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1234. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1235. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1236. </getAllNodesResponse>
  1237. </iq>]]>
  1238. </example>
  1239. </section3>
  1240. <section3 topic='Get All Nodes derived from, with Parameters'>
  1241. <p>
  1242. This command assumes node types exist in a class hierarchy, and allows the caller to retrieve nodes with similar inheritance. It also returns node parameters
  1243. directly in the response.
  1244. </p>
  1245. <example caption='Get All Nodes derived from, with Parameters'>
  1246. <![CDATA[
  1247. <iq type='get'
  1248. from='client@example.org/client'
  1249. to='concentrator@example.org'
  1250. id='16'>
  1251. <getAllNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' xml:lang='en'>
  1252. <onlyIfDerivedFrom>Namespace.BaseClass1</onlyIfDerivedFrom>
  1253. </getAllNodes>
  1254. </iq>
  1255. <iq type='result'
  1256. from='concentrator@example.org'
  1257. to='client@example.org/client'
  1258. id='16'>
  1259. <getAllNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1260. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1261. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1262. <string id='id' name='Node ID' value='Node1'/>
  1263. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1264. <string id='sn' name='Serial Number' value='123456'/>
  1265. <string id='class' name='Node Class' value='Temperature'/>
  1266. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1267. <int id='addr' name='Address' value='123'/>
  1268. <double id='lat' name='Latitude' value='12.345'/>
  1269. <double id='long' name='Longitude' value='123.45'/>
  1270. </node>
  1271. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1272. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1273. <string id='id' name='Node ID' value='Node3'/>
  1274. <string id='type' name='Node Type' value='Watchamacallit Electricity Meter v1.2'/>
  1275. <string id='sn' name='Serial Number' value='345678'/>
  1276. <string id='class' name='Node Class' value='Electricity'/>
  1277. <string id='meterLoc' name='Meter Location' value='P332367-9'/>
  1278. <int id='addr' name='Address' value='125'/>
  1279. <double id='lat' name='Latitude' value='12.345'/>
  1280. <double id='long' name='Longitude' value='123.45'/>
  1281. </node>
  1282. </getAllNodesResponse>
  1283. </iq>]]>
  1284. </example>
  1285. <p>
  1286. Note that the caller can list multiple classes in the request. This would return only nodes having the correct base class(es) and
  1287. implementing all interfaces.
  1288. </p>
  1289. </section3>
  1290. <section3 topic='Get Node Inheritance'>
  1291. <p>
  1292. This command assumes node types exist in a class hierarchy. It allows the caller to get a list of the node class hierarchy and implemented interfaces the
  1293. node has.
  1294. </p>
  1295. <example caption='Get node inheritance'>
  1296. <![CDATA[
  1297. <iq type='get'
  1298. from='client@example.org/client'
  1299. to='concentrator@example.org'
  1300. id='17'>
  1301. <getNodeInheritance xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1'/>
  1302. </iq>
  1303. <iq type='result'
  1304. from='concentrator@example.org'
  1305. to='client@example.org/client'
  1306. id='17'>
  1307. <getNodeInheritanceResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1308. <baseClasses>
  1309. <value>Namespace.BaseClass1</value>
  1310. <value>Namespace.AbstractBase</value>
  1311. </baseClasses>
  1312. </getNodeInheritanceResponse>
  1313. </iq>]]>
  1314. </example>
  1315. <p>
  1316. <strong>Note:</strong> It is assumed the client already knows the node type of the node, so the response must not contain the type of the node, only
  1317. its base classes and any implemented interfaces.
  1318. </p>
  1319. </section3>
  1320. <section3 topic='Get Root Nodes'>
  1321. <p>
  1322. This command returns the root node of a data source (in case the source is a tree-shaped data source) or the nodes of a data source (in case the
  1323. source is flat).
  1324. </p>
  1325. <example caption='Get Root Nodes'>
  1326. <![CDATA[
  1327. <iq type='get'
  1328. from='client@example.org/client'
  1329. to='concentrator@example.org'
  1330. id='18'>
  1331. <getRootNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' xml:lang='en'/>
  1332. </iq>
  1333. <iq type='result'
  1334. from='concentrator@example.org'
  1335. to='client@example.org/client'
  1336. id='18'>
  1337. <getRootNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1338. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1339. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1340. </getRootNodesResponse>
  1341. </iq>]]>
  1342. </example>
  1343. </section3>
  1344. <section3 topic='Get Root Nodes with Parameters'>
  1345. <p>
  1346. This command returns the root node of a data source (in case the source is a tree-shaped data source) or the root nodes of a data source (in case the
  1347. source is flat), and also returns the parameters for the corresponding nodes.
  1348. </p>
  1349. <example caption='Get Root Nodes with Parameters'>
  1350. <![CDATA[
  1351. <iq type='get'
  1352. from='client@example.org/client'
  1353. to='concentrator@example.org'
  1354. id='19'>
  1355. <getRootNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' parameters='true' xml:lang='en'/>
  1356. </iq>
  1357. <iq type='result'
  1358. from='concentrator@example.org'
  1359. to='client@example.org/client'
  1360. id='19'>
  1361. <getRootNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1362. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1363. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1364. <string id='id' name='Node ID' value='Node1'/>
  1365. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1366. <string id='sn' name='Serial Number' value='123456'/>
  1367. <string id='class' name='Node Class' value='Temperature'/>
  1368. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1369. <int id='addr' name='Address' value='123'/>
  1370. <double id='lat' name='Latitude' value='12.345'/>
  1371. <double id='long' name='Longitude' value='123.45'/>
  1372. </node>
  1373. </getRootNodesResponse>
  1374. </iq>]]>
  1375. </example>
  1376. </section3>
  1377. <section3 topic='Get Child Nodes'>
  1378. <p>
  1379. This command returns the child nodes of a node in a data source.
  1380. </p>
  1381. <example caption='Get Child Nodes'>
  1382. <![CDATA[
  1383. <iq type='get'
  1384. from='client@example.org/client'
  1385. to='concentrator@example.org'
  1386. id='20'>
  1387. <getChildNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en'/>
  1388. </iq>
  1389. <iq type='result'
  1390. from='concentrator@example.org'
  1391. to='client@example.org/client'
  1392. id='20'>
  1393. <getChildNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1394. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false'
  1395. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1396. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1397. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'/>
  1398. </getChildNodesResponse>
  1399. </iq>]]>
  1400. </example>
  1401. </section3>
  1402. <section3 topic='Get Child Nodes with Parameters'>
  1403. <p>
  1404. This command returns the child nodes of a node in a data source, and also returns the parameters for the corresponding nodes.
  1405. </p>
  1406. <example caption='Get Child Nodes with Parameters'>
  1407. <![CDATA[
  1408. <iq type='get'
  1409. from='client@example.org/client'
  1410. to='concentrator@example.org'
  1411. id='21'>
  1412. <getChildNodes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' parameters='true' xml:lang='en' />
  1413. </iq>
  1414. <iq type='result'
  1415. from='concentrator@example.org'
  1416. to='client@example.org/client'
  1417. id='21'>
  1418. <getChildNodesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1419. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false'
  1420. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1421. <string id='id' name='Node ID' value='Node2'/>
  1422. <string id='type' name='Node Type' value='Watchamacallit Pressure Sensor v1.2'/>
  1423. <string id='sn' name='Serial Number' value='234567'/>
  1424. <string id='class' name='Node Class' value='Pressure'/>
  1425. <string id='meterLoc' name='Meter Location' value='P668632-6'/>
  1426. <int id='addr' name='Address' value='124'/>
  1427. <double id='lat' name='Latitude' value='12.345'/>
  1428. <double id='long' name='Longitude' value='123.45'/>
  1429. </node>
  1430. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  1431. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1432. <string id='id' name='Node ID' value='Node3'/>
  1433. <string id='type' name='Node Type' value='Watchamacallit Electricity Meter v1.2'/>
  1434. <string id='sn' name='Serial Number' value='345678'/>
  1435. <string id='class' name='Node Class' value='Electricity'/>
  1436. <string id='meterLoc' name='Meter Location' value='P332367-9'/>
  1437. <int id='addr' name='Address' value='125'/>
  1438. <double id='lat' name='Latitude' value='12.345'/>
  1439. <double id='long' name='Longitude' value='123.45'/>
  1440. </node>
  1441. </getChildNodesResponse>
  1442. </iq>]]>
  1443. </example>
  1444. </section3>
  1445. <section3 topic='Get Indices of Data Source'>
  1446. <p>
  1447. This command returns a list of available indices in a data source. Indices can be used for efficient node look-up.
  1448. </p>
  1449. <example caption='Get Indices of Data Source'>
  1450. <![CDATA[
  1451. <iq type='get'
  1452. from='client@example.org/client'
  1453. to='concentrator@example.org'
  1454. id='22'>
  1455. <getIndices xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' />
  1456. </iq>
  1457. <iq type='result'
  1458. from='concentrator@example.org'
  1459. to='client@example.org/client'
  1460. id='22'>
  1461. <getIndicesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1462. <value>country</value>
  1463. <value>region</value>
  1464. <value>city</value>
  1465. <value>area</value>
  1466. <value>street</value>
  1467. <value>building</value>
  1468. <value>apartment</value>
  1469. <value>oid</value>
  1470. </getIndicesResponse>
  1471. </iq>]]>
  1472. </example>
  1473. </section3>
  1474. <section3 topic='Get Nodes from index'>
  1475. <p>
  1476. This command can be used to get a node or nodes from a data source using an index and an index value.
  1477. </p>
  1478. <example caption='Get Nodes from index'>
  1479. <![CDATA[
  1480. <iq type='get'
  1481. from='client@example.org/client'
  1482. to='concentrator@example.org'
  1483. id='23'>
  1484. <getNodesFromIndex xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' index='apartment' indexValue='A1-1' xml:lang='en'/>
  1485. </iq>
  1486. <iq type='result'
  1487. from='concentrator@example.org'
  1488. to='client@example.org/client'
  1489. id='23'>
  1490. <getNodesFromIndexResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1491. <node nodeId='Node2' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1492. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-1'/>
  1493. </getNodesFromIndexResponse>
  1494. </iq>]]>
  1495. </example>
  1496. </section3>
  1497. <section3 topic='Get Nodes from index with Parameters'>
  1498. <p>
  1499. This command can be used to get a node or nodes from a data source using an index and an index value, and also returns the parameters for the corresponding nodes.
  1500. </p>
  1501. <example caption='Get Nodes from index with Parameters'>
  1502. <![CDATA[
  1503. <iq type='get'
  1504. from='client@example.org/client'
  1505. to='concentrator@example.org'
  1506. id='24'>
  1507. <getNodesFromIndex xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' index='apartment' indexValue='A1-1'
  1508. parameters='true' xml:lang='en'/>
  1509. </iq>
  1510. <iq type='result'
  1511. from='concentrator@example.org'
  1512. to='client@example.org/client'
  1513. id='24'>
  1514. <getNodesFromIndexResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1515. <node nodeId='Node2' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1516. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-1'>
  1517. <string id='id' name='Node ID' value='Node2'/>
  1518. <string id='type' name='Node Type' value='Metering Topology Reference'/>
  1519. <string id='referenceId' name='Reference ID' value='Node2'/>
  1520. </node>
  1521. </getNodesFromIndexResponse>
  1522. </iq>]]>
  1523. </example>
  1524. </section3>
  1525. <section3 topic='Get Nodes from indices'>
  1526. <p>
  1527. This command can be used to get nodes from a set of data source using indices and index values.
  1528. </p>
  1529. <example caption='Get Nodes from indices'>
  1530. <![CDATA[
  1531. <iq type='get'
  1532. from='client@example.org/client'
  1533. to='concentrator@example.org'
  1534. id='25'>
  1535. <getNodesFromIndices xmlns='urn:xmpp:iot:concentrators' xml:lang='en'>
  1536. <indexRef sourceId='MeteringGroups' index='apartment' indexValue='A1-1'/>
  1537. <indexRef sourceId='MeteringGroups' index='apartment' indexValue='A1-2'/>
  1538. </getNodesFromIndices>
  1539. </iq>
  1540. <iq type='result'
  1541. from='concentrator@example.org'
  1542. to='client@example.org/client'
  1543. id='25'>
  1544. <getNodesFromIndicesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1545. <node nodeId='Node2' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1546. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-1'/>
  1547. <node nodeId='Node3' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1548. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-2'/>
  1549. </getNodesFromIndicesResponse>
  1550. </iq>]]>
  1551. </example>
  1552. </section3>
  1553. <section3 topic='Get Nodes from indices with Parameters'>
  1554. <p>
  1555. This command can be used to get nodes from a set of data source using indices and index values, and also returns the parameters for the corresponding nodes.
  1556. </p>
  1557. <example caption='Get Nodes from indices with Parameters'>
  1558. <![CDATA[
  1559. <iq type='get'
  1560. from='client@example.org/client'
  1561. to='concentrator@example.org'
  1562. id='26'>
  1563. <getNodesFromIndices xmlns='urn:xmpp:iot:concentrators' parameters='true' xml:lang='en'>
  1564. <indexRef sourceId='MeteringGroups' index='apartment' indexValue='A1-1'/>
  1565. <indexRef sourceId='MeteringGroups' index='apartment' indexValue='A1-2'/>
  1566. </getNodesFromIndices>
  1567. </iq>
  1568. <iq type='result'
  1569. from='concentrator@example.org'
  1570. to='client@example.org/client'
  1571. id='26'>
  1572. <getNodesFromIndicesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1573. <node nodeId='Node2' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1574. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-1'>
  1575. <string id='id' name='Node ID' value='Node2'/>
  1576. <string id='type' name='Node Type' value='Metering Topology Reference'/>
  1577. <string id='referenceId' name='Reference ID' value='Node2'/>
  1578. </node>
  1579. <node nodeId='Node3' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1580. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-2'>
  1581. <string id='id' name='Node ID' value='Node3'/>
  1582. <string id='type' name='Node Type' value='Metering Topology Reference'/>
  1583. <string id='referenceId' name='Reference ID' value='Node3'/>
  1584. </node>
  1585. </getNodesFromIndicesResponse>
  1586. </iq>]]>
  1587. </example>
  1588. </section3>
  1589. <section3 topic='Get All Index Values'>
  1590. <p>
  1591. This command can be used to get a list of available index values, given a data source and an index.
  1592. </p>
  1593. <example caption='Get All Index Values'>
  1594. <![CDATA[
  1595. <iq type='get'
  1596. from='client@example.org/client'
  1597. to='concentrator@example.org'
  1598. id='27'>
  1599. <getAllIndexValues xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' index='apartment'/>
  1600. </iq>
  1601. <iq type='result'
  1602. from='concentrator@example.org'
  1603. to='client@example.org/client'
  1604. id='27'>
  1605. <getAllIndexValuesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1606. <value>A1-1</value>
  1607. <value>A1-2</value>
  1608. ...
  1609. </getAllIndexValuesResponse>
  1610. </iq>]]>
  1611. </example>
  1612. </section3>
  1613. <section3 topic='Get Node Ancestors'>
  1614. <p>
  1615. In a tree formed data source, all nodes except the root node has a parent node. The <strong>getAncestors</strong> command allows the client to get a list
  1616. of all ancestors (parent, grand parent, etc.) of a node, as is shown in the following example:
  1617. </p>
  1618. <example caption='Get Node Ancestors'>
  1619. <![CDATA[
  1620. <iq type='get'
  1621. from='client@example.org/client'
  1622. to='concentrator@example.org'
  1623. id='42'>
  1624. <getAncestors xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Node2' parameters='false' messages='false' xml:lang='en'/>
  1625. </iq>
  1626. <iq type='result'
  1627. from='concentrator@example.org'
  1628. to='client@example.org/client'
  1629. id='42'>
  1630. <getAncestorsResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1631. <node nodeId='Node2' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  1632. isReadable='true' isControllable='true' hasCommands='true' parentId='Apartment 1-1'/>
  1633. <node nodeId='Apartment 1-1' nodeType='Namespace.Apartment' state='None' hasChildren='true'
  1634. isReadable='false' isControllable='false' hasCommands='true' parentId='Building 1'/>
  1635. <node nodeId='Building 1' nodeType='Namespace.Building' state='None' hasChildren='true'
  1636. isReadable='false' isControllable='false' hasCommands='true' parentId='Street'/>
  1637. <node nodeId='Street' nodeType='Namespace.Street' state='None' hasChildren='true'
  1638. isReadable='false' isControllable='false' hasCommands='true' parentId='Area'/>
  1639. <node nodeId='Area' nodeType='Namespace.Area' state='None' hasChildren='true'
  1640. isReadable='false' isControllable='false' hasCommands='true' parentId='City'/>
  1641. <node nodeId='City' nodeType='Namespace.City' state='None' hasChildren='true'
  1642. isReadable='false' isControllable='false' hasCommands='true' parentId='Region'/>
  1643. <node nodeId='Region' nodeType='Namespace.Region' state='None' hasChildren='true'
  1644. isReadable='false' isControllable='false' hasCommands='true' parentId='Country'/>
  1645. <node nodeId='Country' nodeType='Namespace.Country' state='None' hasChildren='true'
  1646. isReadable='false' isControllable='false' hasCommands='true' parentId='Root'/>
  1647. <node nodeId='Root' nodeType='Namespace.Root' state='None' hasChildren='true'
  1648. isReadable='false' isControllable='false' hasCommands='true'/>
  1649. </getAncestorsResponse>
  1650. </iq>]]>
  1651. </example>
  1652. <p>
  1653. Note that the concentrator returns information about the node itself in the response. The <strong>parameters</strong> and <strong>messages</strong>
  1654. attributes are used in the request to control if the concentrator should return node parameters and node status messages in the response as well.
  1655. </p>
  1656. </section3>
  1657. <section3 topic='Move Node Up'>
  1658. <p>
  1659. As the order of siblings in a tree can be important, depending on the context and type of nodes involved, the client may be allowed to move nodes up and down among siblings.
  1660. To move a node upwards among its siblings is done using the command <strong>moveNodeUp</strong>, as is shown in the following example:
  1661. </p>
  1662. <example caption='Move Node Up'>
  1663. <![CDATA[
  1664. <iq type='set'
  1665. from='client@example.org/client'
  1666. to='concentrator@example.org'
  1667. id='53'>
  1668. <moveNodeUp xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringFieldProcessors' nodeId='LogicalOperator'/>
  1669. </iq>
  1670. <iq type='result'
  1671. from='concentrator@example.org'
  1672. to='client@example.org/client'
  1673. id='53'>
  1674. <moveNodeUpResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  1675. </iq>]]>
  1676. </example>
  1677. <p>
  1678. Note that a node that is first among its siblings will maintain its position. The response to the command must still be <strong>OK</strong>.
  1679. </p>
  1680. </section3>
  1681. <section3 topic='Move Node Down'>
  1682. <p>
  1683. As the order of siblings in a tree can be important, depending on the context and type of nodes involved, the client may be allowed to move nodes up and down among siblings.
  1684. To move a node downwards among its siblings is done using the command <strong>moveNodeDown</strong>, as is shown in the following example:
  1685. </p>
  1686. <example caption='Move Node Up'>
  1687. <![CDATA[
  1688. <iq type='set'
  1689. from='client@example.org/client'
  1690. to='concentrator@example.org'
  1691. id='54'>
  1692. <moveNodeDown xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringFieldProcessors' nodeId='LogicalOperator'/>
  1693. </iq>
  1694. <iq type='result'
  1695. from='concentrator@example.org'
  1696. to='client@example.org/client'
  1697. id='54'>
  1698. <moveNodeDownResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  1699. </iq>]]>
  1700. </example>
  1701. <p>
  1702. Note that a node that is last among its siblings will maintain its position. The response to the command must still be <strong>OK</strong>.
  1703. </p>
  1704. </section3>
  1705. <section3 topic='Move Nodes Up'>
  1706. <p>
  1707. To move a set of nodes upwards among its siblings is done using the command <strong>moveNodesUp</strong>, as is shown in the following example:
  1708. </p>
  1709. <example caption='Move Nodes Up'>
  1710. <![CDATA[
  1711. <iq type='set'
  1712. from='client@example.org/client'
  1713. to='concentrator@example.org'
  1714. id='55'>
  1715. <moveNodesUp xmlns='urn:xmpp:iot:concentrators'>
  1716. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator3'/>
  1717. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator4'/>
  1718. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator5'/>
  1719. </moveNodesUp>
  1720. </iq>
  1721. <iq type='result'
  1722. from='concentrator@example.org'
  1723. to='client@example.org/client'
  1724. id='55'>
  1725. <moveNodesUpResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  1726. </iq>]]>
  1727. </example>
  1728. <p>
  1729. Note that a node that is first among its siblings will maintain its position. The response to the command must still be <strong>OK</strong>. If an attempt is performed to move a
  1730. sequence of nodes that are together first as siblings, none of the nodes move relative to each other.
  1731. </p>
  1732. </section3>
  1733. <section3 topic='Move Nodes Down'>
  1734. <p>
  1735. To move a set of nodes downwards among its siblings is done using the command <strong>moveNodesDown</strong>, as is shown in the following example:
  1736. </p>
  1737. <example caption='Move Node Down'>
  1738. <![CDATA[
  1739. <iq type='set'
  1740. from='client@example.org/client'
  1741. to='concentrator@example.org'
  1742. id='56'>
  1743. <moveNodesDown xmlns='urn:xmpp:iot:concentrators'>
  1744. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator3'/>
  1745. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator4'/>
  1746. <node sourceId='MeteringFieldProcessors' nodeId='LogicalOperator5'/>
  1747. </moveNodesDown>
  1748. </iq>
  1749. <iq type='result'
  1750. from='concentrator@example.org'
  1751. to='client@example.org/client'
  1752. id='56'>
  1753. <moveNodesDownResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  1754. </iq>]]>
  1755. </example>
  1756. <p>
  1757. Note that a node that is last among its siblings will maintain its position. The response to the command must still be <strong>OK</strong>. If an attempt is performed to move a
  1758. sequence of nodes that are together last as siblings, none of the nodes move relative to each other.
  1759. </p>
  1760. </section3>
  1761. </section2>
  1762. <section2 topic='Node Parameters'>
  1763. <section3 topic='Get Node Parameters for editing'>
  1764. <p>
  1765. Previously described commands can return parameters for a node. But these parameters are for presentational or informational use. If the client wants to edit
  1766. the parameters of a node, another set of commands must be used. This use case shows how <strong>getNodeParametersForEdit</strong> can be used to edit available
  1767. parameters for one node.
  1768. </p>
  1769. <p>
  1770. <strong>Note:</strong> When editing parameters for a node, a different set of parameters might be returned compared to the set of parameters available in commands
  1771. mentioned above. There may be various reasons for this, among other things (but not limited to) user rights, node settings, and parameter type. User rights may restrict the number
  1772. of parameters the user can access. The node may be configured not to allow editing of certain parameters. Also, some types of parameters may only be available in
  1773. an edit mode (like long multi-line parameters) and not in a shorter presentation mode.
  1774. </p>
  1775. <example caption='Get Node Parameters for editing'>
  1776. <![CDATA[
  1777. <iq type='get'
  1778. from='client@example.org/client'
  1779. to='concentrator@example.org'
  1780. id='28'>
  1781. <getNodeParametersForEdit xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en'/>
  1782. </iq>
  1783. <iq type='result'
  1784. from='concentrator@example.org'
  1785. to='client@example.org/client'
  1786. id='28'>
  1787. <getNodeParametersForEditResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1788. <x type='form'
  1789. xmlns='jabber:x:data'
  1790. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  1791. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  1792. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  1793. <title>Node1</title>
  1794. <xdl:page label='Identity'>
  1795. <xdl:fieldref var='id'/>
  1796. <xdl:fieldref var='type'/>
  1797. <xdl:fieldref var='class'/>
  1798. <xdl:fieldref var='sn'/>
  1799. </xdl:page>
  1800. <xdl:page label='Location'>
  1801. <xdl:fieldref var='meterLoc'/>
  1802. <xdl:fieldref var='lat'/>
  1803. <xdl:fieldref var='long'/>
  1804. </xdl:page>
  1805. <xdl:page label='Communication'>
  1806. <xdl:fieldref var='addr'/>
  1807. </xdl:page>
  1808. <field var='xdd session' type='hidden'>
  1809. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  1810. </field>
  1811. <field var='id' type='text-single' label='Node ID:'>
  1812. <desc>ID of the node.</desc>
  1813. <required/>
  1814. <value>Node1</value>
  1815. </field>
  1816. <field var='type' type='text-single' label='Node Type:'>
  1817. <desc>Type of node.</desc>
  1818. <value>Watchamacallit Temperature Sensor v1.2</value>
  1819. <xdd:readOnly/>
  1820. </field>
  1821. <field var='class' type='list-single' label='Node Class:'>
  1822. <desc>Class of node</desc>
  1823. <value>Temperature</value>
  1824. <option label='Cooling'><value>Cooling</value></option>
  1825. <option label='Electricity'><value>Electricity</value></option>
  1826. <option label='Heating'><value>Heating</value></option>
  1827. <option label='Pressure'><value>Pressure</value></option>
  1828. <option label='Temperature'><value>Temperature</value></option>
  1829. <option label='Water'><value>Water</value></option>
  1830. ...
  1831. </field>
  1832. <field var='sn' type='text-single' label='Serial Number:'>
  1833. <desc>Serial number of node/device.</desc>
  1834. <value>123456</value>
  1835. </field>
  1836. <field var='meterLoc' type='text-single' label='Meter Location:'>
  1837. <desc>Meter Location.</desc>
  1838. <value>P123502-2</value>
  1839. </field>
  1840. <field var='addr' type='text-single' label='Address:'>
  1841. <xdv:validate datatype='xs:int'>
  1842. <xdv:range min='1' max='250'/>
  1843. </xdv:validate>
  1844. <desc>Bus address</desc>
  1845. <value>123</value>
  1846. </field>
  1847. <field var='lat' type='text-single' label='Latitude:'>
  1848. <xdv:validate datatype='xs:double'>
  1849. <xdv:range min='-90' max='90'/>
  1850. </xdv:validate>
  1851. <desc>Latitude of node.</desc>
  1852. <value>12.345</value>
  1853. </field>
  1854. <field var='long' type='text-single' label='Longitude:'>
  1855. <xdv:validate datatype='xs:double'>
  1856. <xdv:range min='-180' max='180'/>
  1857. </xdv:validate>
  1858. <desc>Longitude of node.</desc>
  1859. <value>123.45</value>
  1860. </field>
  1861. </x>
  1862. </getNodeParametersForEditResponse>
  1863. </iq>]]>
  1864. </example>
  1865. <p>
  1866. The following table lists the different XEP's the client should implement to be able to support parameter forms according to this proposal:
  1867. </p>
  1868. <table caption='Form XEPs'>
  1869. <tr>
  1870. <th>XEP</th>
  1871. <th>Description</th>
  1872. </tr>
  1873. <tr>
  1874. <td>XEP-0004</td>
  1875. <td>Describes how basic forms are handled.</td>
  1876. </tr>
  1877. <tr>
  1878. <td>XEP-0122</td>
  1879. <td>Makes it possible to add certain client validation rules to form parameters.</td>
  1880. </tr>
  1881. <tr>
  1882. <td>XEP-0137</td>
  1883. <td>Makes it possible to publish a file upload parameter.</td>
  1884. </tr>
  1885. <tr>
  1886. <td>XEP-0141</td>
  1887. <td>Makes it possible to layout parameters into pages and sections.</td>
  1888. </tr>
  1889. <tr>
  1890. <td>XEP-0331</td>
  1891. <td>Defines extensions for how color parameters can be handled.</td>
  1892. </tr>
  1893. <tr>
  1894. <td>XEP-0336</td>
  1895. <td>Makes it possible to create dynamic forms, with server-side validation and forms that change dynamically depending on input.</td>
  1896. </tr>
  1897. </table>
  1898. <p>
  1899. Read-only parameters will be returned with the <strong>readOnly</strong> element, as defined in <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link>.
  1900. Clients SHOULD support this extension if using this command. However, the server MUST NOT change parameters in a node that are read-only, even if clients happen
  1901. to try to set them.
  1902. </p>
  1903. </section3>
  1904. <section3 topic='Set Node Parameters after editing'>
  1905. <p>
  1906. After editing the form, the client uses the <strong>setNodeParametersAfterEdit</strong> command to set the parameters in the node. Note that it is possible to
  1907. set the same parameters (or a sub-set of the same parameters) to a different node using this command, without the need to get new form parameters. However, after the first
  1908. successful set operation, any form session used for dynamic validation during edit will not be available on the server anymore and must be ignored by the server.
  1909. </p>
  1910. <example caption='Set Node Parameters after editing'>
  1911. <![CDATA[
  1912. <iq type='set'
  1913. from='client@example.org/client'
  1914. to='concentrator@example.org'
  1915. id='29'>
  1916. <setNodeParametersAfterEdit xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en'>
  1917. <x type='submit' xmlns='jabber:x:data'>
  1918. <field var='xdd session' type='hidden'>
  1919. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  1920. </field>
  1921. <field var='id' type='text-single'>
  1922. <value>Node1</value>
  1923. </field>
  1924. <field var='class' type='list-single'>
  1925. <value>Temperature</value>
  1926. </field>
  1927. <field var='sn' type='text-single'>
  1928. <value>123456</value>
  1929. </field>
  1930. <field var='meterLoc' type='text-single'>
  1931. <value>P123502-2</value>
  1932. </field>
  1933. <field var='addr' type='text-single'>
  1934. <value>123</value>
  1935. </field>
  1936. <field var='lat' type='text-single'>
  1937. <value>12.345</value>
  1938. </field>
  1939. <field var='long' type='text-single'>
  1940. <value>123.45</value>
  1941. </field>
  1942. </x>
  1943. </setNodeParametersAfterEdit>
  1944. </iq>
  1945. <iq type='result'
  1946. from='concentrator@example.org'
  1947. to='client@example.org/client'
  1948. id='29'>
  1949. <setNodeParametersAfterEditResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  1950. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  1951. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  1952. <string id='id' name='Node ID' value='Node1'/>
  1953. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  1954. <string id='sn' name='Serial Number' value='123456'/>
  1955. <string id='class' name='Node Class' value='Temperature'/>
  1956. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  1957. <int id='addr' name='Address' value='123'/>
  1958. <double id='lat' name='Latitude' value='12.345'/>
  1959. <double id='long' name='Longitude' value='123.45'/>
  1960. </node>
  1961. </setNodeParametersAfterEditResponse>
  1962. </iq>]]>
  1963. </example>
  1964. <p>
  1965. Note that validation rules, pagination, etc., can be stripped from the form when submitting it to the server. Also the form type attribute must be set
  1966. to <strong>'submit'</strong>. Note also that as the <strong>result</strong> attribute is <strong>OK</strong>, it is assumed the server has dropped any parameter form resources
  1967. related to the form, which disables any future dynamic validation of the contents of the form. The newly edited node will also be available in the response
  1968. in a <strong>node</strong> element.
  1969. </p>
  1970. </section3>
  1971. <section3 topic='Set Node Parameters after editing, Failure'>
  1972. <p>
  1973. The following example shows how the server responds when the client tries to set invalid parameters. The response contains detailed information about why,
  1974. information which the client can use to inform the user (if any) of what went wrong.
  1975. </p>
  1976. <example caption='Set Node Parameters after editing, Failure'>
  1977. <![CDATA[
  1978. <iq type='set'
  1979. from='client@example.org/client'
  1980. to='concentrator@example.org'
  1981. id='30'>
  1982. <setNodeParametersAfterEdit xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node2' xml:lang='en'>
  1983. <x type='submit' xmlns='jabber:x:data'>
  1984. <field var='xdd session' type='hidden'>
  1985. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  1986. </field>
  1987. <field var='id' type='text-single'>
  1988. <value>Node1</value>
  1989. </field>
  1990. <field var='class' type='list-single'>
  1991. <value>Temperature</value>
  1992. </field>
  1993. <field var='sn' type='text-single'>
  1994. <value>123456</value>
  1995. </field>
  1996. <field var='meterLoc' type='text-single'>
  1997. <value>P123502-2</value>
  1998. </field>
  1999. <field var='addr' type='text-single'>
  2000. <value>123</value>
  2001. </field>
  2002. <field var='lat' type='text-single'>
  2003. <value>12.345</value>
  2004. </field>
  2005. <field var='long' type='text-single'>
  2006. <value>123.45</value>
  2007. </field>
  2008. </x>
  2009. </setNodeParametersAfterEdit>
  2010. </iq>
  2011. <iq type='error'
  2012. from='concentrator@example.org'
  2013. to='client@example.org/client'
  2014. id='30'>
  2015. <setNodeParametersAfterEditResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2016. <error var='id'>There already exists a node with this ID.</error>
  2017. </setNodeParametersAfterEditResponse>
  2018. </iq>]]>
  2019. </example>
  2020. <p>
  2021. As the <strong>result</strong> attribute is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  2022. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  2023. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link>
  2024. <note>
  2025. XEP-0336: Dynamic Data Forms &lt;<link url='http://xmpp.org/extensions/xep-0336.html'>http://xmpp.org/extensions/xep-0336.html</link>&gt;
  2026. </note> for more information.
  2027. </p>
  2028. </section3>
  2029. <section3 topic='Get Common Node Parameters for editing'>
  2030. <p>
  2031. Advanced concentrators handling large quantities of nodes may let users edit sets of nodes at once to be practical. This is done by publishing the
  2032. <strong>getCommonNodeParametersForEdit</strong> command. It will return a form with parameters that are common for all selected nodes. Since nodes
  2033. may have different node types it is assumed that different nodes have different sets of parameters. But if this command is used, only parameters matching
  2034. in IDs, descriptions, validation rules, etc., (but not values) will be returned in a form.
  2035. </p>
  2036. <p>
  2037. <strong>Important:</strong> A parameter that exists in multiple nodes, but has different parameter values among the nodes, will be marked with the
  2038. <strong>notSame</strong> element, according to <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link>. Clients using this command MUST
  2039. support the extensions defined in <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link>.
  2040. </p>
  2041. <example caption='Get Common Node Parameters for editing'>
  2042. <![CDATA[
  2043. <iq type='get'
  2044. from='client@example.org/client'
  2045. to='concentrator@example.org'
  2046. id='31'>
  2047. <getCommonNodeParametersForEdit xmlns='urn:xmpp:iot:concentrators' xml:lang='en'>
  2048. <node sourceId='MeteringTopology' nodeId='Node1'/>
  2049. <node sourceId='MeteringTopology' nodeId='Node2'/>
  2050. <node sourceId='MeteringTopology' nodeId='Node3'/>
  2051. </getCommonNodeParametersForEdit>
  2052. </iq>
  2053. <iq type='result'
  2054. from='concentrator@example.org'
  2055. to='client@example.org/client'
  2056. id='31'>
  2057. <getCommonNodeParametersForEditResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2058. <x type='form'
  2059. xmlns='jabber:x:data'
  2060. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  2061. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  2062. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  2063. <title>Node1, Node2, Node3</title>
  2064. <xdl:page label='Identity'>
  2065. <xdl:fieldref var='type'/>
  2066. <xdl:fieldref var='class'/>
  2067. <xdl:fieldref var='sn'/>
  2068. </xdl:page>
  2069. <xdl:page label='Location'>
  2070. <xdl:fieldref var='meterLoc'/>
  2071. <xdl:fieldref var='lat'/>
  2072. <xdl:fieldref var='long'/>
  2073. </xdl:page>
  2074. <field var='xdd session' type='hidden'>
  2075. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  2076. </field>
  2077. <field var='type' type='text-single' label='Node Type:'>
  2078. <desc>Type of node.</desc>
  2079. <value>Watchamacallit Temperature Sensor v1.2</value>
  2080. <xdd:readOnly/>
  2081. <xdd:notSame/>
  2082. </field>
  2083. <field var='class' type='list-single' label='Node Class:'>
  2084. <desc>Class of node</desc>
  2085. <value>Temperature</value>
  2086. <xdd:notSame/>
  2087. <option label='Cooling'><value>Cooling</value></option>
  2088. <option label='Electricity'><value>Electricity</value></option>
  2089. <option label='Heating'><value>Heating</value></option>
  2090. <option label='Pressure'><value>Pressure</value></option>
  2091. <option label='Temperature'><value>Temperature</value></option>
  2092. <option label='Water'><value>Water</value></option>
  2093. ...
  2094. </field>
  2095. <field var='sn' type='text-single' label='Serial Number:'>
  2096. <desc>Serial number of node/device.</desc>
  2097. <value>123456</value>
  2098. <xdd:notSame/>
  2099. </field>
  2100. <field var='meterLoc' type='text-single' label='Meter Location:'>
  2101. <desc>Meter Location.</desc>
  2102. <value>P123502-2</value>
  2103. <xdd:notSame/>
  2104. </field>
  2105. <field var='addr' type='text-single' label='Address:'>
  2106. <xdv:validate datatype='xs:int'>
  2107. <xdv:range min='1' max='250'/>
  2108. </xdv:validate>
  2109. <desc>Bus address</desc>
  2110. <value>123</value>
  2111. <xdd:notSame/>
  2112. </field>
  2113. <field var='lat' type='text-single' label='Latitude:'>
  2114. <xdv:validate datatype='xs:double'>
  2115. <xdv:range min='-90' max='90'/>
  2116. </xdv:validate>
  2117. <desc>Latitude of node.</desc>
  2118. <value>12.345</value>
  2119. <xdd:notSame/>
  2120. </field>
  2121. <field var='long' type='text-single' label='Longitude:'>
  2122. <xdv:validate datatype='xs:double'>
  2123. <xdv:range min='-180' max='180'/>
  2124. </xdv:validate>
  2125. <desc>Longitude of node.</desc>
  2126. <value>123.45</value>
  2127. <xdd:notSame/>
  2128. </field>
  2129. </x>
  2130. </getCommonNodeParametersForEditResponse>
  2131. </iq>]]>
  2132. </example>
  2133. <p>
  2134. Note that parameters that are not available in all selected nodes will have been removed. Also and ID-parameter will have been removed, since they
  2135. cannot be set for a collection of nodes.
  2136. </p>
  2137. <p>
  2138. Fields marked with the <strong>notSame</strong> element only present one value, perhaps the value of the first node. However, the field should be clearly
  2139. marked in any end-user GUI (for example by graying the field), and MUST ONLY be sent back to the server in a set operation if explicitly edited by the end-user.
  2140. The parameter will be set in all selected nodes in that case. Unedited fields should be treated as if the end-user accepts the different values for the current set of nodes.
  2141. </p>
  2142. </section3>
  2143. <section3 topic='Set Common Node Parameters after editing'>
  2144. <p>
  2145. After editing the form, the client uses the <strong>setCommonNodeParametersAfterEdit</strong> command to set the parameters in the set of nodes. Note that it is possible to
  2146. set the same parameters (or a sub-set of the same parameters) to a different set of nodes using this command, without the need to get new form parameters. However, after the first
  2147. successful set operation, any form session used for dynamic validation during edit will not be available on the server any more.
  2148. </p>
  2149. <example caption='Set Common Node Parameters after editing'>
  2150. <![CDATA[
  2151. <iq type='set'
  2152. from='client@example.org/client'
  2153. to='concentrator@example.org'
  2154. id='32'>
  2155. <setCommonNodeParametersAfterEdit xmlns='urn:xmpp:iot:concentrators' xml:lang='en'>
  2156. <node sourceId='MeteringTopology' nodeId='Node1'/>
  2157. <node sourceId='MeteringTopology' nodeId='Node2'/>
  2158. <node sourceId='MeteringTopology' nodeId='Node3'/>
  2159. <x type='submit' xmlns='jabber:x:data'>
  2160. <field var='xdd session' type='hidden'>
  2161. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  2162. </field>
  2163. <field var='class' type='list-single'>
  2164. <value>Temperature</value>
  2165. </field>
  2166. </x>
  2167. </setCommonNodeParametersAfterEdit>
  2168. </iq>
  2169. <iq type='error'
  2170. from='concentrator@example.org'
  2171. to='client@example.org/client'
  2172. id='32'>
  2173. <setCommonNodeParametersAfterEditResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2174. <node nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  2175. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  2176. <string id='id' name='Node ID' value='Node1'/>
  2177. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  2178. <string id='sn' name='Serial Number' value='123456'/>
  2179. <string id='class' name='Node Class' value='Temperature'/>
  2180. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  2181. <int id='addr' name='Address' value='123'/>
  2182. <double id='lat' name='Latitude' value='12.345'/>
  2183. <double id='long' name='Longitude' value='123.45'/>
  2184. </node>
  2185. <node nodeId='Node2' nodeType='Namespace.NodeType2' cacheType='Node' state='None' hasChildren='false'
  2186. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  2187. <string id='id' name='Node ID' value='Node2'/>
  2188. <string id='type' name='Node Type' value='Watchamacallit Pressure Sensor v1.2'/>
  2189. <string id='sn' name='Serial Number' value='234567'/>
  2190. <string id='class' name='Node Class' value='Temperature'/>
  2191. <string id='meterLoc' name='Meter Location' value='P668632-6'/>
  2192. <int id='addr' name='Address' value='124'/>
  2193. <double id='lat' name='Latitude' value='12.345'/>
  2194. <double id='long' name='Longitude' value='123.45'/>
  2195. </node>
  2196. <node nodeId='Node3' nodeType='Namespace.NodeType3' cacheType='Node' state='None' hasChildren='false'
  2197. isReadable='true' isControllable='true' hasCommands='true' parentId='Root'>
  2198. <string id='id' name='Node ID' value='Node3'/>
  2199. <string id='type' name='Node Type' value='Watchamacallit Electricity Meter v1.2'/>
  2200. <string id='sn' name='Serial Number' value='345678'/>
  2201. <string id='class' name='Node Class' value='Temperature'/>
  2202. <string id='meterLoc' name='Meter Location' value='P332367-9'/>
  2203. <int id='addr' name='Address' value='125'/>
  2204. <double id='lat' name='Latitude' value='12.345'/>
  2205. <double id='long' name='Longitude' value='123.45'/>
  2206. </node>
  2207. </setCommonNodeParametersAfterEditResponse>
  2208. </iq>]]>
  2209. </example>
  2210. <p>
  2211. Note that validation rules, pagination, etc., can be stripped from the form when submitting it to the server. Also the form type attribute must be set
  2212. to <strong>'submit'</strong>. Note also that as the <strong>result</strong> attribute is <strong>OK</strong>, it is assumed the server has dropped any parameter form resources
  2213. related to the form, which disables any future dynamic validation of the contents of the form.
  2214. </p>
  2215. <p>
  2216. <strong>Important:</strong> A parameter that exists in multiple nodes, but has different parameter values among the nodes, will be marked with the
  2217. <strong>notSame</strong> element, according to <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link>. Such parameters MUST NOT be sent back to the server
  2218. unless they have explicitly been edited or signed by the end-user. The value sent back to the server will be set in all nodes.
  2219. </p>
  2220. </section3>
  2221. <section3 topic='Set Common Node Parameters after editing, Failure'>
  2222. <p>
  2223. The following example shows how the server responds when the client tries to set invalid parameters to a set of nodes. The response contains detailed information about why,
  2224. information which the client can use to inform the user (if any) of what went wrong.
  2225. </p>
  2226. <example caption='Set Common Node Parameters after editing, Failure'>
  2227. <![CDATA[
  2228. <iq type='set'
  2229. from='client@example.org/client'
  2230. to='concentrator@example.org'
  2231. id='33'>
  2232. <setCommonNodeParametersAfterEdit xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' xml:lang='en'>
  2233. <node sourceId='MeteringTopology' nodeId='Node1'/>
  2234. <node sourceId='MeteringTopology' nodeId='Node2'/>
  2235. <node sourceId='MeteringTopology' nodeId='Node3'/>
  2236. <x type='submit' xmlns='jabber:x:data'>
  2237. <field var='xdd session' type='hidden'>
  2238. <value>009c7956-001c-43fb-8edb-76bcf74272c9</value>
  2239. </field>
  2240. <field var='id' type='text-single'>
  2241. <value>Node1</value>
  2242. </field>
  2243. <field var='class' type='list-single'>
  2244. <value>Temperature</value>
  2245. </field>
  2246. </x>
  2247. </setCommonNodeParametersAfterEdit>
  2248. </iq>
  2249. <iq type='error'
  2250. from='concentrator@example.org'
  2251. to='client@example.org/client'
  2252. id='33'>
  2253. <setCommonNodeParametersAfterEditResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2254. <error var='id'>Parameter not available.</error>
  2255. </setCommonNodeParametersAfterEditResponse>
  2256. </iq>]]>
  2257. </example>
  2258. <p>
  2259. As the <strong>result</strong> attribute is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  2260. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  2261. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  2262. </p>
  2263. </section3>
  2264. <section3 topic='Get Node Messages'>
  2265. <p>
  2266. Each node in the concentrator has a <strong>state</strong>. This state is a dynamic run-time state, and therefore not presented as a more static property.
  2267. This state can be any of the following values, in order of increasing importance:
  2268. </p>
  2269. <table caption='Node states'>
  2270. <tr>
  2271. <th>State</th>
  2272. <th>Description</th>
  2273. </tr>
  2274. <tr>
  2275. <td>None</td>
  2276. <td>Nothing has been reported on the node.</td>
  2277. </tr>
  2278. <tr>
  2279. <td>Information</td>
  2280. <td>There are informative events reported on the node.</td>
  2281. </tr>
  2282. <tr>
  2283. <td>WarningSigned</td>
  2284. <td>There are warnings reported on the node. But these warnings have been viewed by an operator.</td>
  2285. </tr>
  2286. <tr>
  2287. <td>WarningUnsigned</td>
  2288. <td>There are new or unreviewed warnings reported on the node.</td>
  2289. </tr>
  2290. <tr>
  2291. <td>ErrorSigned</td>
  2292. <td>There are errors reported on the node. But these errors have been viewed by an operator.</td>
  2293. </tr>
  2294. <tr>
  2295. <td>ErrorUnsigned</td>
  2296. <td>There are new or unreviewed errors reported on the node.</td>
  2297. </tr>
  2298. </table>
  2299. <p>
  2300. Other types of "states" are of course possible, such as phase - installation phase, test phase, production phase, etc. - but such "states" are seen as static
  2301. and presented as parameters on the node. The purpose of the dynamic state attribute of a node, is to give a dynamic runtime state that has
  2302. the possibility to change during runtime, which operators must be aware of.
  2303. </p>
  2304. <p>
  2305. The following commands have an optional attribute <strong>messages</strong>, with which they can ask the server to return any events logged on the node, giving more details of the
  2306. current state of the node:
  2307. </p>
  2308. <ul>
  2309. <li>
  2310. <strong>getNode</strong>
  2311. </li>
  2312. <li>
  2313. <strong>getNodes</strong>
  2314. </li>
  2315. <li>
  2316. <strong>getChildNodes</strong>
  2317. </li>
  2318. <li>
  2319. <strong>getAllNodes</strong>
  2320. </li>
  2321. <li>
  2322. <strong>getRootNodes</strong>
  2323. </li>
  2324. <li>
  2325. <strong>getNodesFromIndex</strong>
  2326. </li>
  2327. <li>
  2328. <strong>getNodesFromIndices</strong>
  2329. </li>
  2330. </ul>
  2331. <example caption='Get Node Messages'>
  2332. <![CDATA[
  2333. <iq type='get'
  2334. from='client@example.org/client'
  2335. to='concentrator@example.org'
  2336. id='34'>
  2337. <getNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' messages='true' xml:lang='en'/>
  2338. </iq>
  2339. <iq type='result'
  2340. from='concentrator@example.org'
  2341. to='client@example.org/client'
  2342. id='34'>
  2343. <getNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'
  2344. nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  2345. isReadable='true' isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  2346. <message timestamp='2013-03-21T11:06:15' type='WarningUnsigned'
  2347. eventId='ClockWarning'>Internal clock is offset more than 7 seconds.</message>
  2348. </getNodeResponse>
  2349. </iq>]]>
  2350. </example>
  2351. <p>
  2352. The <strong>messages</strong> attribute can be combined with the <strong>parameters</strong> attribute to provide both node parameters and
  2353. messages in the response.
  2354. </p>
  2355. <example caption='Get Node with parameters and messages'>
  2356. <![CDATA[
  2357. <iq type='get'
  2358. from='client@example.org/client'
  2359. to='concentrator@example.org'
  2360. id='35'>
  2361. <getNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' xml:lang='en' parameters='true' messages='true'/>
  2362. </iq>
  2363. <iq type='result'
  2364. from='concentrator@example.org'
  2365. to='client@example.org/client'
  2366. id='35'>
  2367. <getNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'
  2368. nodeId='Node1' nodeType='Namespace.NodeType1' cacheType='Node' state='WarningUnsigned' hasChildren='false'
  2369. isReadable='true' isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  2370. <string id='id' name='Node ID' value='Node1'/>
  2371. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  2372. <string id='sn' name='Serial Number' value='123456'/>
  2373. <string id='class' name='Node Class' value='Temperature'/>
  2374. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  2375. <int id='addr' name='Address' value='123'/>
  2376. <double id='lat' name='Latitude' value='12.345'/>
  2377. <double id='long' name='Longitude' value='123.45'/>
  2378. <message timestamp='2013-03-21T11:06:15' type='WarningUnsigned'
  2379. eventId='ClockWarning'>Internal clock is offset more than 7 seconds.</message>
  2380. </getNodeResponse>
  2381. </iq>]]>
  2382. </example>
  2383. </section3>
  2384. </section2>
  2385. <section2 topic='Creating and Destroying Nodes'>
  2386. <section3 topic='Get Addable Node Types'>
  2387. <p>
  2388. Since nodes are context sensitive, depending on node type and tree structure, before being able to create a new node, it is important to know what types of nodes
  2389. that can be added to a given node. This is done using the <strong>getAddableNodeTypes</strong> command, as is shown in the following example:
  2390. </p>
  2391. <example caption='Get Addable Node Types'>
  2392. <![CDATA[
  2393. <iq type='get'
  2394. from='client@example.org/client'
  2395. to='concentrator@example.org'
  2396. id='36'>
  2397. <getAddableNodeTypes xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1' xml:lang='en'/>
  2398. </iq>
  2399. <iq type='result'
  2400. from='concentrator@example.org'
  2401. to='client@example.org/client'
  2402. id='36'>
  2403. <getAddableNodeTypesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2404. <nodeType type='Namespace.Apartment' name='Apartment'/>
  2405. <nodeType type='Namespace.MeteringTopologyReference' name='Metering Topology Reference'/>
  2406. <nodeType type='Namespace.Location' name='Service Location'/>
  2407. </getAddableNodeTypesResponse>
  2408. </iq>]]>
  2409. </example>
  2410. </section3>
  2411. <section3 topic='Get Parameters for New Node'>
  2412. <p>
  2413. When you know what type of node you want to create, you need to get a set of parameters you need to fill in for the new node, before you can create it.
  2414. This is done using the <strong>getParametersForNewNode</strong> command, as is shown in the following example:
  2415. </p>
  2416. <example caption='Get Parameters for New Node'>
  2417. <![CDATA[
  2418. <iq type='get'
  2419. from='client@example.org/client'
  2420. to='concentrator@example.org'
  2421. id='37'>
  2422. <getParametersForNewNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1'
  2423. type='Namespace.MeteringTopologyReference' xml:lang='en'/>
  2424. </iq>
  2425. <iq type='result'
  2426. from='concentrator@example.org'
  2427. to='client@example.org/client'
  2428. id='37'>
  2429. <getParametersForNewNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2430. <x type='form'
  2431. xmlns='jabber:x:data'
  2432. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  2433. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  2434. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  2435. <title>Metering Topology</title>
  2436. <xdl:page label='Identity'>
  2437. <xdl:fieldref var='id'/>
  2438. <xdl:fieldref var='referenceId'/>
  2439. </xdl:page>
  2440. <field var='xdd session' type='hidden'>
  2441. <value>0B146517-8EA3-4BEC-A2E9-CF3F209D4A5D</value>
  2442. </field>
  2443. <field var='id' type='text-single' label='Node ID:'>
  2444. <desc>ID of the node.</desc>
  2445. <required/>
  2446. <value/>
  2447. </field>
  2448. <field var='referenceId' type='text-single' label='Metering Node ID:'>
  2449. <desc>ID of the node in the metering topology.</desc>
  2450. <required/>
  2451. <value/>
  2452. </field>
  2453. </x>
  2454. </getParametersForNewNodeResponse>
  2455. </iq>]]>
  2456. </example>
  2457. </section3>
  2458. <section3 topic='Create New Node'>
  2459. <p>
  2460. After editing the form, the client uses the <strong>createNewNode</strong> command to create the new node using the parameters provided in the form.
  2461. </p>
  2462. <example caption='Create New Node after editing'>
  2463. <![CDATA[
  2464. <iq type='set'
  2465. from='client@example.org/client'
  2466. to='concentrator@example.org'
  2467. id='38'>
  2468. <createNewNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1'
  2469. type='Namespace.MeteringTopologyReference' xml:lang='en'>
  2470. <x type='submit' xmlns='jabber:x:data'>
  2471. <field var='xdd session' type='hidden'>
  2472. <value>0B146517-8EA3-4BEC-A2E9-CF3F209D4A5D</value>
  2473. </field>
  2474. <field var='id' type='text-single'>
  2475. <value>Reference to Node1</value>
  2476. </field>
  2477. <field var='referenceId' type='text-single'>
  2478. <value>Node1</value>
  2479. </field>
  2480. </x>
  2481. </createNewNode>
  2482. </iq>
  2483. <iq type='result'
  2484. from='concentrator@example.org'
  2485. to='client@example.org/client'
  2486. id='38'>
  2487. <createNewNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2488. <node nodeId='Reference to Node1' nodeType='Namespace.MeteringTopologyReference' state='None' hasChildren='false'
  2489. isReadable='true' isControllable='true' hasCommands='true' parentId='B1'>
  2490. <string id='id' name='Node ID' value='Reference to Node1'/>
  2491. <string id='type' name='Node Type' value='Metering Topology Reference'/>
  2492. <string id='referenceId' name='Reference ID' value='Node1'/>
  2493. </node>
  2494. </createNewNodeResponse>
  2495. </iq>]]>
  2496. </example>
  2497. <p>
  2498. Note that validation rules, pagination, etc., can be stripped from the form when submitting it to the server. Also the form type attribute must be set
  2499. to <strong>'submit'</strong>. Note also that as the <strong>result</strong> attribute is <strong>OK</strong>, it is assumed the server has dropped any parameter form resources
  2500. related to the form, which disables any future dynamic validation of the contents of the form. The newly created node with corresponding parameters is also returned
  2501. in the response in a <strong>node</strong> element.
  2502. </p>
  2503. </section3>
  2504. <section3 topic='Create New Node, Failure'>
  2505. <p>
  2506. The following example shows how the server responds when it cannot accept parameters provided when trying to create a node. The response will contain detailed information
  2507. about why, information which the client can use to inform the user (if any) of what went wrong.
  2508. </p>
  2509. <example caption='Create New Node, Failure'>
  2510. <![CDATA[
  2511. <iq type='set'
  2512. from='client@example.org/client'
  2513. to='concentrator@example.org'
  2514. id='39'>
  2515. <createNewNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1'
  2516. type='Namespace.MeteringTopologyReference' xml:lang='en'>
  2517. <x type='submit' xmlns='jabber:x:data'>
  2518. <field var='xdd session' type='hidden'>
  2519. <value>0B146517-8EA3-4BEC-A2E9-CF3F209D4A5D</value>
  2520. </field>
  2521. <field var='id' type='text-single'>
  2522. <value>Node2</value>
  2523. </field>
  2524. <field var='referenceId' type='text-single'>
  2525. <value>NodeX</value>
  2526. </field>
  2527. </x>
  2528. </createNewNode>
  2529. </iq>
  2530. <iq type='error'
  2531. from='concentrator@example.org'
  2532. to='client@example.org/client'
  2533. id='39'>
  2534. <createNewNodeResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2535. <error var='id'>There already exists a node with this ID.</error>
  2536. <error var='referenceId'>Referenced node was not found.</error>
  2537. </createNewNodeResponse>
  2538. </iq>]]>
  2539. </example>
  2540. <p>
  2541. As the <strong>result</strong> attribute is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  2542. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  2543. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  2544. </p>
  2545. </section3>
  2546. <section3 topic='Destroy Node'>
  2547. <p>
  2548. To destroy (remove) a node from the concentrator, the <strong>destroyNode</strong> command is sent, as is shown in the following example:
  2549. </p>
  2550. <example caption='Destroy Node'>
  2551. <![CDATA[
  2552. <iq type='set'
  2553. from='client@example.org/client'
  2554. to='concentrator@example.org'
  2555. id='40'>
  2556. <destroyNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1' xml:lang='en'/>
  2557. </iq>
  2558. <iq type='result'
  2559. from='concentrator@example.org'
  2560. to='client@example.org/client'
  2561. id='40'>
  2562. <destroyNodeResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  2563. </iq>]]>
  2564. </example>
  2565. <p>
  2566. Since the <strong>result</strong> attribute in the response is <strong>OK</strong>, the node has been removed.
  2567. </p>
  2568. </section3>
  2569. <section3 topic='Destroy Node, Failure'>
  2570. <p>
  2571. If the <strong>result</strong> attribute in the response is other than <strong>OK</strong>, the node was not removed from the concentrator.
  2572. The <strong>result</strong> attribute contains the reason why the operation failed, as is shown in the following example:
  2573. </p>
  2574. <example caption='Destroy Node, Failure'>
  2575. <![CDATA[
  2576. <iq type='set'
  2577. from='client@example.org/client'
  2578. to='concentrator@example.org'
  2579. id='41'>
  2580. <destroyNode xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='B1' xml:lang='en'/>
  2581. </iq>
  2582. <iq type='error'
  2583. from='concentrator@example.org'
  2584. to='client@example.org/client'
  2585. id='41'>
  2586. <destroyNodeResponse xmlns='urn:xmpp:iot:concentrators' result='InsufficientPrivileges'/>
  2587. </iq>]]>
  2588. </example>
  2589. </section3>
  2590. </section2>
  2591. <section2 topic='Node Commands'>
  2592. <section3 topic='Get Node Commands'>
  2593. <p>
  2594. Each node can have a context sensitive set of commands available to it. This is shown using the <strong>hasCommands</strong> attribute in the
  2595. <link url='#nodeinfo'>Node Information</link> record describing the corresponding node. If the client wants to get a list of available commands,
  2596. the <strong>getNodeCommands</strong> command is sent to the concentrator, as is shown in the following example:
  2597. </p>
  2598. <example caption='Get Node Commands'>
  2599. <![CDATA[
  2600. <iq type='get'
  2601. from='client@example.org/client'
  2602. to='concentrator@example.org'
  2603. id='43'>
  2604. <getNodeCommands xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' xml:lang='en'/>
  2605. </iq>
  2606. <iq type='result'
  2607. from='concentrator@example.org'
  2608. to='client@example.org/client'
  2609. id='43'>
  2610. <getNodeCommandsResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2611. <command command='knockDoor' name='Knock on door' type='Simple'
  2612. confirmationString='Are you sure you want to knock on the door?'
  2613. failureString='Unable to knock on the door.'
  2614. successString='Door knocked.'/>
  2615. <command command='scheduleWakeupCall' name='Schedule wakeup call' type='Parameterized'
  2616. failureString='Unable to schedule the wakeup call.'
  2617. successString='Wakeup call scheduled.'/>
  2618. <command command='searchEvents' name='Search events...' type='Query'
  2619. failureString='Unable to search for events.'
  2620. successString='Search for events started...'/>
  2621. </getNodeCommandsResponse>
  2622. </iq>]]>
  2623. </example>
  2624. <p>
  2625. There are three types of commands available: <strong>Simple</strong>, <strong>Parameterized</strong> and <strong>Query</strong>. <strong>Simple</strong> commands
  2626. take no parameters, and are therefore simpler to execute. <strong>Parameterized</strong> commands require the client to get a set of parameters for the corresponding
  2627. command before it can be executed. <strong>Query</strong> commands also require a set of parameters to be executed, but return a response after (or during) execution
  2628. in an asynchronous fashion. Queries can also be aborted during execution. A Query with an empty parameter set is considered to be a simple query, not requiring a
  2629. parameter dialog to be shown.
  2630. </p>
  2631. <p>
  2632. For more information about command attributes, see <link url='#nodecommands'>Node Commands</link>.
  2633. </p>
  2634. </section3>
  2635. <section3 topic='Execute Simple Node Command'>
  2636. <p>
  2637. Executing a simple command is done by sending the <strong>executeNodeCommand</strong> command to the concentrator, as is shown in the following example:
  2638. </p>
  2639. <example caption='Execute Simple Node Command'>
  2640. <![CDATA[
  2641. <iq type='set'
  2642. from='client@example.org/client'
  2643. to='concentrator@example.org'
  2644. id='44'>
  2645. <executeNodeCommand xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' command='knockDoor' xml:lang='en'/>
  2646. </iq>
  2647. <iq type='result'
  2648. from='concentrator@example.org'
  2649. to='client@example.org/client'
  2650. id='44'>
  2651. <executeNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  2652. </iq>]]>
  2653. </example>
  2654. </section3>
  2655. <section3 topic='Get Node Command Parameters'>
  2656. <p>
  2657. To execute a parameterized command or a query on the node, the client first needs to get (and edit) a set of parameters for the command. Getting a set of parameters for a
  2658. parameterized command is done as follows:
  2659. </p>
  2660. <example caption='Get Node Command Parameters'>
  2661. <![CDATA[
  2662. <iq type='get'
  2663. from='client@example.org/client'
  2664. to='concentrator@example.org'
  2665. id='45'>
  2666. <getCommandParameters xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1'
  2667. command='scheduleWakeupCall' xml:lang='en'/>
  2668. </iq>
  2669. <iq type='result'
  2670. from='concentrator@example.org'
  2671. to='client@example.org/client'
  2672. id='45'>
  2673. <getCommandParametersResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2674. <x type='form'
  2675. xmlns='jabber:x:data'
  2676. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  2677. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  2678. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  2679. <title>Schedule wake-up call</title>
  2680. <field var='xdd session' type='hidden'>
  2681. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  2682. </field>
  2683. <field var='time' type='text-single' label='Time:'>
  2684. <desc>Time of the wake-up call.</desc>
  2685. <required/>
  2686. <value></value>
  2687. <xdv:validate datatype='xs:time'/>
  2688. <xdv:basic/>
  2689. </xdv:validate>
  2690. </field>
  2691. <field var='mode' type='list-single' label='Wake-up mode:'>
  2692. <desc>Type of wake-up call</desc>
  2693. <value>Soft</value>
  2694. <option label='Soft'><value>Soft</value></option>
  2695. <option label='Normal'><value>Normal</value></option>
  2696. <option label='Harass'><value>Harass</value></option>
  2697. </field>
  2698. </x>
  2699. </getCommandParametersResponse>
  2700. </iq>]]>
  2701. </example>
  2702. </section3>
  2703. <section3 topic='Execute Parameterized Node Command'>
  2704. <p>
  2705. Executing a parameterized command is also done by sending the <strong>executeNodeCommand</strong> command to the concentrator, but including the edited form parameters,
  2706. as is shown in the following example:
  2707. </p>
  2708. <example caption='Execute Parameterized Node Command'>
  2709. <![CDATA[
  2710. <iq type='set'
  2711. from='client@example.org/client'
  2712. to='concentrator@example.org'
  2713. id='46'>
  2714. <executeNodeCommand xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1'
  2715. command='scheduleWakeupCall' xml:lang='en'>
  2716. <x type='submit' xmlns='jabber:x:data'>
  2717. <field var='xdd session' type='hidden'>
  2718. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  2719. </field>
  2720. <field var='time' type='text-single'>
  2721. <value>04:30:00</value>
  2722. </field>
  2723. <field var='mode' type='list-single'>
  2724. <value>Harass</value>
  2725. </field>
  2726. </x>
  2727. </executeNodeCommand>
  2728. </iq>
  2729. <iq type='result'
  2730. from='concentrator@example.org'
  2731. to='client@example.org/client'
  2732. id='46'>
  2733. <executeNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  2734. </iq>]]>
  2735. </example>
  2736. </section3>
  2737. <section3 topic='Execute Node Command, Failure'>
  2738. <p>
  2739. If an error occurs during the execution of a command or if the server rejects the execution of a command, the server returns a response code different from
  2740. <strong>OK</strong>. If the response code is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  2741. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  2742. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  2743. </p>
  2744. <example caption='Execute Node Command, Failure'>
  2745. <![CDATA[
  2746. <iq type='set'
  2747. from='client@example.org/client'
  2748. to='concentrator@example.org'
  2749. id='47'>
  2750. <executeNodeCommand xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1'
  2751. command='scheduleWakeupCall' xml:lang='en'>
  2752. <x type='submit' xmlns='jabber:x:data'>
  2753. <field var='xdd session' type='hidden'>
  2754. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  2755. </field>
  2756. <field var='time' type='text-single'>
  2757. <value>04:30:00</value>
  2758. </field>
  2759. <field var='mode' type='list-single'>
  2760. <value>Harass</value>
  2761. </field>
  2762. </x>
  2763. </executeNodeCommand>
  2764. </iq>
  2765. <iq type='error'
  2766. from='concentrator@example.org'
  2767. to='client@example.org/client'
  2768. id='47'>
  2769. <executeNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2770. <error var='mode'>You are not allowed to harass people at 04:30:00!</error>
  2771. </executeNodeCommandResponse>
  2772. </iq>]]>
  2773. </example>
  2774. </section3>
  2775. <section3 topic='Execute Node Query'>
  2776. <p>
  2777. Executing a Node Query also requires the client to get a set of parameters for the query. This is done in the same way as for parametrized commands,
  2778. as is shown in the following example:
  2779. </p>
  2780. <example caption='Get Node Query Parameters'>
  2781. <![CDATA[
  2782. <iq type='get'
  2783. from='client@example.org/client'
  2784. to='concentrator@example.org'
  2785. id='74'>
  2786. <getCommandParameters xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1'
  2787. command='searchEvents' xml:lang='en'/>
  2788. </iq>
  2789. <iq type='result'
  2790. from='concentrator@example.org'
  2791. to='client@example.org/client'
  2792. id='74'>
  2793. <getCommandParametersResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2794. <x type='form'
  2795. xmlns='jabber:x:data'
  2796. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  2797. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  2798. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  2799. <title>Search for events</title>
  2800. <field var='xdd session' type='hidden'>
  2801. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  2802. </field>
  2803. <field var='from' type='text-single' label='From:'>
  2804. <desc>From what point in time events will be fetched.</desc>
  2805. <required/>
  2806. <value>2013-04-16T12:58:00</value>
  2807. <xdv:validate datatype='xs:dateTime'/>
  2808. <xdv:basic/>
  2809. </xdv:validate>
  2810. </field>
  2811. <field var='to' type='text-single' label='To:'>
  2812. <desc>To what point in time events will be fetched.</desc>
  2813. <required/>
  2814. <value>2013-04-23T12:58:00</value>
  2815. <xdv:validate datatype='xs:dateTime'/>
  2816. <xdv:basic/>
  2817. </xdv:validate>
  2818. </field>
  2819. <field var='searchText' type='text-single' label='Search Text:'>
  2820. <desc>Only return events including this text.</desc>
  2821. <required/>
  2822. <value></value>
  2823. </field>
  2824. </x>
  2825. </getCommandParametersResponse>
  2826. </iq>]]>
  2827. </example>
  2828. <p>
  2829. Executing the query is then done by sending the <strong>executeNodeQuery</strong> command to the concentrator, but including the edited form parameters,
  2830. as is shown in the following example:
  2831. </p>
  2832. <example caption='Execute Node Query'>
  2833. <![CDATA[
  2834. <iq type='set'
  2835. from='client@example.org/client'
  2836. to='concentrator@example.org'
  2837. id='75'>
  2838. <executeNodeQuery xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' command='searchEvents' xml:lang='en'>
  2839. <x type='submit' xmlns='jabber:x:data'>
  2840. <field var='from' type='text-single'>
  2841. <value>2013-04-16T12:58:00</value>
  2842. </field>
  2843. <field var='to' type='text-single'>
  2844. <value>2013-04-23T12:58:00</value>
  2845. </field>
  2846. <field var='searchText' type='text-single'>
  2847. <value>Harass</value>
  2848. </field>
  2849. </x>
  2850. </executeNodeQuery>
  2851. </iq>
  2852. <iq type='result'
  2853. from='concentrator@example.org'
  2854. to='client@example.org/client'
  2855. id='75'>
  2856. <executeNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='OK' queryId='Query0001'/>
  2857. </iq>
  2858. ...]]>
  2859. </example>
  2860. <p>
  2861. After the successful execution of a query command, a sequence of query events will follow. These events will include a <strong>queryId</strong>
  2862. attribute to identify to which query the corresponding events correspond. See section about <link url='#queryevents'>Query Events</link>
  2863. for more information about this.
  2864. </p>
  2865. <p>
  2866. <strong>Note:</strong> Queries with no visible parameters in the command parameter form need not display a parameter form to the user before being executed.
  2867. However, if a confirmation question is defined for the command, such a confirmation question should always be presented to the user (if possible) before
  2868. executing the command.
  2869. </p>
  2870. </section3>
  2871. <section3 topic='Execute Node Query, Failure'>
  2872. <p>
  2873. If an error occurs during the reception of a query or if the server rejects the execution of a query, the server returns a response code different from
  2874. <strong>OK</strong>. If the response code is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  2875. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  2876. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  2877. </p>
  2878. <example caption='Execute Node Query, Failure'>
  2879. <![CDATA[
  2880. <iq type='set'
  2881. from='client@example.org/client'
  2882. to='concentrator@example.org'
  2883. id='76'>
  2884. <executeNodeQuery xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' command='searchEvents' xml:lang='en'>
  2885. <x type='submit' xmlns='jabber:x:data'>
  2886. <field var='from' type='text-single'>
  2887. <value>2013-04-23T12:58:00</value>
  2888. </field>
  2889. <field var='to' type='text-single'>
  2890. <value>2013-04-16T12:58:00</value>
  2891. </field>
  2892. <field var='searchText' type='text-single'>
  2893. <value>Harass</value>
  2894. </field>
  2895. </x>
  2896. </executeNodeQuery>
  2897. </iq>
  2898. <iq type='error'
  2899. from='concentrator@example.org'
  2900. to='client@example.org/client'
  2901. id='76'>
  2902. <executeNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  2903. <error var='to'>The TO timestamp needs to be later than the FROM timestamp.</error>
  2904. </executeNodeQueryResponse>
  2905. </iq>]]>
  2906. </example>
  2907. </section3>
  2908. <section3 topic='Abort Node Query'>
  2909. <p>
  2910. One a query has been accepted and started running, the client can abort it using the <strong>abortNodeQuery</strong> command, as is shown in the
  2911. following example.
  2912. </p>
  2913. <example caption='Abort Node Query'>
  2914. <![CDATA[
  2915. <iq type='set'
  2916. from='client@example.org/client'
  2917. to='concentrator@example.org'
  2918. id='77'>
  2919. <abortNodeQuery xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' command='searchEvents'
  2920. queryId='Query0001' xml:lang='en'/>
  2921. </iq>
  2922. <iq type='result'
  2923. from='concentrator@example.org'
  2924. to='client@example.org/client'
  2925. id='77'>
  2926. <abortNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  2927. </iq>]]>
  2928. </example>
  2929. <p>
  2930. <strong>Note:</strong> The execution of a query is an asynchronous process, with a small delay between the compilation and transmission of
  2931. <link url='#queryevents'>query events</link> and the reception of them by a client. A client may thinkt a query is still active when asking
  2932. to abort it, when the query might actually have been finished and removed on the query side. Therefore, clients should be aware of this
  2933. when receiving <strong>NotFound</strong> responses from a concentrator, that the query might already have been finished.
  2934. </p>
  2935. </section3>
  2936. <section3 topic='Get Common Commands for Nodes'>
  2937. <p>
  2938. Using the command <strong>getCommonNodeCommands</strong>, the client can receive commands that are common for a set of nodes,
  2939. as is shown in the following example:
  2940. </p>
  2941. <example caption='Get Common Commands for Nodes'>
  2942. <![CDATA[
  2943. <iq type='get'
  2944. from='client@example.org/client'
  2945. to='concentrator@example.org'
  2946. id='48'>
  2947. <getCommonNodeCommands xmlns='urn:xmpp:iot:concentrators' xml:lang='en'>
  2948. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  2949. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  2950. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  2951. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  2952. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  2953. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  2954. </getCommonNodeCommands>
  2955. </iq>
  2956. <iq type='result'
  2957. from='concentrator@example.org'
  2958. to='client@example.org/client'
  2959. id='48'>
  2960. <getCommonNodeCommandsResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2961. <command command='knockDoor' name='Knock on door' type='Simple'
  2962. confirmationString='Are you sure you want to knock on the door?'
  2963. failureString='Unable to knock on the door.'
  2964. successString='Door knocked.'/>
  2965. <command command='scheduleWakeupCall' name='Schedule wakeup call' type='Parameterized'
  2966. failureString='Unable to schedule the wakeup call.'
  2967. successString='Wakeup call scheduled.'/>
  2968. </getCommonNodeCommandsResponse>
  2969. </iq>]]>
  2970. </example>
  2971. </section3>
  2972. <section3 topic='Execute Simple Command on multiple nodes'>
  2973. <p>
  2974. Executing a simple command on multiple nodes is done by sending the <strong>executeCommonNodeCommand</strong> command to the concentrator,
  2975. as is shown in the following example:
  2976. </p>
  2977. <example caption='Execute Simple Command on multiple nodes'>
  2978. <![CDATA[
  2979. <iq type='set'
  2980. from='client@example.org/client'
  2981. to='concentrator@example.org'
  2982. id='49'>
  2983. <executeCommonNodeCommand xmlns='urn:xmpp:iot:concentrators' command='knockDoor' xml:lang='en'>
  2984. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  2985. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  2986. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  2987. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  2988. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  2989. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  2990. </executeCommonNodeCommand>
  2991. </iq>
  2992. <iq type='result'
  2993. from='concentrator@example.org'
  2994. to='client@example.org/client'
  2995. id='49'>
  2996. <executeCommonNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  2997. <result>true</result>
  2998. <result>true</result>
  2999. <result>true</result>
  3000. <result>true</result>
  3001. <result>true</result>
  3002. <result>true</result>
  3003. </executeCommonNodeCommandResponse>
  3004. </iq>]]>
  3005. </example>
  3006. </section3>
  3007. <section3 topic='Get Common Command Parameters from command on multiple nodes'>
  3008. <p>
  3009. To execute a parameterized command on a set of nodes, the client first needs to get (and edit) a set of parameters for the common command. Getting a set of parameters for a
  3010. common parameterized command is done as follows:
  3011. </p>
  3012. <example caption='Get Common Command Parameters from command on multiple nodes'>
  3013. <![CDATA[
  3014. <iq type='get'
  3015. from='client@example.org/client'
  3016. to='concentrator@example.org'
  3017. id='50'>
  3018. <getCommonCommandParameters xmlns='urn:xmpp:iot:concentrators' command='scheduleWakeupCall' xml:lang='en'>
  3019. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3020. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3021. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3022. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3023. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3024. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3025. </getCommonCommandParameters>
  3026. </iq>
  3027. <iq type='result'
  3028. from='concentrator@example.org'
  3029. to='client@example.org/client'
  3030. id='50'>
  3031. <getCommonCommandParametersResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3032. <x type='form'
  3033. xmlns='jabber:x:data'
  3034. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  3035. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  3036. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  3037. <title>Schedule wake-up call</title>
  3038. <field var='xdd session' type='hidden'>
  3039. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  3040. </field>
  3041. <field var='time' type='text-single' label='Time:'>
  3042. <desc>Time of the wake-up call.</desc>
  3043. <required/>
  3044. <value></value>
  3045. <xdv:validate datatype='xs:time'/>
  3046. <xdv:basic/>
  3047. </xdv:validate>
  3048. </field>
  3049. <field var='mode' type='list-single' label='Wake-up mode:'>
  3050. <desc>Type of wake-up call</desc>
  3051. <value>Soft</value>
  3052. <option label='Soft'><value>Soft</value></option>
  3053. <option label='Normal'><value>Normal</value></option>
  3054. <option label='Harass'><value>Harass</value></option>
  3055. </field>
  3056. </x>
  3057. </getCommonCommandParametersResponse>
  3058. </iq>]]>
  3059. </example>
  3060. </section3>
  3061. <section3 topic='Execute Common Parameterized Command on multiple nodes'>
  3062. <p>
  3063. Executing a common parameterized command is also done by sending the <strong>executeCommonNodeCommand</strong> command to the concentrator, but including the edited form parameters,
  3064. as is shown in the following example:
  3065. </p>
  3066. <example caption='Execute Common Parameterized Command on multiple nodes'>
  3067. <![CDATA[
  3068. <iq type='set'
  3069. from='client@example.org/client'
  3070. to='concentrator@example.org'
  3071. id='51'>
  3072. <executeCommonNodeCommand xmlns='urn:xmpp:iot:concentrators' command='scheduleWakeupCall' xml:lang='en'>
  3073. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3074. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3075. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3076. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3077. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3078. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3079. <x type='submit' xmlns='jabber:x:data'>
  3080. <field var='xdd session' type='hidden'>
  3081. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  3082. </field>
  3083. <field var='time' type='text-single'>
  3084. <value>04:30:00</value>
  3085. </field>
  3086. <field var='mode' type='list-single'>
  3087. <value>Harass</value>
  3088. </field>
  3089. </x>
  3090. </executeCommonNodeCommand>
  3091. </iq>
  3092. <iq type='result'
  3093. from='concentrator@example.org'
  3094. to='client@example.org/client'
  3095. id='51'>
  3096. <executeCommonNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3097. <result>true</result>
  3098. <result>true</result>
  3099. <result>true</result>
  3100. <result>true</result>
  3101. <result>true</result>
  3102. <result>true</result>
  3103. </executeCommonNodeCommandResponse>
  3104. </iq>]]>
  3105. </example>
  3106. </section3>
  3107. <section3 topic='Execute Parameterized Command on Multiple Nodes, Failure'>
  3108. <p>
  3109. If an error occurs during the execution of a common command or if the server rejects the execution of a common command, the server returns a response code different from
  3110. <strong>OK</strong>. If the response code is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  3111. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  3112. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  3113. </p>
  3114. <example caption='Execute Parameterized Command on Multiple Nodes, Failure'>
  3115. <![CDATA[
  3116. <iq type='set'
  3117. from='client@example.org/client'
  3118. to='concentrator@example.org'
  3119. id='52'>
  3120. <executeCommonNodeCommand xmlns='urn:xmpp:iot:concentrators' command='scheduleWakeupCall' xml:lang='en'>
  3121. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3122. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3123. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3124. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3125. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3126. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3127. <x type='submit' xmlns='jabber:x:data'>
  3128. <field var='xdd session' type='hidden'>
  3129. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  3130. </field>
  3131. <field var='time' type='text-single'>
  3132. <value>04:30:00</value>
  3133. </field>
  3134. <field var='mode' type='list-single'>
  3135. <value>Harass</value>
  3136. </field>
  3137. </x>
  3138. </executeCommonNodeCommand>
  3139. </iq>
  3140. <iq type='error'
  3141. from='concentrator@example.org'
  3142. to='client@example.org/client'
  3143. id='52'>
  3144. <executeCommonNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  3145. <error var='mode'>You are not allowed to harass people at 04:30:00!</error>
  3146. </executeCommonNodeCommandResponse>
  3147. </iq>]]>
  3148. </example>
  3149. </section3>
  3150. <section3 topic='Execute Command on Multiple Nodes, Partial Failure'>
  3151. <p>
  3152. When executing a command, simple or parameterized, on multiple nodes, it might happen that the command fails on some nodes, but not on others, even though
  3153. any parameters are validated beforehand. Therefore, the client needs to check any <strong>result</strong> elements in the response, even though the
  3154. response code is <strong>OK</strong>.
  3155. </p>
  3156. <p>
  3157. The following example shows the execution of a parameterized command on multiple nodes that fail on some nodes but are executed on others. Note that
  3158. individual error messages can be provided as <strong>error</strong> attribute messages for each node that fails in the corresponding <strong>result</strong>
  3159. element.
  3160. </p>
  3161. <example caption='Execute Command on Multiple Nodes, Partial Failure'>
  3162. <![CDATA[
  3163. <iq type='set'
  3164. from='client@example.org/client'
  3165. to='concentrator@example.org'
  3166. id='72'>
  3167. <executeCommonNodeCommand xmlns='urn:xmpp:iot:concentrators' command='scheduleWakeupCall' xml:lang='en'>
  3168. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3169. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3170. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3171. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3172. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3173. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3174. <x type='submit' xmlns='jabber:x:data'>
  3175. <field var='xdd session' type='hidden'>
  3176. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  3177. </field>
  3178. <field var='time' type='text-single'>
  3179. <value>04:30:00</value>
  3180. </field>
  3181. <field var='mode' type='list-single'>
  3182. <value>Harass</value>
  3183. </field>
  3184. </x>
  3185. </executeCommonNodeCommand>
  3186. </iq>
  3187. <iq type='result'
  3188. from='concentrator@example.org'
  3189. to='client@example.org/client'
  3190. id='72'>
  3191. <executeCommonNodeCommandResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3192. <result>true</result>
  3193. <result>true</result>
  3194. <result error='Too early!'>false</result>
  3195. <result>true</result>
  3196. <result error='Sleeping at that time...'>false</result>
  3197. <result>true</result>
  3198. </executeCommonNodeCommandResponse>
  3199. </iq>]]>
  3200. </example>
  3201. </section3>
  3202. <section3 topic='Execute Common Query on multiple nodes'>
  3203. <p>
  3204. Executing a Node Query on multiple nodes also requires the client to get a set of parameters for the query common to all nodes.
  3205. This is done in the same way as for parametrized commands, as is shown in the following example:
  3206. </p>
  3207. <example caption='Get Common Query Parameters from query on multiple nodes'>
  3208. <![CDATA[
  3209. <iq type='get'
  3210. from='client@example.org/client'
  3211. to='concentrator@example.org'
  3212. id='78'>
  3213. <getCommonCommandParameters xmlns='urn:xmpp:iot:concentrators' command='searchEvents' xml:lang='en'>
  3214. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3215. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3216. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3217. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3218. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3219. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3220. </getCommonCommandParameters>
  3221. </iq>
  3222. <iq type='result'
  3223. from='concentrator@example.org'
  3224. to='client@example.org/client'
  3225. id='78'>
  3226. <getCommonCommandParametersResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3227. <x type='form'
  3228. xmlns='jabber:x:data'
  3229. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  3230. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  3231. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  3232. <title>Schedule wake-up call</title>
  3233. <field var='xdd session' type='hidden'>
  3234. <value>E14E330F-8496-46F0-8F40-178808AB13A7</value>
  3235. </field>
  3236. <field var='from' type='text-single' label='From:'>
  3237. <desc>From what point in time events will be fetched.</desc>
  3238. <required/>
  3239. <value>2013-04-16T12:58:00</value>
  3240. <xdv:validate datatype='xs:dateTime'/>
  3241. <xdv:basic/>
  3242. </xdv:validate>
  3243. </field>
  3244. <field var='to' type='text-single' label='To:'>
  3245. <desc>To what point in time events will be fetched.</desc>
  3246. <required/>
  3247. <value>2013-04-23T12:58:00</value>
  3248. <xdv:validate datatype='xs:dateTime'/>
  3249. <xdv:basic/>
  3250. </xdv:validate>
  3251. </field>
  3252. <field var='searchText' type='text-single' label='Search Text:'>
  3253. <desc>Only return events including this text.</desc>
  3254. <required/>
  3255. <value></value>
  3256. </field>
  3257. </x>
  3258. </getCommonCommandParametersResponse>]]>
  3259. </example>
  3260. <p>
  3261. Executing the query is then done by sending the <strong>executeCommonNodeQuery</strong> command to the concentrator, but including the edited form parameters,
  3262. as is shown in the following example:
  3263. </p>
  3264. <example caption='Execute Common Query on multiple nodes'>
  3265. <![CDATA[
  3266. <iq type='set'
  3267. from='client@example.org/client'
  3268. to='concentrator@example.org'
  3269. id='79'>
  3270. <executeCommonNodeQuery xmlns='urn:xmpp:iot:concentrators' command='searchEvents' xml:lang='en'>
  3271. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3272. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3273. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3274. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3275. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3276. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3277. <x type='submit' xmlns='jabber:x:data'>
  3278. <field var='from' type='text-single'>
  3279. <value>2013-04-16T12:58:00</value>
  3280. </field>
  3281. <field var='to' type='text-single'>
  3282. <value>2013-04-23T12:58:00</value>
  3283. </field>
  3284. <field var='searchText' type='text-single'>
  3285. <value>Harass</value>
  3286. </field>
  3287. </x>
  3288. </executeCommonNodeQuery>
  3289. </iq>
  3290. <iq type='result'
  3291. from='concentrator@example.org'
  3292. to='client@example.org/client'
  3293. id='79'>
  3294. <executeCommonNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='OK' queryId='Query0001'/>
  3295. </iq>
  3296. ...]]>
  3297. </example>
  3298. <p>
  3299. After the successful execution of a query command, a sequence of query events will follow. These events will include a <strong>queryId</strong>
  3300. attribute to identify to which query the corresponding events correspond. They will also include node reference attributes so the receptor can
  3301. distinguish information from different nodes in the query. See section about <link url='#queryevents'>Query Events</link>
  3302. for more information about this.
  3303. </p>
  3304. <p>
  3305. <strong>Note:</strong> Queries with no visible parameters in the command parameter form need not display a parameter form to the user before being executed.
  3306. However, if a confirmation question is defined for the command, such a confirmation question should always be presented to the user (if possible) before
  3307. executing the command.
  3308. </p>
  3309. </section3>
  3310. <section3 topic='Execute Common Query on multiple nodes, Failure'>
  3311. <p>
  3312. If an error occurs during the execution of a common query or if the server rejects the execution of a common query, the server returns a response code different from
  3313. <strong>OK</strong>. If the response code is <strong>FormError</strong>, the server maintains any parameter form resources related to the form, and features such as
  3314. dynamic validation of the contents of the form will still be available until the parameters have been successfully set, the operation has been
  3315. explicitly cancelled or a form session time-out has occurred. See <link url='http://xmpp.org/extensions/xep-0336.html'>XEP-0336</link> for more information.
  3316. </p>
  3317. <example caption='Execute Parameterized Query on multiple nodes, Failure'>
  3318. <![CDATA[
  3319. <iq type='set'
  3320. from='client@example.org/client'
  3321. to='concentrator@example.org'
  3322. id='80'>
  3323. <executeCommonNodeQuery xmlns='urn:xmpp:iot:concentrators' command='searchEvents' xml:lang='en'>
  3324. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3325. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3326. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3327. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3328. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3329. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3330. <x type='submit' xmlns='jabber:x:data'>
  3331. <field var='from' type='text-single'>
  3332. <value>2013-04-23T12:58:00</value>
  3333. </field>
  3334. <field var='to' type='text-single'>
  3335. <value>2013-04-16T12:58:00</value>
  3336. </field>
  3337. <field var='searchText' type='text-single'>
  3338. <value>Harass</value>
  3339. </field>
  3340. </x>
  3341. </executeCommonNodeQuery>
  3342. </iq>
  3343. <iq type='error'
  3344. from='concentrator@example.org'
  3345. to='client@example.org/client'
  3346. id='80'>
  3347. <executeCommonNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  3348. <error var='to'>The TO timestamp needs to be later than the FROM timestamp.</error>
  3349. </executeCommonNodeQueryResponse>
  3350. </iq>]]>
  3351. </example>
  3352. </section3>
  3353. <section3 topic='Execute Common Query on multiple nodes, Partial Failure'>
  3354. <p>
  3355. When executing a query on multiple nodes, it might happen that the query is rejected on some nodes, but not on others, even though
  3356. any parameters are validated beforehand. Therefore, the client needs to check any <strong>result</strong> elements in the response, even though the
  3357. response code is <strong>OK</strong>.
  3358. </p>
  3359. <p>
  3360. The following example shows the execution of a query on multiple nodes that fail on some nodes but are executed on others. Note that
  3361. individual error messages can be provided as <strong>error</strong> attribute messages for each node that fails in the corresponding <strong>result</strong>
  3362. element.
  3363. </p>
  3364. <example caption='Execute Common Query on multiple nodes, Partial Failure'>
  3365. <![CDATA[
  3366. <iq type='set'
  3367. from='client@example.org/client'
  3368. to='concentrator@example.org'
  3369. id='81'>
  3370. <executeCommonNodeQuery xmlns='urn:xmpp:iot:concentrators' command='searchEvents' xml:lang='en'>
  3371. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3372. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3373. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3374. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3375. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3376. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3377. <x type='submit' xmlns='jabber:x:data'>
  3378. <field var='from' type='text-single'>
  3379. <value>2013-04-23T12:58:00</value>
  3380. </field>
  3381. <field var='to' type='text-single'>
  3382. <value>2013-04-16T12:58:00</value>
  3383. </field>
  3384. <field var='searchText' type='text-single'>
  3385. <value>Harass</value>
  3386. </field>
  3387. </x>
  3388. </executeCommonNodeQuery>
  3389. </iq>
  3390. <iq type='error'
  3391. from='concentrator@example.org'
  3392. to='client@example.org/client'
  3393. id='81'>
  3394. <executeCommonNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='OK' queryId='Query0002'>
  3395. <result>true</result>
  3396. <result>true</result>
  3397. <result error='Event Database not available!'>false</result>
  3398. <result>true</result>
  3399. <result>true</result>
  3400. <result>true</result>
  3401. </executeCommonNodeQueryResponse>
  3402. </iq>]]>
  3403. </example>
  3404. </section3>
  3405. <section3 topic='Abort Common Query on multiple nodes'>
  3406. <p>
  3407. To abort a query common to a set of nodes you use the <strong>abortCommonNodeQuery</strong> command, as is shown in the following example:
  3408. </p>
  3409. <example caption='Abort Common Query on multiple nodes'>
  3410. <![CDATA[
  3411. <iq type='set'
  3412. from='client@example.org/client'
  3413. to='concentrator@example.org'
  3414. id='82'>
  3415. <abortCommonNodeQuery xmlns='urn:xmpp:iot:concentrators' queryId='Query0002' xml:lang='en'>
  3416. <node sourceId='MeteringGroups' nodeId='Apartment 1-1'/>
  3417. <node sourceId='MeteringGroups' nodeId='Apartment 1-2'/>
  3418. <node sourceId='MeteringGroups' nodeId='Apartment 1-3'/>
  3419. <node sourceId='MeteringGroups' nodeId='Apartment 1-4'/>
  3420. <node sourceId='MeteringGroups' nodeId='Apartment 1-5'/>
  3421. <node sourceId='MeteringGroups' nodeId='Apartment 1-6'/>
  3422. </abortCommonNodeQuery>
  3423. </iq>
  3424. <iq type='result'
  3425. from='concentrator@example.org'
  3426. to='client@example.org/client'
  3427. id='82'>
  3428. <abortCommonNodeQueryResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  3429. </iq>]]>
  3430. </example>
  3431. <p>
  3432. <strong>Note:</strong> The execution of a query is an asynchronous process, with a small delay between the compilation and transmission of
  3433. <link url='#queryevents'>query events</link> and the reception of them by a client. A client may thinkt a query is still active when asking
  3434. to abort it, when the query might actually have been finished and removed on the query side. Therefore, clients should be aware of this
  3435. when receiving <strong>NotFound</strong> responses from a concentrator, that the query might already have been finished. In the case of
  3436. aborting queries on multiple nodes, servers must ignore nodes where the query has already finished executing.
  3437. </p>
  3438. </section3>
  3439. </section2>
  3440. <section2 topic='Query Events' anchor='queryevents'>
  3441. <p>
  3442. Query events are sent as a response to executing queries on nodes. They are reported asynchronously from the concentrator to the client executing the query. Each
  3443. event is wrapped in a <strong>queryProgress</strong> element within a message sent from the concentrator to the client. Each such <strong>queryProgress</strong>
  3444. element can include any number of query events, and the client must process them in the order they appear in the message.
  3445. </p>
  3446. <p>
  3447. Each <strong>queryProgress</strong> element contains a <strong>queryId</strong> attribute identifying the query to which the events correspond. They also contain
  3448. <strong>sourceId</strong>, <strong>nodeId</strong> and an optional <strong>cacheType</strong> to identify from which node in a concentrator the events originated.
  3449. </p>
  3450. <p>
  3451. <strong>Note:</strong> A <strong>queryProgress</strong> element can only contain events from a single query executed on a single node. If a query is executed on
  3452. multiple nodes, events resulting from different nodes will be sent in different messages.
  3453. </p>
  3454. <p>
  3455. The following subsections describe each query event in turn.
  3456. </p>
  3457. <section3 topic='Query Started'>
  3458. <p>
  3459. This event is sent when the query is started on a node. It is sent using a <strong>queryStarted</strong> event element. This element does not take any
  3460. attributes.
  3461. </p>
  3462. <example caption='Query Started'>
  3463. <![CDATA[
  3464. <message from='concentrator@example.org'
  3465. to='client@example.org/client'>
  3466. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3467. <queryStarted/>
  3468. ...
  3469. </queryProgress>
  3470. </message>]]>
  3471. </example>
  3472. </section3>
  3473. <section3 topic='Query Done'>
  3474. <p>
  3475. This event is sent when the query is done on a node. It is sent using a <strong>queryDone</strong> event element. This element does not take any
  3476. attributes.
  3477. </p>
  3478. <example caption='Query Done'>
  3479. <![CDATA[
  3480. <message from='concentrator@example.org'
  3481. to='client@example.org/client'>
  3482. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3483. ...
  3484. <queryDone/>
  3485. </queryProgress>
  3486. </message>]]>
  3487. </example>
  3488. </section3>
  3489. <section3 topic='Query Aborted'>
  3490. <p>
  3491. This event is sent when the query has been aborted on a node. It is sent using a <strong>queryAborted</strong> event element. This element does not take any
  3492. attributes.
  3493. </p>
  3494. <example caption='Query Aborted'>
  3495. <![CDATA[
  3496. <message from='concentrator@example.org'
  3497. to='client@example.org/client'>
  3498. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3499. ...
  3500. <queryAborted/>
  3501. </queryProgress>
  3502. </message>]]>
  3503. </example>
  3504. </section3>
  3505. <section3 topic='New Table'>
  3506. <p>
  3507. A query result can consist of zero or more data tables. Each data table consists of a set of columns and records containing value items for the these
  3508. columns. A new table is identified by a query event named <strong>newTable</strong>. a <strong>newTable</strong> event contains a sequence of
  3509. <strong>column</strong> events each identifying a column in the table.
  3510. </p>
  3511. <example caption='New Table'>
  3512. <![CDATA[
  3513. <message from='concentrator@example.org'
  3514. to='client@example.org/client'>
  3515. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3516. ...
  3517. <newTable tableId='table1' tableName='Events'>
  3518. <column columnId='timestamp' header='Timestamp'>
  3519. <column columnId='message' header='Message'>
  3520. </newTable>
  3521. ...
  3522. </queryProgress>
  3523. </message>]]>
  3524. </example>
  3525. <p>
  3526. For more information about column definitions, see <link url='#columndef'>Table Column definitions in query results</link>.
  3527. </p>
  3528. </section3>
  3529. <section3 topic='New Records'>
  3530. <p>
  3531. A set of records in an open table is reported using the <strong>newRecords</strong> query event.
  3532. </p>
  3533. <example caption='New Records'>
  3534. <![CDATA[
  3535. <message from='concentrator@example.org'
  3536. to='client@example.org/client'>
  3537. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3538. ...
  3539. <newRecords tableId='table1'>
  3540. <record>
  3541. <dateTime>2013-04-24T17:43:15</dateTime>
  3542. <string>Harassed</string>
  3543. </record>
  3544. ...
  3545. </newRecords>
  3546. ...
  3547. </queryProgress>
  3548. </message>]]>
  3549. </example>
  3550. <p>
  3551. For more information about records, see <link url='#recorddef'>Record Item definitions in query results</link>.
  3552. </p>
  3553. </section3>
  3554. <section3 topic='Table Done'>
  3555. <p>
  3556. This event is sent when the query is done with a table. It is sent using a <strong>tableDone</strong> event element. The query must not send any more records
  3557. to a table that has been closed using this query event.
  3558. </p>
  3559. <example caption='Table Done'>
  3560. <![CDATA[
  3561. <message from='concentrator@example.org'
  3562. to='client@example.org/client'>
  3563. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3564. ...
  3565. <tableDone tableId='table1'/>
  3566. ...
  3567. </queryProgress>
  3568. </message>]]>
  3569. </example>
  3570. </section3>
  3571. <section3 topic='New Object'>
  3572. <p>
  3573. Some queries may want to return other types of data than tables, like images, graphs, etc. These may be combined with table information or not.
  3574. A query returns such an object using the <strong>newObject</strong> query event. Each object is MIME encoded, and the MIME Type is sent in the
  3575. <strong>contentType</strong> attribute. The object itself is Base-64 encoded.
  3576. </p>
  3577. <example caption='New Object'>
  3578. <![CDATA[
  3579. <message from='concentrator@example.org'
  3580. to='client@example.org/client'>
  3581. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3582. ...
  3583. <newObject contentType='image/png'>...</newObject>
  3584. ...
  3585. </queryProgress>
  3586. </message>]]>
  3587. </example>
  3588. </section3>
  3589. <section3 topic='Query Message'>
  3590. <p>
  3591. During the processing of a query, the query might want to report a message of some kind. This is done using the <strong>queryMessage</strong>
  3592. query event.
  3593. </p>
  3594. <example caption='Query Message'>
  3595. <![CDATA[
  3596. <message from='concentrator@example.org'
  3597. to='client@example.org/client'>
  3598. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3599. ...
  3600. <queryMessage type='Information' level='Minor'>30 events found.</queryMessage>
  3601. ...
  3602. </queryProgress>
  3603. </message>]]>
  3604. </example>
  3605. <p>
  3606. For more information about query messages, see <link url='#messagedef'>Message definitions in query results</link>.
  3607. </p>
  3608. </section3>
  3609. <section3 topic='Title'>
  3610. <p>
  3611. Enables the executing process of the query to set a custom title for the result. Note that the result only has one title.
  3612. </p>
  3613. <example caption='Title'>
  3614. <![CDATA[
  3615. <message from='concentrator@example.org'
  3616. to='client@example.org/client'>
  3617. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3618. ...
  3619. <title name='Current state'/>
  3620. ...
  3621. </queryProgress>
  3622. </message>]]>
  3623. </example>
  3624. </section3>
  3625. <section3 topic='Status'>
  3626. <p>
  3627. Permits the executing process to report the current status. This can change a lot during execution and values should not be persisted, like
  3628. query messages. Instead, they can be displayed in a status bar, just to give the end-user feedback of the status of a long-running query.
  3629. </p>
  3630. <example caption='Status'>
  3631. <![CDATA[
  3632. <message from='concentrator@example.org'
  3633. to='client@example.org/client'>
  3634. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3635. ...
  3636. <status message='Processing. 67% done.'/>
  3637. ...
  3638. </queryProgress>
  3639. </message>]]>
  3640. </example>
  3641. </section3>
  3642. <section3 topic='Starting a section or subsection'>
  3643. <p>
  3644. Starts a new section in the query result. In large query results, sections can be used to format the result using an intuitive disposition
  3645. in a visually appealing way. Nested sections should be interepreted as sub-sections. Tables and objects started or reported within a section
  3646. belong in that section, and should be listed sequentially in the order they are reported to the client.
  3647. </p>
  3648. <example caption='Starting a section or subsection'>
  3649. <![CDATA[
  3650. <message from='concentrator@example.org'
  3651. to='client@example.org/client'>
  3652. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3653. ...
  3654. <beginSection header='1. Stockholm'/>
  3655. ...
  3656. <beginSection header='1.1. Solna'/>
  3657. ...
  3658. </queryProgress>
  3659. </message>]]>
  3660. </example>
  3661. <p>
  3662. Note that the use of sections in a query result is optional. Tables and objects received outside the scope of sections should be placed
  3663. in a default section by the client.
  3664. </p>
  3665. </section3>
  3666. <section3 topic='Closing a section or subsection'>
  3667. <p>
  3668. Closes the current section or sub-section. Tables inside closed sections can still be open and receive fields. Tables are closed using the
  3669. <strong>tableDone</strong> query event.
  3670. </p>
  3671. </section3>
  3672. <example caption='Starting a section or subsection'>
  3673. <![CDATA[
  3674. <message from='concentrator@example.org'
  3675. to='client@example.org/client'>
  3676. <queryProgress xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringGroups' nodeId='Apartment 1-1' cacheType='Apartment' queryId='Query0001'>
  3677. ...
  3678. <endSection/>
  3679. ...
  3680. <endSection/>
  3681. ...
  3682. </queryProgress>
  3683. </message>]]>
  3684. </example>
  3685. </section2>
  3686. <section2 topic='Data Source Events' anchor='sourceevents'>
  3687. <p>
  3688. Events are asynchronous messages sent from the concentrator to devices registered with the concentrator and having subscribed to events from the concentrator.
  3689. <link url='#subscribe'>Event subscription</link> can be activated using the <strong>subscribe</strong> command. You can also <link url='#subscribe2'>retrieve historical events</link>
  3690. using the <strong>subscribe</strong> command.
  3691. </p>
  3692. <p>
  3693. Each event is sent from the concentrator to each subscriber using a <strong>message</strong> stanza. Each such <strong>message</strong> stanza may contain multiple
  3694. events. The following subsections list the different types of events that can be sent. Even though these examples may list only one element in a message stanza, this
  3695. is not a limitation. Different types of events may also be mixed within the message stanza.
  3696. </p>
  3697. <p>
  3698. Event subscriptions only last for as long as the client and concentrator both maintains presence. The concentrator must not persist
  3699. event notification subscriptions, and if it goes offline and back online, or if the client goes offline or online again for any reason, the event subscription
  3700. is removed.
  3701. </p>
  3702. <p>
  3703. Node events may contain parameters or status messages. This depends on how the subscription was made. The <strong>parameters</strong> and <strong>messages</strong> attributes
  3704. in the <strong>subscribe</strong> command determine if node parameters and/or status messages should be sent in event messages.
  3705. </p>
  3706. <section3 topic='Node added event'>
  3707. <p>
  3708. The <strong>nodeAdded</strong> event is sent when a node has been added to a data source which the client subscribes to. The following example
  3709. shows how such an event message may look like:
  3710. </p>
  3711. <example caption='Node added event, without parameters'>
  3712. <![CDATA[
  3713. <message from='concentrator@example.org'
  3714. to='client@example.org/client'>
  3715. <nodeAdded xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' nodeType='Namespace.NodeType1'
  3716. cacheType='Node' state='None' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  3717. parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  3718. </message>]]>
  3719. </example>
  3720. <example caption='Node added event, with parameters'>
  3721. <![CDATA[
  3722. <message from='concentrator@example.org'
  3723. to='client@example.org/client'>
  3724. <nodeAdded xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' nodeType='Namespace.NodeType1'
  3725. cacheType='Node' state='None' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  3726. parentId='Root' lastChanged='2013-03-19T17:58:01'>
  3727. <string id='id' name='Node ID' value='Node1'/>
  3728. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  3729. <string id='sn' name='Serial Number' value='123456'/>
  3730. <string id='class' name='Node Class' value='Temperature'/>
  3731. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  3732. <int id='addr' name='Address' value='123'/>
  3733. <double id='lat' name='Latitude' value='12.345'/>
  3734. <double id='long' name='Longitude' value='123.45'/>
  3735. </nodeAdded>
  3736. </message>]]>
  3737. </example>
  3738. <p>
  3739. <strong>Note:</strong> Moving a node in a data source from one parent to another, possibly between different data sources, is performed by first
  3740. removing it from the current source (sending a <strong>nodeRemoved</strong> event) and then adding it to the new data source (sending a <strong>nodeAdded</strong>
  3741. event), in that order.
  3742. </p>
  3743. <p>
  3744. If a node is added to a parent where order of nodes is important, the attributes <strong>afterNodeId</strong> and also optionally
  3745. <strong>afterNodeCacheType</strong> used to identify the node after which the new node should be inserted.
  3746. </p>
  3747. <example caption='Ordered Node added event, without parameters'>
  3748. <![CDATA[
  3749. <message from='concentrator@example.org'
  3750. to='client@example.org/client'>
  3751. <nodeAdded xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node2' nodeType='Namespace.NodeType1'
  3752. cacheType='Node' state='None' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  3753. parentId='Root' lastChanged='2013-03-19T17:58:01' afterNodeId='Node1' afterNodeCacheType='Node'/>
  3754. </message>]]>
  3755. </example>
  3756. </section3>
  3757. <section3 topic='Node removed'>
  3758. <p>
  3759. The <strong>nodeRemoved</strong> event is sent when a node in a data source has been removed or destroyed. It does not include status message or parameter
  3760. information about the node, only the reference to the node. The following example shows how such an event message may look like:
  3761. </p>
  3762. <example caption='Node removed'>
  3763. <![CDATA[
  3764. <message from='concentrator@example.org'
  3765. to='client@example.org/client'>
  3766. <nodeRemoved xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1'/>
  3767. </message>]]>
  3768. </example>
  3769. <p>
  3770. <strong>Note:</strong> Moving a node in a data source from one parent to another, possibly between different data sources, is performed by first
  3771. removing it from the current source (sending a <strong>nodeRemoved</strong> event) and then adding it to the new data source (sending a <strong>nodeAdded</strong>
  3772. event), in that order.
  3773. </p>
  3774. </section3>
  3775. <section3 topic='Node updated'>
  3776. <p>
  3777. The <strong>nodeUpdated</strong> event is sent when a node has been updated in a data source which the client subscribes to. The following example
  3778. shows how such an event message may look like:
  3779. </p>
  3780. <example caption='Node updated event, without parameters'>
  3781. <![CDATA[
  3782. <message from='concentrator@example.org'
  3783. to='client@example.org/client'>
  3784. <nodeUpdated xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' nodeType='Namespace.NodeType1'
  3785. cacheType='Node' state='None' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  3786. parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  3787. </message>]]>
  3788. </example>
  3789. <example caption='Node updated event, with parameters'>
  3790. <![CDATA[
  3791. <message from='concentrator@example.org'
  3792. to='client@example.org/client'>
  3793. <nodeUpdated xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' nodeType='Namespace.NodeType1'
  3794. cacheType='Node' state='None' hasChildren='false' isReadable='true' isControllable='true' hasCommands='true'
  3795. parentId='Root' lastChanged='2013-03-19T17:58:01'>
  3796. <string id='id' name='Node ID' value='Node1'/>
  3797. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  3798. <string id='sn' name='Serial Number' value='123456'/>
  3799. <string id='class' name='Node Class' value='Temperature'/>
  3800. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  3801. <int id='addr' name='Address' value='123'/>
  3802. <double id='lat' name='Latitude' value='12.345'/>
  3803. <double id='long' name='Longitude' value='123.45'/>
  3804. </nodeUpdated>
  3805. </message>]]>
  3806. </example>
  3807. <p>
  3808. The event has an optional attribute named <strong>oldId</strong>. It is set when the node has been renamed. It must be used, if available, to identify
  3809. what node has been updated, as the following example shows:
  3810. </p>
  3811. <example caption='Node renamed event, without parameters'>
  3812. <![CDATA[
  3813. <message from='concentrator@example.org'
  3814. to='client@example.org/client'>
  3815. <nodeUpdated xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' oldId='OldNode1' nodeId='Node1'
  3816. nodeType='Namespace.NodeType1' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  3817. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'/>
  3818. </message>]]>
  3819. </example>
  3820. <example caption='Node renamed event, with parameters'>
  3821. <![CDATA[
  3822. <message from='concentrator@example.org'
  3823. to='client@example.org/client'>
  3824. <nodeUpdated xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' oldId='OldNode1' nodeId='Node1'
  3825. nodeType='Namespace.NodeType1' cacheType='Node' state='None' hasChildren='false' isReadable='true'
  3826. isControllable='true' hasCommands='true' parentId='Root' lastChanged='2013-03-19T17:58:01'>
  3827. <string id='id' name='Node ID' value='Node1'/>
  3828. <string id='type' name='Node Type' value='Watchamacallit Temperature Sensor v1.2'/>
  3829. <string id='sn' name='Serial Number' value='123456'/>
  3830. <string id='class' name='Node Class' value='Temperature'/>
  3831. <string id='meterLoc' name='Meter Location' value='P123502-2'/>
  3832. <int id='addr' name='Address' value='123'/>
  3833. <double id='lat' name='Latitude' value='12.345'/>
  3834. <double id='long' name='Longitude' value='123.45'/>
  3835. </nodeUpdated>
  3836. </message>]]>
  3837. </example>
  3838. <p>
  3839. <strong>Note: </strong>If only the status has changed, and no other parameters have changed, the <link url='#nodeStatusChanged'>nodeStatusChanged</link>
  3840. event could be sent instead, for somewhat improved performance in this case.
  3841. </p>
  3842. </section3>
  3843. <section3 topic='Node status changed' anchor='#nodeStatusChanged'>
  3844. <p>
  3845. The <strong>nodeStatusChanged</strong> event is sent when the <link url='#nodestates'>state of the node</link> has changed, but no other parameters have been changed.
  3846. If the client has subscribed to state messages, these will also be included in the event.
  3847. </p>
  3848. <example caption='Node status changed event, without messages'>
  3849. <![CDATA[
  3850. <message from='concentrator@example.org'
  3851. to='client@example.org/client'>
  3852. <nodeStatusChanged xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' cacheType='Node' state='ErrorUnsigned'/>
  3853. </message>]]>
  3854. </example>
  3855. <example caption='Node status changed event, with messages'>
  3856. <![CDATA[
  3857. <message from='concentrator@example.org'
  3858. to='client@example.org/client'>
  3859. <nodeStatusChanged xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1' cacheType='Node' state='ErrorUnsigned'>
  3860. <message timestamp='2013-03-22T12:49:34' type='Error'>Sensor does not respond to read-out requests.</message>
  3861. </nodeStatusChanged>
  3862. </message>]]>
  3863. </example>
  3864. </section3>
  3865. <section3 topic='Node moved up'>
  3866. <p>
  3867. The <strong>nodeMovedUp</strong> event is sent when a node in a data source has been moved up among its siblings. It does not include status message or parameter
  3868. information about the node, only the reference to the node. The following example shows how such an event message may look like:
  3869. </p>
  3870. <example caption='Node moved up'>
  3871. <![CDATA[
  3872. <message from='concentrator@example.org'
  3873. to='client@example.org/client'>
  3874. <nodeMovedUp xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1'/>
  3875. </message>]]>
  3876. </example>
  3877. <p>
  3878. <strong>Note:</strong> If issuing a <strong>moveNodeUp</strong> command on a node that is already first among its siblings, the node is not moved and the
  3879. concentrator must not send a <strong>nodeMovedUp</strong> event. However, if the client receives such an event pointing to a node that is already first among
  3880. its siblings, it should not move the node.
  3881. </p>
  3882. </section3>
  3883. <section3 topic='Node moved down'>
  3884. <p>
  3885. The <strong>nodeMovedDown</strong> event is sent when a node in a data source has been moved down among its siblings. It does not include status message or parameter
  3886. information about the node, only the reference to the node. The following example shows how such an event message may look like:
  3887. </p>
  3888. <example caption='Node moved down'>
  3889. <![CDATA[
  3890. <message from='concentrator@example.org'
  3891. to='client@example.org/client'>
  3892. <nodeMovedDown xmlns='urn:xmpp:iot:concentrators' sourceId='MeteringTopology' nodeId='Node1'/>
  3893. </message>]]>
  3894. </example>
  3895. <p>
  3896. <strong>Note:</strong> If issuing a <strong>moveNodeDown</strong> command on a node that is already last among its siblings, the node is not moved and the
  3897. concentrator must not send a <strong>nodeMovedDown</strong> event. However, if the client receives such an event pointing to a node that is already last among
  3898. its siblings, it should not move the node.
  3899. </p>
  3900. </section3>
  3901. </section2>
  3902. <section2 topic='Field Databases'>
  3903. <p>
  3904. A concentrator can often store data from sensors locally (or remotely but controlled locally). Storage is done in <strong>field databases</strong>. A concentrator with
  3905. only communicative abilities will publish zero such field databases (and support for none of the field database commands), while a pure metering database will publish
  3906. one or many field databases, but none of the nodes available in any of the different data sources are readable or writable. The nodes in this latter case only acts as
  3907. placeholders for the data that the concentrator is storing or controlling.
  3908. </p>
  3909. <p>
  3910. The following subsections lists different use cases relating to field databases and how to use them.
  3911. </p>
  3912. <section3 topic='Get All Databases'>
  3913. <p>
  3914. The client can retrieve the list of available databases on the concentrator using the <strong>getDatabases</strong> command, as is shown in the following example:
  3915. </p>
  3916. <example caption='Get All Databases'>
  3917. <![CDATA[
  3918. <iq type='get'
  3919. from='client@example.org/client'
  3920. to='concentrator@example.org'
  3921. id='64'>
  3922. <getDatabases xmlns='urn:xmpp:iot:concentrators' xml:lang='en'/>
  3923. </iq>
  3924. <iq type='result'
  3925. from='concentrator@example.org'
  3926. to='client@example.org/client'
  3927. id='64'>
  3928. <getDatabasesResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3929. <database databaseId='LocalDB' name='Local Database'/>
  3930. <database databaseId='LocalDBTest' name='Local Test Database'/>
  3931. <database databaseId='LocalDBProduction' name='Local Production Database'/>
  3932. <database databaseId='RemoteDB' name='Remote Database'/>
  3933. </getDatabasesResponse>
  3934. </iq>]]>
  3935. </example>
  3936. </section3>
  3937. <section3 topic='Get Database Readout Parameters'>
  3938. <p>
  3939. Before reading data from a database can begin, a parameter form containing database specific search parameters needs to be fetched from the server.
  3940. This is done using the <strong>getDatabaseReadoutParameters</strong> command, as is shown in the following example:
  3941. </p>
  3942. <example caption='Get Database Readout Parameters'>
  3943. <![CDATA[
  3944. <iq type='get'
  3945. from='client@example.org/client'
  3946. to='concentrator@example.org'
  3947. id='65'>
  3948. <getDatabaseReadoutParameters xmlns='urn:xmpp:iot:concentrators' xml:lang='en' databaseId='LocalDB'/>
  3949. </iq>
  3950. <iq type='result'
  3951. from='concentrator@example.org'
  3952. to='client@example.org/client'
  3953. id='65'>
  3954. <getDatabaseReadoutParametersResponse xmlns='urn:xmpp:iot:concentrators' result='OK'>
  3955. <x type='form'
  3956. xmlns='jabber:x:data'
  3957. xmlns:xdv='http://jabber.org/protocol/xdata-validate'
  3958. xmlns:xdl='http://jabber.org/protocol/xdata-layout'
  3959. xmlns:xdd='urn:xmpp:xdata:dynamic'>
  3960. <title>Database read-out</title>
  3961. <xdl:page label='Time'>
  3962. <xdl:fieldref var='from'/>
  3963. <xdl:fieldref var='to'/>
  3964. </xdl:page>
  3965. <xdl:page label='Fields'>
  3966. <xdl:fieldref var='fields'/>
  3967. </xdl:page>
  3968. <xdl:page label='Types'>
  3969. <xdl:fieldref var='momentary'/>
  3970. <xdl:fieldref var='peak'/>
  3971. <xdl:fieldref var='status'/>
  3972. <xdl:fieldref var='computed'/>
  3973. <xdl:fieldref var='identity'/>
  3974. <xdl:fieldref var='historySecond'/>
  3975. <xdl:fieldref var='historyMinute'/>
  3976. <xdl:fieldref var='historyHour'/>
  3977. <xdl:fieldref var='historyDay'/>
  3978. <xdl:fieldref var='historyWeek'/>
  3979. <xdl:fieldref var='historyMonth'/>
  3980. <xdl:fieldref var='historyQuarter'/>
  3981. <xdl:fieldref var='historyYear'/>
  3982. <xdl:fieldref var='historyOther'/>
  3983. </xdl:page>
  3984. <xdl:page label='Status'>
  3985. <xdl:fieldref var='missing'/>
  3986. <xdl:fieldref var='automaticEstimates'/>
  3987. <xdl:fieldref var='manualEstimates'/>
  3988. <xdl:fieldref var='manualReadout'/>
  3989. <xdl:fieldref var='automaticReadout'/>
  3990. <xdl:fieldref var='timeOffset'/>
  3991. <xdl:fieldref var='warning'/>
  3992. <xdl:fieldref var='error'/>
  3993. <xdl:fieldref var='signed'/>
  3994. <xdl:fieldref var='invoiced'/>
  3995. <xdl:fieldref var='invoicedConfirmed'/>
  3996. <xdl:fieldref var='endOfSeries'/>
  3997. <xdl:fieldref var='powerFailure'/>
  3998. <xdl:fieldref var='statusLogicMode'/>
  3999. </xdl:page>
  4000. <field var='xdd session' type='hidden'>
  4001. <value>C20D4F0C-8F8A-490F-8188-53017DF2B71A</value>
  4002. </field>
  4003. <field var='from' type='text-single' label='From:'>
  4004. <required/>
  4005. <xdv:validate datatype='xs:dateTime'>
  4006. <xdv:basic/>
  4007. </xdv:validate>
  4008. <desc>Read values not older that this timestamp.</desc>
  4009. <value></value>
  4010. </field>
  4011. <field var='to' type='text-single' label='To:'>
  4012. <required/>
  4013. <xdv:validate datatype='xs:dateTime'>
  4014. <xdv:basic/>
  4015. </xdv:validate>
  4016. <desc>Read values not newer that this timestamp.</desc>
  4017. <value></value>
  4018. </field>
  4019. <field var='fields' type='text-multi' label='Fields to include: (Use * as wildcards)'>
  4020. <desc>If specified, only the following fields (include wildcards) will be read out.</desc>
  4021. <value></value>
  4022. </field>
  4023. <field var='momentary' type='boolean' label='Momentary Values'>
  4024. <desc>If checked, momentary values will be read.</desc>
  4025. <value>false</value>
  4026. </field>
  4027. <field var='peak' type='boolean' label='Peak Values'>
  4028. <desc>If checked, peak values will be read.</desc>
  4029. <value>false</value>
  4030. </field>
  4031. <field var='status' type='boolean' label='Status Values'>
  4032. <desc>If checked, status values will be read.</desc>
  4033. <value>false</value>
  4034. </field>
  4035. <field var='computed' type='boolean' label='Computed Values'>
  4036. <desc>If checked, computed values will be read.</desc>
  4037. <value>false</value>
  4038. </field>
  4039. <field var='identity' type='boolean' label='Identity Values'>
  4040. <desc>If checked, identity values will be read.</desc>
  4041. <value>false</value>
  4042. </field>
  4043. <field var='historySecond' type='boolean' label='Historical Values (second)'>
  4044. <desc>If checked, historical values (second) will be read.</desc>
  4045. <value>false</value>
  4046. </field>
  4047. <field var='historyMinute' type='boolean' label='Historical Values (minute)'>
  4048. <desc>If checked, historical values (minute) will be read.</desc>
  4049. <value>false</value>
  4050. </field>
  4051. <field var='historyHour' type='boolean' label='Historical Values (hour)'>
  4052. <desc>If checked, historical values (hour) will be read.</desc>
  4053. <value>false</value>
  4054. </field>
  4055. <field var='historyDay' type='boolean' label='Historical Values (day)'>
  4056. <desc>If checked, historical values (day) will be read.</desc>
  4057. <value>false</value>
  4058. </field>
  4059. <field var='historyWeek' type='boolean' label='Historical Values (week)'>
  4060. <desc>If checked, historical values (week) will be read.</desc>
  4061. <value>false</value>
  4062. </field>
  4063. <field var='historyMonth' type='boolean' label='Historical Values (month)'>
  4064. <desc>If checked, historical values (month) will be read.</desc>
  4065. <value>false</value>
  4066. </field>
  4067. <field var='historyQuarter' type='boolean' label='Historical Values (quarter)'>
  4068. <desc>If checked, historical values (quarter) will be read.</desc>
  4069. <value>false</value>
  4070. </field>
  4071. <field var='historyYear' type='boolean' label='Historical Values (year)'>
  4072. <desc>If checked, historical values (year) will be read.</desc>
  4073. <value>false</value>
  4074. </field>
  4075. <field var='historyOther' type='boolean' label='Historical Values (other)'>
  4076. <desc>If checked, historical values (other) will be read.</desc>
  4077. <value>false</value>
  4078. </field>
  4079. <field var='missing' type='list-single' label='Missing Values:'>
  4080. <desc>Determines how this flag should be treated during readout.</desc>
  4081. <value>Ignore</value>
  4082. <option label='Ignore'><value>Ignore this flag.</value></option>
  4083. <option label='Required'><value>Only read values with this flag set.</value></option>
  4084. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4085. </field>
  4086. <field var='automaticEstimates' type='list-single' label='Automatic Estimates:'>
  4087. <desc>Determines how this flag should be treated during readout.</desc>
  4088. <value>Ignore</value>
  4089. <option label='Ignore'><value>Ignore this flag.</value></option>
  4090. <option label='Required'><value>Only read values with this flag set.</value></option>
  4091. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4092. </field>
  4093. <field var='manualEstimates' type='list-single' label='Manual Estimates:'>
  4094. <desc>Determines how this flag should be treated during readout.</desc>
  4095. <value>Ignore</value>
  4096. <option label='Ignore'><value>Ignore this flag.</value></option>
  4097. <option label='Required'><value>Only read values with this flag set.</value></option>
  4098. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4099. </field>
  4100. <field var='manualReadout' type='list-single' label='Manual Readout:'>
  4101. <desc>Determines how this flag should be treated during readout.</desc>
  4102. <value>Ignore</value>
  4103. <option label='Ignore'><value>Ignore this flag.</value></option>
  4104. <option label='Required'><value>Only read values with this flag set.</value></option>
  4105. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4106. </field>
  4107. <field var='automaticReadout' type='list-single' label='Automatic Readout:'>
  4108. <desc>Determines how this flag should be treated during readout.</desc>
  4109. <value>Ignore</value>
  4110. <option label='Ignore'><value>Ignore this flag.</value></option>
  4111. <option label='Required'><value>Only read values with this flag set.</value></option>
  4112. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4113. </field>
  4114. <field var='timeOffset' type='list-single' label='Time Offset:'>
  4115. <desc>Determines how this flag should be treated during readout.</desc>
  4116. <value>Ignore</value>
  4117. <option label='Ignore'><value>Ignore this flag.</value></option>
  4118. <option label='Required'><value>Only read values with this flag set.</value></option>
  4119. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4120. </field>
  4121. <field var='warning' type='list-single' label='Warning:'>
  4122. <desc>Determines how this flag should be treated during readout.</desc>
  4123. <value>Ignore</value>
  4124. <option label='Ignore'><value>Ignore this flag.</value></option>
  4125. <option label='Required'><value>Only read values with this flag set.</value></option>
  4126. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4127. </field>
  4128. <field var='error' type='list-single' label='Error:'>
  4129. <desc>Determines how this flag should be treated during readout.</desc>
  4130. <value>Ignore</value>
  4131. <option label='Ignore'><value>Ignore this flag.</value></option>
  4132. <option label='Required'><value>Only read values with this flag set.</value></option>
  4133. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4134. </field>
  4135. <field var='signed' type='list-single' label='Signed:'>
  4136. <desc>Determines how this flag should be treated during readout.</desc>
  4137. <value>Ignore</value>
  4138. <option label='Ignore'><value>Ignore this flag.</value></option>
  4139. <option label='Required'><value>Only read values with this flag set.</value></option>
  4140. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4141. </field>
  4142. <field var='invoiced' type='list-single' label='Invoiced:'>
  4143. <desc>Determines how this flag should be treated during readout.</desc>
  4144. <value>Ignore</value>
  4145. <option label='Ignore'><value>Ignore this flag.</value></option>
  4146. <option label='Required'><value>Only read values with this flag set.</value></option>
  4147. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4148. </field>
  4149. <field var='invoicedConfirmed' type='list-single' label='Invoiced and Confirmed:'>
  4150. <desc>Determines how this flag should be treated during readout.</desc>
  4151. <value>Ignore</value>
  4152. <option label='Ignore'><value>Ignore this flag.</value></option>
  4153. <option label='Required'><value>Only read values with this flag set.</value></option>
  4154. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4155. </field>
  4156. <field var='endOfSeries' type='list-single' label='End of Series:'>
  4157. <desc>Determines how this flag should be treated during readout.</desc>
  4158. <value>Ignore</value>
  4159. <option label='Ignore'><value>Ignore this flag.</value></option>
  4160. <option label='Required'><value>Only read values with this flag set.</value></option>
  4161. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4162. </field>
  4163. <field var='powerFailure' type='list-single' label='Power Failure:'>
  4164. <desc>Determines how this flag should be treated during readout.</desc>
  4165. <value>Ignore</value>
  4166. <option label='Ignore'><value>Ignore this flag.</value></option>
  4167. <option label='Required'><value>Only read values with this flag set.</value></option>
  4168. <option label='Prohibit'><value>Only read values with this flag cleared.</value></option>
  4169. </field>
  4170. <field var='statusLogicMode' type='list-single' label='Combination Logic:'>
  4171. <desc>This parameter specifies how multiple status flags are to be treated in the readout.</desc>
  4172. <value>Any</value>
  4173. <option label='Any'><value>Any of the conditions above are met.</value></option>
  4174. <option label='All'><value>All of the conditions above are met.</value></option>
  4175. </field>
  4176. </x>
  4177. </getDatabaseReadoutParametersResponse>
  4178. </iq>]]>
  4179. </example>
  4180. </section3>
  4181. <section3 topic='Start Database Readout'>
  4182. <p>
  4183. Once the parameter form has been filled out, a database readout can be started using the <strong>startDatabaseReadout</strong> command.
  4184. Data read from the concentrator will follow the same flow of sensor data as that described in &xep0323;. The only difference is that the
  4185. read-out is started with the <strong>startDatabaseReadout</strong> command instead of the <strong>req</strong>
  4186. command of the sensor data namespace.
  4187. </p>
  4188. <p>
  4189. The following diagram shows the flow of messages when requesting a readout from a database:
  4190. </p>
  4191. <p>
  4192. <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAq0AAAG9CAIAAACwANj6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADU2SURBVHhe7d1rjzXLddDx+Uo+to/s+SDcbORL8P4SQGQgjh2FWPstBmORCBKiI4QVaYubcIzFi0iJDbEJholzM7k7V+4kklnVtWrV6qreNd2z98zuXfX/qZTprltXd1evqnn85DwP3wcAAKNiHwAAwLjYBwAAMK68D3gAAADD0NU//hCWBbQxVQDg3rEPwMsxVQDg3rEPwMsxVQD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AcU+AAADIjQhzb2AQDQM0If2tgHAEDPCH1oYx8AAD0j9KGNfQAA9IzQhzb2AQDQM0If2tgHAEDPCH1oG2gfAAAACuwDAAAYF/sAAADGxT4AAIBxDbQPYH8DYECEPrSxDwCAnhH60MY+AAB6RuhDG/sAAOgZoQ9t7AMAoGeEPrSxDwCAnhH60MY+AAB6RuhD20D7AAAAUGAfAADAuNgHAAAwLvYBAACMa6B9APsbAAMi9KGNfQAA9IzQhzb2AQDQM0If2tgHAEDPCH1oYx8AAD0j9KGNfQAA9IzQhzb2AQDQM0If2gbaBwAAgAL7AAAAxsU+AACAcbEPAABgXAPtA9jfABgQoQ9t7AMAoGeEPrSxDwCAnhH60MY+AAB6RuhDG/sAAOgZoQ9t7AMAoGeEPrSxDwCAnhH60DbQPgAAABTYBwAAMC72AQAAjIt9AAAA4xpoH8D+BsCACH1oYx8AAD0j9KGNfQAA9IzQhzb2AQDQM0If2tgHAEDPCH1oYx8AAD0j9KFtoH0AAAAosA8AAGBc7AMAABgX+wAAAMbFPgAAgHGxDwAAYFzsAwAAGBf7AAAAxsU+AACAcbEPAABgXOwDAAAYF/sAAADGxT4AAIBxsQ8AAGBc7AMAABgX+wAAAMbFPgAAgHGxDwAAYFzsAwAAGBf7AAAAxsU+AACAcbEPAABgXMv7AAAAMAhd/eMPAAAwIPYBAACM6vvf//8P8IG9eNE4UwAAAABJRU5ErkJggg=='/>
  4193. </p>
  4194. <p>
  4195. The following example shows a <strong>startDatabaseReadout</strong> request:
  4196. </p>
  4197. <example caption='Start Database Readout'>
  4198. <![CDATA[
  4199. <iq type='set'
  4200. from='client@example.org/client'
  4201. to='concentrator@example.org'
  4202. id='66'>
  4203. <startDatabaseReadout xmlns='urn:xmpp:iot:concentrators' xml:lang='en' databaseId='LocalDB' seqnr='1' userToken='12392748927492834'>
  4204. <node sourceId='MeteringTopology' nodeId='Node1'/>
  4205. <node sourceId='MeteringTopology' nodeId='Node2'/>
  4206. <node sourceId='MeteringTopology' nodeId='Node3'/>
  4207. <x type='submit' xmlns='jabber:x:data'>
  4208. <field var='xdd session' type='hidden'>
  4209. <value>C20D4F0C-8F8A-490F-8188-53017DF2B71A</value>
  4210. </field>
  4211. <field var='from' type='text-single'>
  4212. <value>2013-03-22T00:00:00</value>
  4213. </field>
  4214. <field var='to' type='text-single'>
  4215. <value>2013-03-23T00:00:00</value>
  4216. </field>
  4217. <field var='fields' type='text-multi'>
  4218. <value>Temperature</value>
  4219. <value>Pressure</value>
  4220. <value>Power</value>
  4221. </field>
  4222. <field var='momentary' type='boolean'>
  4223. <value>true</value>
  4224. </field>
  4225. <field var='peak' type='boolean'>
  4226. <value>false</value>
  4227. </field>
  4228. <field var='status' type='boolean'>
  4229. <value>false</value>
  4230. </field>
  4231. <field var='computed' type='boolean'>
  4232. <value>false</value>
  4233. </field>
  4234. <field var='identity' type='boolean'>
  4235. <value>false</value>
  4236. </field>
  4237. <field var='historySecond' type='boolean'>
  4238. <value>false</value>
  4239. </field>
  4240. <field var='historyMinute' type='boolean'>
  4241. <value>false</value>
  4242. </field>
  4243. <field var='historyHour' type='boolean'>
  4244. <value>false</value>
  4245. </field>
  4246. <field var='historyDay' type='boolean'>
  4247. <value>false</value>
  4248. </field>
  4249. <field var='historyWeek' type='boolean'>
  4250. <value>false</value>
  4251. </field>
  4252. <field var='historyMonth' type='boolean'>
  4253. <value>false</value>
  4254. </field>
  4255. <field var='historyQuarter' type='boolean'>
  4256. <value>false</value>
  4257. </field>
  4258. <field var='historyYear' type='boolean'>
  4259. <value>false</value>
  4260. </field>
  4261. <field var='historyOther' type='boolean'>
  4262. <value>false</value>
  4263. </field>
  4264. <field var='missing' type='list-single'>
  4265. <value>Ignore</value>
  4266. </field>
  4267. <field var='automaticEstimates' type='list-single'>
  4268. <value>Ignore</value>
  4269. </field>
  4270. <field var='manualEstimates' type='list-single'>
  4271. <value>Ignore</value>
  4272. </field>
  4273. <field var='manualReadout' type='list-single'>
  4274. <value>Ignore</value>
  4275. </field>
  4276. <field var='automaticReadout' type='list-single'>
  4277. <value>Ignore</value>
  4278. </field>
  4279. <field var='timeOffset' type='list-single'>
  4280. <value>Ignore</value>
  4281. </field>
  4282. <field var='warning' type='list-single'>
  4283. <value>Ignore</value>
  4284. </field>
  4285. <field var='error' type='list-single'>
  4286. <value>Ignore</value>
  4287. </field>
  4288. <field var='signed' type='list-single'>
  4289. <value>Ignore</value>
  4290. </field>
  4291. <field var='invoiced' type='list-single'>
  4292. <value>Ignore</value>
  4293. </field>
  4294. <field var='invoicedConfirmed' type='list-single'>
  4295. <value>Ignore</value>
  4296. </field>
  4297. <field var='endOfSeries' type='list-single'>
  4298. <value>Ignore</value>
  4299. </field>
  4300. <field var='powerFailure' type='list-single'>
  4301. <value>Ignore</value>
  4302. </field>
  4303. <field var='statusLogicMode' type='list-single'>
  4304. <value>Any</value>
  4305. </field>
  4306. </x>
  4307. </startDatabaseReadout>
  4308. </iq>
  4309. <iq type='result'
  4310. from='concentrator@example.org'
  4311. to='client@example.org/client'
  4312. id='66'>
  4313. <startDatabaseReadoutResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  4314. </iq>
  4315. ... Readout messages follow.]]>
  4316. </example>
  4317. </section3>
  4318. <section3 topic="Start Database Readout, Failure">
  4319. <p>
  4320. The following example shows a response when the concentrator rejects the read-out request:
  4321. </p>
  4322. <example caption='Start Database Readout, Failure'>
  4323. <![CDATA[
  4324. <iq type='set'
  4325. from='client@example.org/client'
  4326. to='concentrator@example.org'
  4327. id='67'>
  4328. <startDatabaseReadout xmlns='urn:xmpp:iot:concentrators' xml:lang='en' databaseId='LocalDB' seqnr='2' userToken='12392748927492834'>
  4329. <node sourceId='MeteringTopology' nodeId='Node1'/>
  4330. <node sourceId='MeteringTopology' nodeId='Node2'/>
  4331. <node sourceId='MeteringTopology' nodeId='Node3'/>
  4332. <x type='submit' xmlns='jabber:x:data'>
  4333. ...
  4334. </x>
  4335. </startDatabaseReadout>
  4336. </iq>
  4337. <iq type='error'
  4338. from='concentrator@example.org'
  4339. to='client@example.org/client'
  4340. id='67'>
  4341. <startDatabaseReadoutResponse xmlns='urn:xmpp:iot:concentrators' result='InsufficientPrivileges'/>
  4342. </iq>]]>
  4343. </example>
  4344. <p>
  4345. The error might also be a result of invalid input parameters being sent:
  4346. </p>
  4347. <example caption='Start Database Readout, Failure 2'>
  4348. <![CDATA[
  4349. <iq type='set'
  4350. from='client@example.org/client'
  4351. to='concentrator@example.org'
  4352. id='68'>
  4353. <startDatabaseReadout xmlns='urn:xmpp:iot:concentrators' xml:lang='en' databaseId='LocalDB' seqnr='3' userToken='12392748927492834'>
  4354. <node sourceId='MeteringTopology' nodeId='Node1'/>
  4355. <node sourceId='MeteringTopology' nodeId='Node2'/>
  4356. <node sourceId='MeteringTopology' nodeId='Node3'/>
  4357. <x type='submit' xmlns='jabber:x:data'>
  4358. ...
  4359. <field var='from' type='text-single'>
  4360. <value>2013-03-23T00:00:00</value>
  4361. </field>
  4362. <field var='to' type='text-single'>
  4363. <value>2013-03-22T00:00:00</value>
  4364. </field>
  4365. ...
  4366. </x>
  4367. </startDatabaseReadout>
  4368. </iq>
  4369. <iq type='error'
  4370. from='concentrator@example.org'
  4371. to='client@example.org/client'
  4372. id='68'>
  4373. <startDatabaseReadoutResponse xmlns='urn:xmpp:iot:concentrators' result='FormError'>
  4374. <error var='to'>The To timestamp cannot be older than the From timestamp.</error>
  4375. </startDatabaseReadoutResponse>
  4376. </iq>]]>
  4377. </example>
  4378. </section3>
  4379. <section3 topic='Cancelling a database read-out'>
  4380. <p>
  4381. A client can cancel a database read-out using the <link url='http://xmpp.org/extensions/xep-0323.html#cancelreadout'>cancel</link> read-out command,
  4382. as described in <link url='http://xmpp.org/extensions/xep-0323.html'>Internet of Things - Sensor Data</link>.
  4383. </p>
  4384. <example caption='Cancelling a database read-out'>
  4385. <![CDATA[
  4386. <iq type='set'
  4387. from='client@example.org/client'
  4388. to='concentrator@example.org'
  4389. id='70'>
  4390. <startDatabaseReadout xmlns='urn:xmpp:iot:concentrators' xml:lang='en' databaseId='LocalDB' seqnr='4' userToken='12392748927492834'>
  4391. <node sourceId='MeteringTopology' nodeId='Node1'/>
  4392. <node sourceId='MeteringTopology' nodeId='Node2'/>
  4393. <node sourceId='MeteringTopology' nodeId='Node3'/>
  4394. <x type='submit' xmlns='jabber:x:data'>
  4395. ...
  4396. </x>
  4397. </startDatabaseReadout>
  4398. </iq>
  4399. <iq type='result'
  4400. from='concentrator@example.org'
  4401. to='client@example.org/client'
  4402. id='70'>
  4403. <startDatabaseReadoutResponse xmlns='urn:xmpp:iot:concentrators' result='OK'/>
  4404. </iq>
  4405. ...
  4406. <iq type='get'
  4407. from='client@example.org/client'
  4408. to='concentrator@example.org'
  4409. id='71'>
  4410. <cancel xmlns='urn:xmpp:iot:sensordata' seqnr='4'/>
  4411. </iq>
  4412. <iq type='result'
  4413. from='concentrator@example.org'
  4414. to='client@example.org/client'
  4415. id='71'>
  4416. <cancelled xmlns='urn:xmpp:iot:sensordata' seqnr='4'/>
  4417. </iq>]]>
  4418. </example>
  4419. </section3>
  4420. </section2>
  4421. </section1>
  4422. <section1 topic='Determining Support' anchor='support'>
  4423. <p>If an entity supports the protocol specified herein, it MUST advertise that fact by returning a feature of "urn:xmpp:iot:concentrators" in response to &xep0030; information requests.</p>
  4424. <example caption="Service discovery information request">
  4425. <![CDATA[
  4426. <iq type='get'
  4427. from='device@example.org/device'
  4428. to='provisioning@example.org'
  4429. id='disco1'>
  4430. <query xmlns='http://jabber.org/protocol/disco#info'/>
  4431. </iq>]]>
  4432. </example>
  4433. <example caption="Service discovery information response">
  4434. <![CDATA[
  4435. <iq type='result'
  4436. from='provisioning@example.org'
  4437. to='device@example.org/device'
  4438. id='disco1'>
  4439. <query xmlns='http://jabber.org/protocol/disco#info'>
  4440. ...
  4441. <feature var='urn:xmpp:iot:concentrators'/>
  4442. ...
  4443. </query>
  4444. </iq>]]>
  4445. </example>
  4446. <p>
  4447. In order for an application to determine whether an entity supports this protocol, where possible it SHOULD use the dynamic, presence-based profile of service discovery defined
  4448. in &xep0115;. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.
  4449. </p>
  4450. </section1>
  4451. <section1 topic='Implementation Notes' anchor='impl'>
  4452. <section2 topic='Node Information' anchor='nodeinfo'>
  4453. <p>
  4454. Several commands return basic node information. The following table lists possible fields with corresponding descriptions.
  4455. </p>
  4456. <table caption='Basic Node Information'>
  4457. <tr>
  4458. <th>Attribute</th>
  4459. <th>Use</th>
  4460. <th>Default</th>
  4461. <th>Description</th>
  4462. </tr>
  4463. <tr>
  4464. <td>nodeId</td>
  4465. <td>required</td>
  4466. <td>&nbsp;</td>
  4467. <td>The ID of the node in the data source.</td>
  4468. </tr>
  4469. <tr>
  4470. <td>displayName</td>
  4471. <td>optional</td>
  4472. <td>&nbsp;</td>
  4473. <td>If provided, a string presentable to users. If localization is supported and a correct language attribute was provided, this string will be localized.</td>
  4474. </tr>
  4475. <tr>
  4476. <td>nodeType</td>
  4477. <td>optional</td>
  4478. <td>&nbsp;</td>
  4479. <td>A string representing the type of the node.</td>
  4480. </tr>
  4481. <tr>
  4482. <td>localId</td>
  4483. <td>optional</td>
  4484. <td>&nbsp;</td>
  4485. <td>If provided, an ID for the node, but unique locally between siblings.</td>
  4486. </tr>
  4487. <tr>
  4488. <td>logId</td>
  4489. <td>optional</td>
  4490. <td>&nbsp;</td>
  4491. <td>If provided, an ID for the node, as it would appear or be used in system logs.</td>
  4492. </tr>
  4493. <tr>
  4494. <td>cacheType</td>
  4495. <td>optional</td>
  4496. <td>&nbsp;</td>
  4497. <td>Used to uniquely identify the node in sources where the ID of the node is not sufficient. Example: In a spatial ordering different nodes may represent
  4498. countries, regions, cities, areas, streets, buildings and apartments in the same source. However, the ID of each node would depend on what type of node it
  4499. represents. It might be valid to have a region, city and/or area with the same ID. So, to these circumstances, a Cache Type of Country, Region, City, Area,
  4500. Street, Building and Apartment can be used to allow for non-unique IDs within the source, as long as they are unique within the same cache type. ***</td>
  4501. </tr>
  4502. <tr>
  4503. <td>state</td>
  4504. <td>required</td>
  4505. <td>&nbsp;</td>
  4506. <td>Current overall state of the node.</td>
  4507. </tr>
  4508. <tr>
  4509. <td>hasChildren</td>
  4510. <td>required</td>
  4511. <td>&nbsp;</td>
  4512. <td>If the node has children or not.</td>
  4513. </tr>
  4514. <tr>
  4515. <td>childrenOrdered</td>
  4516. <td>optional</td>
  4517. <td>false</td>
  4518. <td>If the children of the node have an intrinsic order (true), or if the order is not important (false). If the order is not important, the client
  4519. can present the order as it wishes, for example sorted on Node ID or any other parameter available on the child nodes. However, if the children have an
  4520. intrinsic order, it's important for the client to refresh the child list when necessary whenever the order is unknown, such as after a nodeAdded event or
  4521. a nodeRemoved event.
  4522. </td>
  4523. </tr>
  4524. <tr>
  4525. <td>isReadable</td>
  4526. <td>optional</td>
  4527. <td>false</td>
  4528. <td>If the node can be read. (*)</td>
  4529. </tr>
  4530. <tr>
  4531. <td>isControllable</td>
  4532. <td>optional</td>
  4533. <td>false</td>
  4534. <td>If the node can be controlled. (**)</td>
  4535. </tr>
  4536. <tr>
  4537. <td>hasCommands</td>
  4538. <td>optional</td>
  4539. <td>false</td>
  4540. <td>If the node has registered commands or not.</td>
  4541. </tr>
  4542. <tr>
  4543. <td>parentId</td>
  4544. <td>optional</td>
  4545. <td>&nbsp;</td>
  4546. <td>The node ID of the parent node. If not available, the node is considered a root node.</td>
  4547. </tr>
  4548. <tr>
  4549. <td>parentCacheType</td>
  4550. <td>optional</td>
  4551. <td>&nbsp;</td>
  4552. <td>The Cache Type of the parent node.</td>
  4553. </tr>
  4554. <tr>
  4555. <td>lastChanged</td>
  4556. <td>optional</td>
  4557. <td>&nbsp;</td>
  4558. <td>When the node was last changed. Can be used by clients to synchronize content between the concentrator and itself.</td>
  4559. </tr>
  4560. </table>
  4561. <p>
  4562. (*) See <link url='http://xmpp.org/extensions/xep-0323.html'>Internet of Things - Sensor Data</link> for more information about how to read nodes.
  4563. </p>
  4564. <p>
  4565. (**) See <link url='http://xmpp.org/extensions/xep-0325.html'>Internet of Things - Control</link> for more information about how to control nodes.
  4566. </p>
  4567. <p>
  4568. (***) Note that <strong>cacheType</strong> is optional. In some data sources it might be necessary to include a cache type to allow for IDs that are not unique
  4569. within the source. In these cases, it concentrator must include the cacheType attribute for nodes in the corresponding data source, and clients must use the corresponding
  4570. cacheType value when referencing the node. But if such a separation of IDs within a source is not required, the concentrator may ignore the cacheType attribute.
  4571. In these instances clients may also ignore the cacheType attribute when referencing the nodes in the corresponding data source, or use the empty string as value for the
  4572. cacheType value. The server must ignore empty cacheType values for data sources not using a cache type separation mechanism.
  4573. </p>
  4574. </section2>
  4575. <section2 topic='Parameter Types'>
  4576. <p>
  4577. Nodes can report parameters of different types. The following table lists available parameter types.
  4578. </p>
  4579. <table caption='Parameter Types'>
  4580. <tr>
  4581. <th>Element Name</th>
  4582. <th>Parameter Value</th>
  4583. </tr>
  4584. <tr>
  4585. <td>boolean</td>
  4586. <td>Boolean values. Can be true or false.</td>
  4587. </tr>
  4588. <tr>
  4589. <td>color</td>
  4590. <td>Color values. They are strings containing 6 case-insensitive hexadecimal digits of the form RRGGBB, where RR=Red component, GG=Green component, BB=Blue component.</td>
  4591. </tr>
  4592. <tr>
  4593. <td>dateTime</td>
  4594. <td>Date and time value, with possible time zone information.</td>
  4595. </tr>
  4596. <tr>
  4597. <td>double</td>
  4598. <td>double precision floating point value.</td>
  4599. </tr>
  4600. <tr>
  4601. <td>duration</td>
  4602. <td>A time duration value.</td>
  4603. </tr>
  4604. <tr>
  4605. <td>int</td>
  4606. <td>A 32-bit integer value.</td>
  4607. </tr>
  4608. <tr>
  4609. <td>long</td>
  4610. <td>A 64-bit integer value.</td>
  4611. </tr>
  4612. <tr>
  4613. <td>string</td>
  4614. <td>A string value.</td>
  4615. </tr>
  4616. <tr>
  4617. <td>time</td>
  4618. <td>A time value using a 24-hour clock.</td>
  4619. </tr>
  4620. </table>
  4621. </section2>
  4622. <section2 topic='Response Codes'>
  4623. <p>
  4624. All responses have a response code that the client is required to check. The following table lists possible response codes and their corresponding meanings.
  4625. </p>
  4626. <table caption='Response Codes'>
  4627. <tr>
  4628. <th>Response Code</th>
  4629. <th>Description</th>
  4630. </tr>
  4631. <tr>
  4632. <td>OK</td>
  4633. <td>Request is OK and accepted.</td>
  4634. </tr>
  4635. <tr>
  4636. <td>NotFound</td>
  4637. <td>Corresponding object, node, etc., was not found.</td>
  4638. </tr>
  4639. <tr>
  4640. <td>InsufficientPrivileges</td>
  4641. <td>Insufficient privileges to perform the corresponding action or execute the corresponding command. Make sure to provide sufficient credentials in the call
  4642. (user, service, device tokens) with sufficient privileges to perform the action/command.</td>
  4643. </tr>
  4644. <tr>
  4645. <td>Locked</td>
  4646. <td>The object/node is locked, and operation could not be performed or completed.</td>
  4647. </tr>
  4648. <tr>
  4649. <td>NotImplemented</td>
  4650. <td>Command is not implemented.</td>
  4651. </tr>
  4652. <tr>
  4653. <td>FormError</td>
  4654. <td>The form send to the concentrator contains errors. The response contains detailed error information.</td>
  4655. </tr>
  4656. <tr>
  4657. <td>OtherError</td>
  4658. <td>Another error occurred.</td>
  4659. </tr>
  4660. </table>
  4661. </section2>
  4662. <section2 topic='Unimplemented commands'>
  4663. <p>
  4664. It's important that the concentrator responds to unrecognized commands. This, to make sure future extensions to this document does not produce unexpected
  4665. results in concentrators implementing a previous version, or in concentrators implementing only a subset of available commands.
  4666. </p>
  4667. <p>
  4668. When a concentrator receives an element that it does not understand, it must do as follows:
  4669. </p>
  4670. <ul>
  4671. <li>If the element is received in a message stanza, the element must be ignored.</li>
  4672. <li>If the element is received in an iq-result stanza, the element must be ignored.</li>
  4673. <li>If the element is received in an iq-get or iq-set stanza, an iq-result stanza must be composed containing an element with the same name as the incoming
  4674. element, but with <strong>Response</strong> appended to it, having a response code of <strong>NotImplemented</strong>.</li>
  4675. </ul>
  4676. <p>
  4677. The following example shows how unrecognized commands must be handled by the concentrator:
  4678. </p>
  4679. <example caption='Unimplemented commands'>
  4680. <![CDATA[
  4681. <iq type='get'
  4682. from='client@example.org/client'
  4683. to='concentrator@example.org'
  4684. id='69'>
  4685. <holabandola xmlns='urn:xmpp:iot:concentrators' ...>
  4686. ...
  4687. </holabandola>
  4688. </iq>
  4689. <iq type='error'
  4690. from='concentrator@example.org'
  4691. to='client@example.org/client'
  4692. id='69'>
  4693. <holabandolaResponse xmlns='urn:xmpp:iot:concentrators' result='NotImplemented'/>
  4694. </iq>]]>
  4695. </example>
  4696. </section2>
  4697. <section2 topic='Command attributes' anchor='nodecommands'>
  4698. <p>
  4699. Node commands have a set of attributes. The following table lists available attributes and what they mean.
  4700. </p>
  4701. <table caption='Command attributes'>
  4702. <tr>
  4703. <th>Attribute</th>
  4704. <th>Use</th>
  4705. <th>Description</th>
  4706. </tr>
  4707. <tr>
  4708. <td>command</td>
  4709. <td>required</td>
  4710. <td>ID of the command. Used to identify the command.</td>
  4711. </tr>
  4712. <tr>
  4713. <td>name</td>
  4714. <td>required</td>
  4715. <td>A string that can be presented to an end-user. Should be localized if the request contained a language preference.</td>
  4716. </tr>
  4717. <tr>
  4718. <td>type</td>
  4719. <td>required</td>
  4720. <td>If the command is 'Simple' or 'Parameterized'.</td>
  4721. </tr>
  4722. <tr>
  4723. <td>sortCategory</td>
  4724. <td>optional</td>
  4725. <td>Should be used (if available) by clients to sort available node commands before presenting them to an end-user. Commands should be sorted by Sort Category, Sort Key and
  4726. lastly by Name.</td>
  4727. </tr>
  4728. <tr>
  4729. <td>sortKey</td>
  4730. <td>optional</td>
  4731. <td>
  4732. Should be used (if available) by clients to sort available node commands before presenting them to an end-user. Commands should be sorted by Sort Category, Sort Key and
  4733. lastly by Name.
  4734. </td>
  4735. </tr>
  4736. <tr>
  4737. <td>confirmationString</td>
  4738. <td>optional</td>
  4739. <td>Should presented to clients (if available) before letting an end-user execute the command. A delete command might have a confirmationString saying
  4740. 'Are you sure you want to delete the current item?' The confirmation string should be presented as a Yes/No[/Cancel] dialog.</td>
  4741. </tr>
  4742. <tr>
  4743. <td>failureString</td>
  4744. <td>optional</td>
  4745. <td>
  4746. Could be presented to end-users (if available) if a command fails. It provides the client with an optionally localized string giving some context to the error message.
  4747. A delete command might have a failureString saying 'Unable to delete the current item.'. The client could then add additional error information, if available,
  4748. for instance from the response code.
  4749. </td>
  4750. </tr>
  4751. <tr>
  4752. <td>successString</td>
  4753. <td>optional</td>
  4754. <td>
  4755. Could be presented to end-users (if available) if a command is successfully executed. It provides the client with an optionally localized string giving some context
  4756. to the message. A delete command might have a successString saying 'Current item successfully deleted.'.
  4757. </td>
  4758. </tr>
  4759. </table>
  4760. </section2>
  4761. <section2 topic='Node States'>
  4762. <p>
  4763. Nodes can be in different states. Even though nodes are free to publish any amount of states as parameters, there are a set of states that are so crucial to the
  4764. concept of a node state, that they are published using a separate attribute and separate events. These node states are as follows:
  4765. </p>
  4766. <table caption='Node States'>
  4767. <tr>
  4768. <th>State</th>
  4769. <th>Description</th>
  4770. </tr>
  4771. <tr>
  4772. <td>None</td>
  4773. <td>The node has nothing special to report.</td>
  4774. </tr>
  4775. <tr>
  4776. <td>Information</td>
  4777. <td>The node has informative events reported on it.</td>
  4778. </tr>
  4779. <tr>
  4780. <td>WarningSigned</td>
  4781. <td>The node has warnings reported on it. These warnings have been viewed by an operator.</td>
  4782. </tr>
  4783. <tr>
  4784. <td>WarningUnsigned</td>
  4785. <td>The node has warnings reported on it that have not been viewed by anybody.</td>
  4786. </tr>
  4787. <tr>
  4788. <td>ErrorSigned</td>
  4789. <td>The node has errors reported on it. These errors have been viewed by an operator.</td>
  4790. </tr>
  4791. <tr>
  4792. <td>ErrorUnsigned</td>
  4793. <td>The node has errors reported on it that have not been viewed by anybody.</td>
  4794. </tr>
  4795. </table>
  4796. </section2>
  4797. <section2 topic='Required Data Sources'>
  4798. <p>
  4799. The following table lists required data sources for concentrators (of sensors, actuators, meters, etc.) in sensor networks:
  4800. </p>
  4801. <table caption='Required Data Sources'>
  4802. <tr>
  4803. <th>Data Source</th>
  4804. <th>Description</th>
  4805. </tr>
  4806. <tr>
  4807. <td>MeteringTopology</td>
  4808. <td>Data Source containing the topology of metering devices, including sensors, actuators, meter, infrastructure components, etc.</td>
  4809. </tr>
  4810. </table>
  4811. <p>
  4812. More information can be found in the <note>XEP-xxxx: Interoperability <link url='#interop'>Interoperability section</link></note>.
  4813. </p>
  4814. </section2>
  4815. <section2 topic='Table Column definitions in query results' anchor='columndef'>
  4816. <p>
  4817. Table columns in query results can have the following attributes:
  4818. </p>
  4819. <table caption='Table Column attributes'>
  4820. <tr>
  4821. <th>Attribute</th>
  4822. <th>Use</th>
  4823. <th>Description</th>
  4824. </tr>
  4825. <tr>
  4826. <td>columnId</td>
  4827. <td>Required</td>
  4828. <td>ID of column</td>
  4829. </tr>
  4830. <tr>
  4831. <td>header</td>
  4832. <td>Optional</td>
  4833. <td>If provided, a localized name to be displayed instead of the column ID.</td>
  4834. </tr>
  4835. <tr>
  4836. <td>alignment</td>
  4837. <td>Optional</td>
  4838. <td>Alignment of contents in the column. If provided, the client does not need to guess alignment from the type of data reported.</td>
  4839. </tr>
  4840. <tr>
  4841. <td>nrDecimals</td>
  4842. <td>Optional</td>
  4843. <td>If floating point data is presented in the column and a fixed number of decimals is desired, this attribute is used to fix the number of decimals used.</td>
  4844. </tr>
  4845. <tr>
  4846. <td>dataSourceId</td>
  4847. <td>Optional</td>
  4848. <td>If contents of columns contains references to nodes in a data source, this attribute defines the data source ID.</td>
  4849. </tr>
  4850. <tr>
  4851. <td>cacheTypeName</td>
  4852. <td>Optional</td>
  4853. <td>If contents of columns contains references to nodes in a data source, this attribute defines the cache type.</td>
  4854. </tr>
  4855. <tr>
  4856. <td>fgColor</td>
  4857. <td>Optional</td>
  4858. <td>If presentation of this column should be done using a specific foreground color.</td>
  4859. </tr>
  4860. <tr>
  4861. <td>bgColor</td>
  4862. <td>Optional</td>
  4863. <td>If presentation of this column should be done using a specific background color.</td>
  4864. </tr>
  4865. </table>
  4866. </section2>
  4867. <section2 topic='Record Item definitions in query results' anchor='recorddef'>
  4868. <p>
  4869. Records contain arrays of items, each item correspond to a specific column with the same ordinal index. Each item is specified together with its type.
  4870. This, so receptors can integrate the result with type information if necessary. The following different type elements are available:
  4871. </p>
  4872. <table caption='Table Column attributes'>
  4873. <tr>
  4874. <th>Element</th>
  4875. <th>Contents</th>
  4876. </tr>
  4877. <tr>
  4878. <td>boolean</td>
  4879. <td>A boolean value, corresponding to the xs:boolean data type.</td>
  4880. </tr>
  4881. <tr>
  4882. <td>color</td>
  4883. <td>A color value. These are strings containing 6 case-insensitive hexadecimal digits of the form RRGGBB, where RR=Red component, GG=Green component, BB=Blue component.</td>
  4884. </tr>
  4885. <tr>
  4886. <td>dateTime</td>
  4887. <td>A Date &amp; Time value, corresponding to the xs:dateTime data type.</td>
  4888. </tr>
  4889. <tr>
  4890. <td>double</td>
  4891. <td>A floating-point value, corresponding to the xs:double data type.</td>
  4892. </tr>
  4893. <tr>
  4894. <td>duration</td>
  4895. <td>A duration value, corresponding to the xs:duration data type.</td>
  4896. </tr>
  4897. <tr>
  4898. <td>int</td>
  4899. <td>A 32-bit integer value, corresponding to the xs:int data type.</td>
  4900. </tr>
  4901. <tr>
  4902. <td>long</td>
  4903. <td>A 64-bit value, corresponding to the xs:long data type.</td>
  4904. </tr>
  4905. <tr>
  4906. <td>string</td>
  4907. <td>A string value, corresponding to the xs:string data type.</td>
  4908. </tr>
  4909. <tr>
  4910. <td>time</td>
  4911. <td>A time value, corresponding to the xs:time data type.</td>
  4912. </tr>
  4913. <tr>
  4914. <td>base64</td>
  4915. <td>A base-64 encoded object. The object is MIME encoded, and the attribute contentType contains the MIME Type which includes information on how to decode the value.</td>
  4916. </tr>
  4917. <tr>
  4918. <td>void</td>
  4919. <td>Contains no information. This represents a NULL value.</td>
  4920. </tr>
  4921. </table>
  4922. </section2>
  4923. <section2 topic='Message definitions in query results' anchor='messagedef'>
  4924. <p>
  4925. Messages in query results contain apart from a message text, also contain some classification on what the message is using two attributes: The
  4926. <strong>type</strong> attribute gives a rough idea about the type of message and <strong>level</strong> the importance of the message.
  4927. </p>
  4928. <table caption='Message Types'>
  4929. <tr>
  4930. <th>Type</th>
  4931. <th>Description</th>
  4932. </tr>
  4933. <tr>
  4934. <td>Information</td>
  4935. <td>Information message</td>
  4936. </tr>
  4937. <tr>
  4938. <td>Warning</td>
  4939. <td>Message contains a warning. The situation could turn into an error if consideration or action is not taken.</td>
  4940. </tr>
  4941. <tr>
  4942. <td>Error</td>
  4943. <td>Message contains an error. The error message describes the error, and the error has been handled correctly by the device performing the query.</td>
  4944. </tr>
  4945. <tr>
  4946. <td>Exception</td>
  4947. <td>Message contains an exception message. An unforseen and perhaps an unhandled event has occurred during the execution of the query.</td>
  4948. </tr>
  4949. </table>
  4950. <table caption='Message Levels'>
  4951. <tr>
  4952. <th>Level</th>
  4953. <th>Description</th>
  4954. </tr>
  4955. <tr>
  4956. <td>Minor</td>
  4957. <td>Minor event. Message describes common tasks.</td>
  4958. </tr>
  4959. <tr>
  4960. <td>Medium</td>
  4961. <td>Medium event. Message might describe a state change, something has been updated, or important information.</td>
  4962. </tr>
  4963. <tr>
  4964. <td>Major</td>
  4965. <td>Major event. Message might describe architectural change or vital information.</td>
  4966. </tr>
  4967. </table>
  4968. </section2>
  4969. <section2 topic='Single vs. batch commands'>
  4970. <p>
  4971. Many commands exist in single and batch versions. Large concentrators require efficient ways to manage sets of nodes simultaneously, while for small
  4972. concentrators, it is sufficient to manage nodes one at a time.
  4973. </p>
  4974. <p>
  4975. A concentrator is not required to implement both sets of commands if not desired. However, it must report which commands it supports in the
  4976. <strong>getCapabilities</strong> command. A caller can then adapt its calls based on what commands are supported.
  4977. </p>
  4978. <p>
  4979. If a caller wants to call the single item version of a command, but the concentrator only supports the batch version, it should call the batch version, but
  4980. only include the single node in the list of nodes.
  4981. </p>
  4982. <p>
  4983. On the other hand, if the caller wants to perform an operation on a set of nodes, but the concentrator only supports the single item version of the command,
  4984. it needs to manually perform the operation on each node separately, unless failing the request is an option.
  4985. </p>
  4986. </section2>
  4987. </section1>
  4988. <section1 topic='Internationalization Considerations' anchor='i18n'>
  4989. <section2 topic='Localization'>
  4990. <p>
  4991. Localization of content can be performed if clients provide <strong>xml:lang</strong> attributes in commands made to the concentrator. If omitted, the
  4992. <strong>default language</strong> will be used in responses. If provided, but the concentrator does not support localization, or the requested language,
  4993. the <strong>default language</strong> will also be used.
  4994. </p>
  4995. </section2>
  4996. <section2 topic='Time Zones'>
  4997. <p>
  4998. Concentrators of larger sub-systems spanning multiple time-zones should specify all timestamps with time-zone information, so readers can perform comparisons
  4999. of time information.
  5000. </p>
  5001. <p>
  5002. Information read from a concentrator that lacks time-zone information should be considered to lie in the same time-zone as the reader, unless not explicitly
  5003. configured with a time-zone.
  5004. </p>
  5005. </section2>
  5006. <section2 topic='Interoperability' anchor='interop'>
  5007. <p>
  5008. For concentrators to be interoperable in sensor networks, they need to adhere to rules and guidelines described in the
  5009. <link url='xep-0000-IoT-Interoperability.html'>xep-0000-IoT-Interoperability</link> document.
  5010. </p>
  5011. </section2>
  5012. </section1>
  5013. <section1 topic='Security Considerations' anchor='security'>
  5014. <section2 topic='Access rights'>
  5015. <p>
  5016. This document publishes a lot of commands with which to interact with a concentrator. If security and access rights is an issue, it might not be sufficient
  5017. to allow all friends access to the system. There are many ways in which to restrict access to the contents of the concentrator. Following are some examples:
  5018. </p>
  5019. <ul>
  5020. <li>
  5021. The concentrator can restrict friendships to trusted friends, and then assign access rights internally to the approved contacts.
  5022. </li>
  5023. <li>
  5024. The concentrator can use a provisioning server (see &xep0324;)
  5025. to delegate trust to a third party responsible for controlling who can get access to the concentrator (<strong>isFriend</strong> or <strong>canAccess</strong> commands),
  5026. and what items can be viewed (<strong>hasPrivilege</strong> or <strong>downloadPrivileges</strong> commands).
  5027. </li>
  5028. <li>
  5029. All requests to the concentrator can contain the optional attributes <strong>deviceToken</strong>, <strong>serviceToken</strong> and <strong>userToken</strong>.
  5030. Clients making requests to the concentrator can use these attributes to forward information about who originated the action (<strong>userToken</strong>),
  5031. what service is performing the action (<strong>serviceToken</strong>) or what device is performing the action (<strong>deviceToken</strong>). The concentrator
  5032. can use this information to check with provisioning servers what access rights and user privileges exist before performing the action.
  5033. </li>
  5034. </ul>
  5035. </section2>
  5036. <section2 topic='Integration with provisioning servers'>
  5037. <p>
  5038. The <link url='http://xmpp.org/extensions/xep-0324.html'>Internet of Things - Provisioning</link> document describes how trust can be delegated to trusted provisioning servers
  5039. that can be used to restrict access to and privileges in a network.
  5040. </p>
  5041. <p>
  5042. If a concentrator has a trusted relationship with a provisioning server, external or internal, the provisioning server must be used to guarantee that the
  5043. concentrator only allows access according to rules defined by the provisioning server. In order to do this, it's important that clients always provide
  5044. available tokens (<strong>userToken</strong>, <strong>serviceToken</strong> and <strong>deviceToken</strong>) to the concentrator so that it can forward this
  5045. information to the provisioning server.
  5046. </p>
  5047. <p>
  5048. The following subsections show different examples of how such an integration can be performed.
  5049. </p>
  5050. <section3 topic='Restricting access to data source per contact'>
  5051. <p>
  5052. This section shows how a provisioning server can be used to restrict access to data sources to users allowed to access those data sources.
  5053. </p>
  5054. <p>
  5055. <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA5UAAAE6CAIAAAAJH+GWAAAgAElEQVR4nO3d/bMcxX3v8f6TgoRUUv8fKSJEwAI0f8OtMvaVYwwKDtT8lnuJyQP3XuMEKsFR1dxybmxwSKWCy0YxYCx7JEAosXkQD5J5MqLq3B/mobu/3dM7c3Zmd7v3/SqqOGd3pqdntr9nPtundVYdAAAAAOlQ2+4AAAAAMAH5FQAAACkx+VUBAAAAOyyQXzcdnrFPGGAAAGAd5FdsGgMMAACsg/yKTWOAAQCAdZBfsWkMMAAAsA7yKzaNAQYAANaxZn6tS610WZsHqsL9x2FFNaUtuXVVKLf5Fduv7N6WjOiqve1gn6e0s6MIrwAAYE1L5Nf+gSnxsS711LS7evvdyK/TTm24z1Mv0e4hvAIAgPWNya91qdvZ1C5XdY/ooojl1/6bvgUn2loPmW+LolBKa62ULmurt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FOwOedXogbWx6AC4igEICHZFCz5FYhhUAEAsGtyy68sGMC8GFQAAOyarPKrkM2JAAAAoEd+BQAAQErIr8AEDCpAoCiAhGRTsORXYAIGFSBQFEBCsilY8iswAYMKECgKICHZFCz5FZiAQQUIFAWQkGwKlvwKTMCgAgSKAkhINgWbc34FZkd1AAJFASQkm4IlvwITUB2AQFEACcmmYMmvAAAASAn5FQAAACnJOb9mcyIAAADokV8BAACQEvIrMAGDChAoCiAh2RQs+RWYgEEFCBQFkJBsCpb8CkzAoAIEigJISDYFS34FJmBQAQJFASQkm4IlvwITMKgAgaIAEpJNweacX4HZUR2AQFEACcmmYMmvwARUByBQFEBCsilY8isAAABSQn4FAABASsivAAAASAn5FQAAACkhvwIAACAl5FcAAACkhPwKAACAlJBfAQAAkBLyKwAAAFJCfgUAAEBKyK8AAABICfkVAAAAKSG/AgAAICXkVwAAAKSE/AoAAICUkF8BAACQEvIrAAAAUkJ+BQAAQErIrwAAAEgJ+RUAAAApIb8CAAAgJeRXAAAApCScXwEAAICdJfMrAAAAsPvIrwAAAEjJ/wcx6F9VsI7IAgAAAABJRU5ErkJggg=='/>
  5056. </p>
  5057. <p>
  5058. Notice the following:
  5059. </p>
  5060. <ul>
  5061. <li>
  5062. The user has a <strong>userToken</strong> it received during <link url='http://xmpp.org/extensions/xep-0324.html#usertoken'>connection with the service</link>. This user token should
  5063. be included in all calls made by the user.
  5064. </li>
  5065. <li>
  5066. The service has a <strong>serviceToken</strong> it received during <link url='http://xmpp.org/extensions/xep-0324.html#servicetoken'>service registration</link>. This service token
  5067. should be aggregated by all calls made by the service.
  5068. </li>
  5069. <li>
  5070. The concentrators should cache all calls made to the provisioning server according to available <link url='http://xmpp.org/extensions/xep-0324.html#cache'>cache rules</link>.
  5071. </li>
  5072. <li>
  5073. The conversion of a Data Source ID to a Privilege ID should be performed according to rules defined in <link url='xep-0000-IoT-Interoperability.html'>xep-0000-IoT-Interoperability</link>.
  5074. </li>
  5075. </ul>
  5076. </section3>
  5077. <section3 topic='Restricting access to node properties per contact'>
  5078. <p>
  5079. This section shows how a provisioning server can be used to restrict access to node parameters that users allowed to access and edit.
  5080. </p>
  5081. <p>
  5082. <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABGoAAAGZCAIAAABe60BBAAAgAElEQVR4nO3d/bM8V30f+P6TgoRUUv8fKSJEwALUf8NWGXvlGIOCA9W/ZZeYPLC7xgmqBEdVs+VsbHBIpYLLRjFgLHskQCixeRBPMk9GVN39Yaa7T/fpnum5PXNm+tzXq1Sle6d7us/puZ/zPe97pu8UdwAAAMxQXLsBAAAA6yA+AQAAzNLFpwIAAIAxI/EpdXaDGfxkAgBwXeITq+EnEwCA6xKfWA0/mQAAXJf4xGr4yQQA4LrEJ1bDTyYAANe1MD5t67Io6233wKbq/12KanPKsYZ7b6qif/gj+x9t3pXMaOqpx7uJfoXO3cch2QkAgKu7RHxqHzhllr+ty1PD1vH9byNmnNq1eUe8fr9C5+9jj+wEAMAtmBOftnW5X0tqpuzNI2VVHYpP7TftEXrJKnio+7aqqqIoy7IoynobHK1d1qo2vadXm+mDx83rntdvZX+lLHrkaPtHHxnuWW2CxblB+tlU+64Hp412jvsVN2z6gHHfN8GljrZu63K/tSiKqm5O3W9JuO/UyxGeZfIqHVLITgAA3IbieHyK3kHXrTTsptgH3rzX7rXbaVPtH4rfldcedFP1A0RZbwdP7E5dbUYOfqh5cZ/iI0dfzGr/gfcZ9rq269n4mx57h452jvs10rCRAw4Xhvp9Hy4Z9SNve/Hbh5oMNDjv9Msx/oLOJjsBAHA7ZsSncNliEIcOvHlvUxW9WXpruF4RZIRBxuiONvJmtWb/+OCHmhctwYzvESejo+0feWTY1PDIw7zTfb/vc7xz3K+xhsUH7OfKcN9eI8auzEhkbZLd4LzTL8fkWWa81U92AgDgpsyJT405yzvB8kK78dCdOtHyxWh8imfwo5lk50DzRlaP4iNHj8xq/4FHel3r0ld03XrxKd750OrTeMN6V/ZQ38euzIH4dCDNjmyKL8jUg32yEw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P/vb+t1KP/LMvfuMXP3ztF59+55OPP1oURVE8+rGXmgnK48+93P326PMfe7wIdhh8e4vjIzDltNHmk//wsef+32i0+YMPv33/T/Yzv7v/Zc3jb3/b7pEnPviHP33j1Z++8UfdUPNnX//7H/zxR5tx46MvNb/M3o88xZPPf74dWJ58/vPtpmdfeP3FZ/YnevaF13v7dAPRbtPr4bOMNmTjbPHpd/dF+syn/r9/2tTve3/vlZ9895XPvPuRj/zJqz/73td+9qe/9sRjv/4X7erTF//3J4vmn/vn4ynBsPSa2gxWn+JN7dOfefrZx597WXw6i8999nNtjmqvkXGN7F0kPn37r3/8hV9tRrn9m/e+8luPPPFbn/3597/+8+//q/cX7/yPP3ztF59+Z/Er/+atH33zly88XTzzyV+++frLzz/67Avd8Pfy84/uHt/93vfl5x9tBsFPPls8/aL4BKty0mjzp8/9g/f8X8PR5qXfeFvxro+/+a2/evNb/+KZ4h3/frfWvftlzRc+8MRjH/jyG69++YOPFO/5lz/73td+/me//sR7/tVXP/TIkx/+41/88LW3fvRv3r8bN154uthNnna/r3kzWFlqxqLui2ifblxqB6J2Z6MNGblnfCo6uxXjN3/3HcU//hdvfuuv/vw331b849/58Xe2P/7O77y3+Ef/4buv/PT3nire/Ymffe9rX/mtR97377o37331w4++/4Xhm/fGS29Qy0F8GmzqphDtJvFpud1FGWQn4xrZu1R86lbnP/He4qnPvPHqZ94TjKnFIx/94mu/+PQ7n/zwf3nrR9/85Zuf/9jjT78YDIi7Me7FZ3q/zW1/GXyhBSgTGrioZatPH//0//2XL/3G237l/9mNNv/p+be/7Z/+97/+u0+94/Hf/M8//s72J9/9xHsf+8CX33j1M+8u3vdvu/cC/f6vRONGt779yWej+NTeONENOFF8asalz3/s8cEBjTbkY/HqUzM9+N13PP5P/tMuPj3zqd304D9/5LFHPvKFV376xh995LGnPvO9f/m+4qnf79379K/fH60+HSy9ppbD1af+phefaacNn7T6dGZGNB6aS8SnP//NtzUTmld+8t0//MhjT32mt/rUvLm5i0+vv/z8o88+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21xCfgKowwsCLZFKz41D13VJqWw6qJTwDAA/HQ49NUahKfYD7xCQB4IHKOT0ejEXAu4hMA8BAUeceno1O6o5PC6/YIVkF8AgAeiIcen8Lnik9wP+ITcBVGGFiRbApWfBo5iPgEJxGfgKswwsCKZFOw4tOho633UkBK4hNwFUYYWJFsClZ8ApZSa8BVGGFgRbIpWPEJWEqtAVdhhIEVyaZgxSdgKbUGXIURBlYkm4IVn4Cl1BpwFUYYWJFsClZ8ApZSawDAAyE+AUupNQDggcg8Ph1w7cZCPsQnAOCByDk+mcNBGkoPAHggxCdgKaUHXIURBlYkm4LNLT55tx6kp/SAqzDCwIpkU7BZxaeBbDoC66L0gDSMNrAi2RSs+AScmdID0jDawIpkU7DiE3BmSg9Iw2gDK5JNweYcn4CrMIYAaRhtYEWyKVjxCTgzYwiQhtEGViSbghWfAAAAZhGfAAAAZsk5PmXTEQAA4BaITwAAALOIT8CZKT0gDaMNrEg2BSs+AWem9IA0jDawItkUrPgEnJnSA9Iw2sCKZFOw4hNwZkoPSMNoAyuSTcGKT8CZKT0gDaMNrEg2BZtzfAKuwhgCpGG0gRXJpmDFJ+DMjCFAGkYbWJFsClZ8AgAAmEV8AgAAmCXn+JRNRwAAgFsgPgEAAMwiPgFnpvSANIw2sCLZFKz4BJyZ0gPSMNrAimRTsOITcGZKD0jDaAMrkk3B5hyfAAAAzkh8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmEV8AgAAmGU8PgEAABAbxicAAAAOEJ8AAABm+f8B+El7vgWUDNUAAAAASUVORK5CYII='/>
  5083. </p>
  5084. <ul>
  5085. <li>
  5086. Not that privileges for all parameters needs to be checked in every call. And if lost from the cache, a new request needs to be made to the provisioning server.
  5087. </li>
  5088. <li>
  5089. The conversion of a Parameter ID (and Page) to a Privilege ID should be performed according to rules defined in
  5090. <link url='xep-0000-IoT-Interoperability.html'>xep-0000-IoT-Interoperability</link>.
  5091. </li>
  5092. </ul>
  5093. </section3>
  5094. <section3 topic='Restricting access to node commands per contact'>
  5095. <p>
  5096. This section shows how a provisioning server can be used to restrict access to node commands to users allowed to access those commands.
  5097. </p>
  5098. <p>
  5099. <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABN4AAARACAIAAAC+/wlCAAAgAElEQVR4nOzde7P8zl0feD2kYONf2XoeW8SYQAxYj2GrgKyz3BwIlP7bXRJy8e5CElyJWVdpK9kkkHVqK6QAh2scxgaME262wTbXYFed/WNG6pa6pTNzzsyZUffrVb8qnzOjabV6pj/We1o63+YJAAAA7qq5dwcAAAConWgKAADAnYVo2gAAAMDbykTTt87FlMVHCAAAuIhoyvX5CAEAABcRTbk+HyEAAOAioinX5yMEAABcRDTl+nyEAACAi7wymh76tmn7Q3hg6OZ/Y6kbLmlrufXQNfPmn9n+2e7dyRldfRBXGDG5FAAAuNQtoun0wCU559C3lwbZ57d/jGh66aHd02tHTC4FAABe4Jxoeujb0xroGFrGR9qu24qm0y9TC7PUGj0Ufu26rmnatm2atj9ErU3Lsd0we3k3rDeedi+8bt7L+Qpv8siz/c8+styyG6JF5ST/bXQjGqO2PbbW9eMxPvNU5pCH7jTMYW/piK0dzha5FAAAeJkzomlyVW1YBTxGoo0LeqetjhsN3emh9ErdqdGhC/Fs2mz2wrDrbsg0vtW99JjSlpMfzur/xrXHs0MLUTAZt5VujBuHo5lF/rY/PG08tXLIs8PIjNjmpdRZcikAAPBiZ0TTeN1tETU3AtDQNbMoNEnW8qJ1u3l+C61lLjMdt08b3+pesoaY3yJNnc/2P/PIsqtxy/FRrnZ0vnEIkLN8PkXT/FOZZdOw7yiaLkds/XBy5FIAAOA1zommo3OWJaPVtunJrfsXk1XQbDTNJK5c3jva6F5m1TNtORv8nu3/xiOzQwtxMb9qOuvGbOOXRdOtQ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/u2eOo2CZ5QIh2keh3G6vdiuSSZrlNETrfcMnH1nOSjzhd71ZTjwHj+3j7LeN2ei6euPvMLXKbceAvyY0gdlqWbOiqZ/0av19fb7vEugzEXT3arp7dC+H6bwIpJE0/SLw2fvRE+95ldr/20y8uaoW5fj1//iS4GylVsPAX5M6YOyVDNnRdOz1t4yFLtG4tXLNQYmf6t396zp8tby4Ol+QfLsWdO1jeN37t8Svn9heNe3Zcl0GPpdO5uV0nnsPWtKfcqthwA/pvRBWaqZs6JpppHYW3r1+0ZK8Ys/9QvfqKn5C3Cj9EFZqpmzomk4Nustvfp9I+W4/bumnjOlEo3NX4B//5Q+KE01c7b1aHqUSEVT4J/5CzRJ6YOyVDNna46mD2Pnn7l6YAAAAL5aV3c0fbiIKlUCAABcrvVoGh8rmgIAAFxCNM00IpoCAAD8JdH0rLVyhwJ4C0UAaJDSB2WpZs6KpgCH1AqgQUoflKWaOSuaAhxSK4AGKX1QlmrmrGgKcEitABqk9EFZqpmzoinAIbUCaJDSB2WpZs6KpgCH1AqgQUoflKWaOVt5ND1xdWeBAqgVQIOUPihLNXO25mhqmRQAAKAIoikAAAAXE00BAAC4mGgKAADAxURTAAAALiaaAgAAcDHRFAAAgIvVFk39Q6YAAADFqSqaAgAAUCLRFAAAgIuJpgAAAFxMNAUAAOBioikAAAAXE00BAAC4mGgKAADAxURTAAAALiaaAgAAcDHRFAAAgIuJpgAAAFxMNAUAAOBioikAAAAXE00BAAC4mGgKAADAxURTAAAALiaaAgAAcDHRFAAAgIvloykAAAD8pX00BQAAgEuIpgAAAFzsP9yjATp2LYrkAAAAAElFTkSuQmCC'/>
  5100. </p>
  5101. <p>
  5102. In addition to rules noted above, also notice the following:
  5103. </p>
  5104. <ul>
  5105. <li>
  5106. Not that privileges for all parameters needs to be checked in every call. And if lost from the cache, a new request needs to be made to the provisioning server.
  5107. </li>
  5108. <li>
  5109. The conversion of a Command ID to a Privilege ID should be performed according to rules defined in <link url='xep-0000-IoT-Interoperability.html'>xep-0000-IoT-Interoperability</link>.
  5110. </li>
  5111. </ul>
  5112. </section3>
  5113. </section2>
  5114. </section1>
  5115. <section1 topic='IANA Considerations' anchor='iana'>
  5116. <p>This document requires no interaction with &IANA;.</p>
  5117. </section1>
  5118. <section1 topic='XMPP Registrar Considerations' anchor='registrar'>
  5119. <p>
  5120. The <link url="#schema">protocol schema</link> needs to be added to the list of <link url="http://xmpp.org/resources/schemas/">XMPP protocol schemas</link>.
  5121. </p>
  5122. </section1>
  5123. <section1 topic='XML Schema' anchor='schema'>
  5124. <code>
  5125. <![CDATA[
  5126. <?xml version='1.0' encoding='UTF-8'?>
  5127. <xs:schema
  5128. xmlns:xs='http://www.w3.org/2001/XMLSchema'
  5129. targetNamespace='urn:xmpp:iot:concentrators'
  5130. xmlns='urn:xmpp:iot:concentrators'
  5131. xmlns:sn='urn:xmpp:iot:sensordata'
  5132. xmlns:xd="jabber:x:data"
  5133. xmlns:xdv="http://jabber.org/protocol/xdata-validate"
  5134. xmlns:xdl="http://jabber.org/protocol/xdata-layout"
  5135. elementFormDefault='qualified'>
  5136. <xs:import namespace='urn:xmpp:iot:sensordata'/>
  5137. <xs:import namespace='jabber:x:data'/>
  5138. <xs:import namespace='http://jabber.org/protocol/xdata-validate'/>
  5139. <xs:import namespace='http://jabber.org/protocol/xdata-layout'/>
  5140. <xs:element name='getCapabilities' type='TokenRequest'/>
  5141. <xs:element name='getCapabilitiesResponse' type='StringArrayResponse'/>
  5142. <xs:element name='getAllDataSources' type='TokenRequest'/>
  5143. <xs:element name='getAllDataSourcesResponse' type='DataSourceArrayResponse'/>
  5144. <xs:element name='getRootDataSources' type='TokenRequest'/>
  5145. <xs:element name='getRootDataSourcesResponse' type='DataSourceArrayResponse'/>
  5146. <xs:element name='getChildDataSources' type='SourceReferenceRequest'/>
  5147. <xs:element name='getChildDataSourcesResponse' type='DataSourceArrayResponse'/>
  5148. <xs:element name='containsNode' type='NodeReferenceRequest'/>
  5149. <xs:element name='containsNodeResponse'>
  5150. <xs:complexType>
  5151. <xs:simpleContent>
  5152. <xs:extension base='xs:boolean'>
  5153. <xs:attributeGroup ref='responseCode'/>
  5154. </xs:extension>
  5155. </xs:simpleContent>
  5156. </xs:complexType>
  5157. </xs:element>
  5158. <xs:element name='containsNodes' type='NodeReferencesRequest'/>
  5159. <xs:element name='containsNodesResponse' type='BooleanArrayResponse'/>
  5160. <xs:element name='getNode' type='NodeReferenceParametersRequest'/>
  5161. <xs:element name='getNodeResponse'>
  5162. <xs:complexType>
  5163. <xs:complexContent>
  5164. <xs:extension base='NodeInformation'>
  5165. <xs:attributeGroup ref='responseCode'/>
  5166. </xs:extension>
  5167. </xs:complexContent>
  5168. </xs:complexType>
  5169. </xs:element>
  5170. <xs:element name='getNodes' type='NodeReferenceParametersRequest'/>
  5171. <xs:element name='getNodesResponse' type='NodeInformationArrayResponse'/>
  5172. <xs:element name='getAllNodes' type='GetAllNodesRequest'/>
  5173. <xs:element name='getAllNodesResponse' type='NodeInformationArrayResponse'/>
  5174. <xs:element name='getNodeInheritance' type='NodeReferenceRequest'/>
  5175. <xs:element name='getNodeInheritanceResponse'>
  5176. <xs:complexType>
  5177. <xs:sequence>
  5178. <xs:element name='baseClasses' type='StringArray' minOccurs='1' maxOccurs='1'/>
  5179. <xs:element name='interfaces' type='StringArray' minOccurs='0' maxOccurs='1'/>
  5180. </xs:sequence>
  5181. </xs:complexType>
  5182. </xs:element>
  5183. <xs:element name='getRootNodes' type='SourceReferenceParametersRequest'/>
  5184. <xs:element name='getRootNodesResponse' type='NodeInformationArrayResponse'/>
  5185. <xs:element name='getChildNodes' type='GetChildNodesRequest'/>
  5186. <xs:element name='getChildNodesResponse' type='NodeInformationArrayResponse'/>
  5187. <xs:element name='getIndices' type='SourceReferenceRequest'/>
  5188. <xs:element name='getIndicesResponse' type='StringArrayResponse'/>
  5189. <xs:element name='getNodesFromIndex' type='IndexReferenceRequest'/>
  5190. <xs:element name='getNodesFromIndexResponse' type='NodeInformationArrayResponse'/>
  5191. <xs:element name='getNodesFromIndices' type='IndexReferencesRequest'/>
  5192. <xs:element name='getNodesFromIndicesResponse' type='NodeInformationArrayResponse'/>
  5193. <xs:element name='getAllIndexValues'>
  5194. <xs:complexType>
  5195. <xs:complexContent>
  5196. <xs:extension base='SourceReferenceRequest'>
  5197. <xs:attribute name='index' type='xs:string' use='required'/>
  5198. </xs:extension>
  5199. </xs:complexContent>
  5200. </xs:complexType>
  5201. </xs:element>
  5202. <xs:element name='getAllIndexValuesResponse' type='StringArrayResponse'/>
  5203. <xs:element name='getNodeParametersForEdit' type='NodeReferenceRequest'/>
  5204. <xs:element name='getNodeParametersForEditResponse' type='ParameterFormResponse'/>
  5205. <xs:element name='setNodeParametersAfterEdit'>
  5206. <xs:complexType>
  5207. <xs:complexContent>
  5208. <xs:extension base='NodeReferenceRequest'>
  5209. <xs:sequence>
  5210. <xs:element ref='xd:x' minOccurs="1" maxOccurs="1"/>
  5211. </xs:sequence>
  5212. </xs:extension>
  5213. </xs:complexContent>
  5214. </xs:complexType>
  5215. </xs:element>
  5216. <xs:element name='setNodeParametersAfterEditResponse' type='SetNodeParametersResponse'/>
  5217. <xs:element name='getCommonNodeParametersForEdit' type='NodeReferencesRequest'/>
  5218. <xs:element name='getCommonNodeParametersForEditResponse' type='ParameterFormResponse'/>
  5219. <xs:element name='setCommonNodeParametersAfterEdit'>
  5220. <xs:complexType>
  5221. <xs:complexContent>
  5222. <xs:extension base='NodeReferencesRequest'>
  5223. <xs:sequence>
  5224. <xs:element ref='xd:x' minOccurs="1" maxOccurs="1"/>
  5225. </xs:sequence>
  5226. </xs:extension>
  5227. </xs:complexContent>
  5228. </xs:complexType>
  5229. </xs:element>
  5230. <xs:element name='setCommonNodeParametersAfterEditResponse' type='SetNodeParametersResponse'/>
  5231. <xs:element name='getAddableNodeTypes' type='NodeReferenceRequest'/>
  5232. <xs:element name='getAddableNodeTypesResponse'>
  5233. <xs:complexType>
  5234. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5235. <xs:element name='nodeType'>
  5236. <xs:complexType>
  5237. <xs:attribute name='type' type='xs:string' use='required'/>
  5238. <xs:attribute name='name' type='xs:string' use='required'/>
  5239. </xs:complexType>
  5240. </xs:element>
  5241. </xs:sequence>
  5242. </xs:complexType>
  5243. </xs:element>
  5244. <xs:element name='getParametersForNewNode' type='NodeTypeReferenceRequest'/>
  5245. <xs:element name='getParametersForNewNodeResponse' type='ParameterFormResponse'/>
  5246. <xs:element name='createNewNode'>
  5247. <xs:complexType>
  5248. <xs:complexContent>
  5249. <xs:extension base='NodeTypeReferenceRequest'>
  5250. <xs:sequence>
  5251. <xs:element ref='xd:x' minOccurs="1" maxOccurs="1"/>
  5252. </xs:sequence>
  5253. </xs:extension>
  5254. </xs:complexContent>
  5255. </xs:complexType>
  5256. </xs:element>
  5257. <xs:element name='createNewNodeResponse' type='SetNodeParametersResponse'/>
  5258. <xs:element name='destroyNode' type='NodeReferenceRequest'/>
  5259. <xs:element name='destroyNodeResponse'>
  5260. <xs:complexType>
  5261. <xs:attributeGroup ref='responseCode'/>
  5262. </xs:complexType>
  5263. </xs:element>
  5264. <xs:element name='getAncestors' type='NodeReferenceParametersRequest'/>
  5265. <xs:element name='getAncestorsResponse' type='NodeInformationArrayResponse'/>
  5266. <xs:element name='getNodeCommands' type='NodeReferenceRequest'/>
  5267. <xs:element name='getNodeCommandsResponse' type='CommandArray'/>
  5268. <xs:element name='getCommandParameters' type='NodeCommandReferenceRequest'/>
  5269. <xs:element name='getCommandParametersResponse' type='ParameterFormResponse'/>
  5270. <xs:element name='executeNodeCommand'>
  5271. <xs:complexType>
  5272. <xs:complexContent>
  5273. <xs:extension base='NodeCommandReferenceRequest'>
  5274. <xs:sequence>
  5275. <xs:element ref='xd:x' minOccurs="0" maxOccurs="1"/>
  5276. </xs:sequence>
  5277. </xs:extension>
  5278. </xs:complexContent>
  5279. </xs:complexType>
  5280. </xs:element>
  5281. <xs:element name='executeNodeCommandResponse' type='ExecuteNodeCommandResponse'/>
  5282. <xs:element name='executeNodeQuery'>
  5283. <xs:complexType>
  5284. <xs:complexContent>
  5285. <xs:extension base='NodeCommandReferenceRequest'>
  5286. <xs:sequence>
  5287. <xs:element ref='xd:x' minOccurs="0" maxOccurs="1"/>
  5288. </xs:sequence>
  5289. </xs:extension>
  5290. </xs:complexContent>
  5291. </xs:complexType>
  5292. </xs:element>
  5293. <xs:element name='executeNodeQueryResponse'>
  5294. <xs:complexType>
  5295. <xs:complexContent>
  5296. <xs:extension base='ExecuteNodeCommandResponse'>
  5297. <xs:attribute name="queryId" type="xs:string" use="optional"/>
  5298. </xs:extension>
  5299. </xs:complexContent>
  5300. </xs:complexType>
  5301. </xs:element>
  5302. <xs:element name='getCommonNodeCommands' type='NodeReferencesRequest'/>
  5303. <xs:element name='getCommonNodeCommandsResponse' type='CommandArray'/>
  5304. <xs:element name='getCommonCommandParameters'>
  5305. <xs:complexType>
  5306. <xs:complexContent>
  5307. <xs:extension base='NodeReferencesRequest'>
  5308. <xs:attribute name='command' type='xs:string' use='required'/>
  5309. </xs:extension>
  5310. </xs:complexContent>
  5311. </xs:complexType>
  5312. </xs:element>
  5313. <xs:element name='getCommonCommandParametersResponse' type='ParameterFormResponse'/>
  5314. <xs:element name='executeCommonNodeCommand'>
  5315. <xs:complexType>
  5316. <xs:complexContent>
  5317. <xs:extension base='NodeReferencesRequest'>
  5318. <xs:sequence>
  5319. <xs:element ref='xd:x' minOccurs="0" maxOccurs="1"/>
  5320. </xs:sequence>
  5321. <xs:attribute name="queryId" type="xs:string" use="optional"/>
  5322. </xs:extension>
  5323. </xs:complexContent>
  5324. </xs:complexType>
  5325. </xs:element>
  5326. <xs:element name='executeCommonNodeCommandResponse' type='ExecuteCommonNodeCommandResponse'/>
  5327. <xs:element name='executeCommonNodeQuery'>
  5328. <xs:complexType>
  5329. <xs:complexContent>
  5330. <xs:extension base='NodeReferencesRequest'>
  5331. <xs:sequence>
  5332. <xs:element ref='xd:x' minOccurs="0" maxOccurs="1"/>
  5333. </xs:sequence>
  5334. </xs:extension>
  5335. </xs:complexContent>
  5336. </xs:complexType>
  5337. </xs:element>
  5338. <xs:element name='executeCommonNodeQueryResponse'>
  5339. <xs:complexType>
  5340. <xs:complexContent>
  5341. <xs:extension base='ExecuteCommonNodeCommandResponse'>
  5342. <xs:attribute name="queryId" type="xs:string" use="optional"/>
  5343. </xs:extension>
  5344. </xs:complexContent>
  5345. </xs:complexType>
  5346. </xs:element>
  5347. <xs:element name='moveNodeUp' type='NodeReferenceRequest'/>
  5348. <xs:element name='moveNodeUpResponse' type='Response'/>
  5349. <xs:element name='moveNodeDown' type='NodeReferenceRequest'/>
  5350. <xs:element name='moveNodeDownResponse' type='Response'/>
  5351. <xs:element name='moveNodesUp' type='NodeReferencesRequest'/>
  5352. <xs:element name='moveNodesUpResponse' type='Response'/>
  5353. <xs:element name='moveNodesDown' type='NodeReferencesRequest'/>
  5354. <xs:element name='moveNodesDownResponse' type='Response'/>
  5355. <xs:element name='subscribe'>
  5356. <xs:complexType>
  5357. <xs:complexContent>
  5358. <xs:extension base='SourceReferenceRequest'>
  5359. <xs:attribute name='getEventsSince' type='xs:dateTime' use='optional'/>
  5360. <xs:attributeGroup ref='parametersAndMessages'/>
  5361. <xs:attributeGroup ref='eventTypes'/>
  5362. </xs:extension>
  5363. </xs:complexContent>
  5364. </xs:complexType>
  5365. </xs:element>
  5366. <xs:element name='subscribeResponse' type='Response'/>
  5367. <xs:element name='unsubscribe'>
  5368. <xs:complexType>
  5369. <xs:complexContent>
  5370. <xs:extension base='SourceReferenceRequest'>
  5371. <xs:attributeGroup ref='eventTypes'/>
  5372. </xs:extension>
  5373. </xs:complexContent>
  5374. </xs:complexType>
  5375. </xs:element>
  5376. <xs:element name='unsubscribeResponse' type='Response'/>
  5377. <xs:element name='nodeAdded'>
  5378. <xs:complexType>
  5379. <xs:complexContent>
  5380. <xs:extension base='NodeSourceInformation'>
  5381. <xs:attribute name='afterNodeId' type='xs:string' use='optional'/>
  5382. <xs:attribute name='afterNodeCacheType' type='xs:string' use='optional'/>
  5383. </xs:extension>
  5384. </xs:complexContent>
  5385. </xs:complexType>
  5386. </xs:element>
  5387. <xs:element name='nodeUpdated'>
  5388. <xs:complexType>
  5389. <xs:complexContent>
  5390. <xs:extension base='NodeSourceInformation'>
  5391. <xs:attribute name='oldId' type='xs:string' use='optional'/>
  5392. </xs:extension>
  5393. </xs:complexContent>
  5394. </xs:complexType>
  5395. </xs:element>
  5396. <xs:element name='nodeStatusChanged'>
  5397. <xs:complexType>
  5398. <xs:complexContent>
  5399. <xs:extension base='NodeReference'>
  5400. <xs:choice minOccurs='0' maxOccurs='unbounded'>
  5401. <xs:element name='message' type='Message'/>
  5402. </xs:choice>
  5403. <xs:attribute name='state' type='NodeState' use='required'/>
  5404. </xs:extension>
  5405. </xs:complexContent>
  5406. </xs:complexType>
  5407. </xs:element>
  5408. <xs:element name='nodeRemoved' type='NodeReference'/>
  5409. <xs:element name='nodeMovedUp' type='NodeReference'/>
  5410. <xs:element name='nodeMovedDown' type='NodeReference'/>
  5411. <xs:element name='getDatabases' type='TokenRequest'/>
  5412. <xs:element name='getDatabasesResponse'>
  5413. <xs:complexType>
  5414. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5415. <xs:element name='database'>
  5416. <xs:complexType>
  5417. <xs:attribute name='databaseId' type='xs:string' use='required'/>
  5418. <xs:attribute name='name' type='xs:string' use='optional'/>
  5419. </xs:complexType>
  5420. </xs:element>
  5421. </xs:sequence>
  5422. <xs:attributeGroup ref='responseCode'/>
  5423. </xs:complexType>
  5424. </xs:element>
  5425. <xs:element name='getDatabaseReadoutParameters' type='DatabaseReferenceRequest'/>
  5426. <xs:element name='getDatabaseReadoutParametersResponse' type='ParameterFormResponse'/>
  5427. <xs:element name='startDatabaseReadout'>
  5428. <xs:complexType>
  5429. <xs:complexContent>
  5430. <xs:extension base='DatabaseReferenceRequest'>
  5431. <xs:sequence>
  5432. <xs:element name='node' type='NodeReference' minOccurs='1' maxOccurs='unbounded'/>
  5433. <xs:element ref='xd:x' minOccurs="1" maxOccurs="1"/>
  5434. </xs:sequence>
  5435. <xs:attribute name="seqnr" type="xs:int" use="required"/>
  5436. </xs:extension>
  5437. </xs:complexContent>
  5438. </xs:complexType>
  5439. </xs:element>
  5440. <xs:element name='startDatabaseReadoutResponse' type='ExecuteNodeCommandResponse'/>
  5441. <xs:element name='queryProgress'>
  5442. <xs:complexType>
  5443. <xs:choice minOccurs='1' maxOccurs='unbounded'>
  5444. <xs:element name='queryStarted'>
  5445. <xs:complexType/>
  5446. </xs:element>
  5447. <xs:element name='queryDone'>
  5448. <xs:complexType/>
  5449. </xs:element>
  5450. <xs:element name='queryAborted'>
  5451. <xs:complexType/>
  5452. </xs:element>
  5453. <xs:element name='newTable'>
  5454. <xs:complexType>
  5455. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5456. <xs:element name='column'>
  5457. <xs:complexType>
  5458. <xs:attribute name='columnId' type='xs:string' use='required'/>
  5459. <xs:attribute name='header' type='xs:string' use='optional'/>
  5460. <xs:attribute name='dataSourceId' type='xs:string' use='optional'/>
  5461. <xs:attribute name='cacheTypeName' type='xs:string' use='optional'/>
  5462. <xs:attribute name='fgColor' type='Color' use='optional'/>
  5463. <xs:attribute name='bgColor' type='Color' use='optional'/>
  5464. <xs:attribute name='alignment' type='Alignment' use='optional'/>
  5465. <xs:attribute name='nrDecimals' type='xs:nonNegativeInteger' use='optional'/>
  5466. </xs:complexType>
  5467. </xs:element>
  5468. </xs:sequence>
  5469. <xs:attribute name='tableId' type='xs:string' use='required'/>
  5470. <xs:attribute name='tableName' type='xs:string' use='required'/>
  5471. </xs:complexType>
  5472. </xs:element>
  5473. <xs:element name='newRecords'>
  5474. <xs:complexType>
  5475. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5476. <xs:element name='record'>
  5477. <xs:complexType>
  5478. <xs:choice minOccurs='0' maxOccurs='unbounded'>
  5479. <xs:element name='boolean' type='xs:boolean'/>
  5480. <xs:element name='color' type='Color'/>
  5481. <xs:element name='date' type='xs:date'/>
  5482. <xs:element name='dateTime' type='xs:dateTime'/>
  5483. <xs:element name='double' type='xs:double'/>
  5484. <xs:element name='duration' type='xs:duration'/>
  5485. <xs:element name='int' type='xs:int'/>
  5486. <xs:element name='long' type='xs:long'/>
  5487. <xs:element name='string' type='xs:string'/>
  5488. <xs:element name='time' type='xs:time'/>
  5489. <xs:element name='base64'>
  5490. <xs:complexType>
  5491. <xs:simpleContent>
  5492. <xs:extension base='xs:base64Binary'>
  5493. <xs:attribute name='contentType' type='xs:string' use='required'/>
  5494. </xs:extension>
  5495. </xs:simpleContent>
  5496. </xs:complexType>
  5497. </xs:element>
  5498. <xs:element name='void'>
  5499. <xs:complexType/>
  5500. </xs:element>
  5501. </xs:choice>
  5502. </xs:complexType>
  5503. </xs:element>
  5504. </xs:sequence>
  5505. <xs:attribute name='tableId' type='xs:string' use='required'/>
  5506. </xs:complexType>
  5507. </xs:element>
  5508. <xs:element name='tableDone'>
  5509. <xs:complexType>
  5510. <xs:attribute name='tableId' type='xs:string' use='required'/>
  5511. </xs:complexType>
  5512. </xs:element>
  5513. <xs:element name='newObject'>
  5514. <xs:complexType>
  5515. <xs:simpleContent>
  5516. <xs:extension base='xs:base64Binary'>
  5517. <xs:attribute name='contentType' type='xs:string' use='required'/>
  5518. </xs:extension>
  5519. </xs:simpleContent>
  5520. </xs:complexType>
  5521. </xs:element>
  5522. <xs:element name='queryMessage'>
  5523. <xs:complexType>
  5524. <xs:simpleContent>
  5525. <xs:extension base='xs:string'>
  5526. <xs:attribute name='type' type='EventType' use='optional' default='Information'/>
  5527. <xs:attribute name='level' type='EventLevel' use='optional' default='Minor'/>
  5528. </xs:extension>
  5529. </xs:simpleContent>
  5530. </xs:complexType>
  5531. </xs:element>
  5532. <xs:element name='title'>
  5533. <xs:complexType>
  5534. <xs:attribute name='name' type='xs:string' use='required'/>
  5535. </xs:complexType>
  5536. </xs:element>
  5537. <xs:element name='status'>
  5538. <xs:complexType>
  5539. <xs:attribute name='message' type='xs:string' use='required'/>
  5540. </xs:complexType>
  5541. </xs:element>
  5542. <xs:element name='beginSection'>
  5543. <xs:complexType>
  5544. <xs:attribute name='header' type='xs:string' use='required'/>
  5545. </xs:complexType>
  5546. </xs:element>
  5547. <xs:element name='endSection'>
  5548. <xs:complexType/>
  5549. </xs:element>
  5550. </xs:choice>
  5551. <xs:attributeGroup ref='nodeReference'/>
  5552. <xs:attribute name='queryId' type='xs:string' use='required'/>
  5553. </xs:complexType>
  5554. </xs:element>
  5555. <xs:element name='abortNodeQuery'>
  5556. <xs:complexType>
  5557. <xs:complexContent>
  5558. <xs:extension base='NodeReferenceRequest'>
  5559. <xs:attribute name='queryId' type='xs:string' use='required'/>
  5560. </xs:extension>
  5561. </xs:complexContent>
  5562. </xs:complexType>
  5563. </xs:element>
  5564. <xs:element name='abortNodeQueryResponse'>
  5565. <xs:complexType>
  5566. <xs:attributeGroup ref='responseCode'/>
  5567. </xs:complexType>
  5568. </xs:element>
  5569. <xs:element name='abortCommonNodeQuery'>
  5570. <xs:complexType>
  5571. <xs:complexContent>
  5572. <xs:extension base='NodeReferencesRequest'>
  5573. <xs:attribute name='queryId' type='xs:string' use='required'/>
  5574. </xs:extension>
  5575. </xs:complexContent>
  5576. </xs:complexType>
  5577. </xs:element>
  5578. <xs:element name='abortCommonNodeQueryResponse'>
  5579. <xs:complexType>
  5580. <xs:attributeGroup ref='responseCode'/>
  5581. </xs:complexType>
  5582. </xs:element>
  5583. <xs:simpleType name='ResponseCode'>
  5584. <xs:restriction base='xs:string'>
  5585. <xs:enumeration value='OK'/>
  5586. <xs:enumeration value='NotFound'/>
  5587. <xs:enumeration value='InsufficientPrivileges'/>
  5588. <xs:enumeration value='Locked'/>
  5589. <xs:enumeration value='NotImplemented'/>
  5590. <xs:enumeration value='FormError'/>
  5591. <xs:enumeration value='OtherError'/>
  5592. </xs:restriction>
  5593. </xs:simpleType>
  5594. <xs:simpleType name='Color'>
  5595. <xs:restriction base='xs:string'>
  5596. <xs:pattern value='^[0-9a-fA-F]{6}$'/>
  5597. </xs:restriction>
  5598. </xs:simpleType>
  5599. <xs:simpleType name='NodeState'>
  5600. <xs:restriction base='xs:string'>
  5601. <xs:enumeration value='None'/>
  5602. <xs:enumeration value='Information'/>
  5603. <xs:enumeration value='WarningSigned'/>
  5604. <xs:enumeration value='WarningUnsigned'/>
  5605. <xs:enumeration value='ErrorSigned'/>
  5606. <xs:enumeration value='ErrorUnsigned'/>
  5607. </xs:restriction>
  5608. </xs:simpleType>
  5609. <xs:simpleType name='MessageType'>
  5610. <xs:restriction base='xs:string'>
  5611. <xs:enumeration value='Error'/>
  5612. <xs:enumeration value='Warning'/>
  5613. <xs:enumeration value='Information'/>
  5614. </xs:restriction>
  5615. </xs:simpleType>
  5616. <xs:simpleType name='CommandType'>
  5617. <xs:restriction base='xs:string'>
  5618. <xs:enumeration value='Simple'/>
  5619. <xs:enumeration value='Parameterized'/>
  5620. <xs:enumeration value='Query'/>
  5621. </xs:restriction>
  5622. </xs:simpleType>
  5623. <xs:simpleType name='Alignment'>
  5624. <xs:restriction base='xs:string'>
  5625. <xs:enumeration value='Left'/>
  5626. <xs:enumeration value='Center'/>
  5627. <xs:enumeration value='Right'/>
  5628. </xs:restriction>
  5629. </xs:simpleType>
  5630. <xs:simpleType name='EventType'>
  5631. <xs:restriction base='xs:string'>
  5632. <xs:enumeration value='Information'/>
  5633. <xs:enumeration value='Warning'/>
  5634. <xs:enumeration value='Error'/>
  5635. <xs:enumeration value='Exception'/>
  5636. </xs:restriction>
  5637. </xs:simpleType>
  5638. <xs:simpleType name='EventLevel'>
  5639. <xs:restriction base='xs:string'>
  5640. <xs:enumeration value='Minor'/>
  5641. <xs:enumeration value='Medium'/>
  5642. <xs:enumeration value='Major'/>
  5643. </xs:restriction>
  5644. </xs:simpleType>
  5645. <xs:attributeGroup name='tokens'>
  5646. <xs:attribute name='deviceToken' type='xs:string' use='optional'/>
  5647. <xs:attribute name='serviceToken' type='xs:string' use='optional'/>
  5648. <xs:attribute name='userToken' type='xs:string' use='optional'/>
  5649. </xs:attributeGroup>
  5650. <xs:attributeGroup name='sourceReference'>
  5651. <xs:attribute name='sourceId' type='xs:string' use='required'/>
  5652. </xs:attributeGroup>
  5653. <xs:attributeGroup name='nodeReference'>
  5654. <xs:attributeGroup ref='sourceReference'/>
  5655. <xs:attribute name='nodeId' type='xs:string' use='required'/>
  5656. <xs:attribute name='cacheType' type='xs:string' use='optional'/>
  5657. </xs:attributeGroup>
  5658. <xs:attributeGroup name='parametersAndMessages'>
  5659. <xs:attribute name='parameters' type='xs:boolean' use='optional' default='false'/>
  5660. <xs:attribute name='messages' type='xs:boolean' use='optional' default='false'/>
  5661. </xs:attributeGroup>
  5662. <xs:attributeGroup name='indexReference'>
  5663. <xs:attributeGroup ref='sourceReference'/>
  5664. <xs:attribute name='index' type='xs:string' use='required'/>
  5665. <xs:attribute name='indexValue' type='xs:string' use='required'/>
  5666. </xs:attributeGroup>
  5667. <xs:attributeGroup name='responseCode'>
  5668. <xs:attribute name='result' type='ResponseCode' use='required'/>
  5669. </xs:attributeGroup>
  5670. <xs:attributeGroup name='eventTypes'>
  5671. <xs:attribute name='nodeAdded' type='xs:boolean' use='optional' default='true'/>
  5672. <xs:attribute name='nodeUpdated' type='xs:boolean' use='optional' default='true'/>
  5673. <xs:attribute name='nodeStatusChanged' type='xs:boolean' use='optional' default='true'/>
  5674. <xs:attribute name='nodeRemoved' type='xs:boolean' use='optional' default='true'/>
  5675. <xs:attribute name='nodeMovedUp' type='xs:boolean' use='optional' default='true'/>
  5676. <xs:attribute name='nodeMovedDown' type='xs:boolean' use='optional' default='true'/>
  5677. </xs:attributeGroup>
  5678. <xs:attributeGroup name='databaseReference'>
  5679. <xs:attribute name='databaseId' type='xs:string' use='required'/>
  5680. </xs:attributeGroup>
  5681. <xs:attributeGroup name='readoutReference'>
  5682. <xs:attribute name='seqnr' type='xs:int' use='required'/>
  5683. </xs:attributeGroup>
  5684. <xs:complexType name='Response'>
  5685. <xs:attributeGroup ref='responseCode'/>
  5686. </xs:complexType>
  5687. <xs:complexType name='TokenRequest'>
  5688. <xs:attributeGroup ref='tokens'/>
  5689. </xs:complexType>
  5690. <xs:complexType name='SourceReferenceRequest'>
  5691. <xs:complexContent>
  5692. <xs:extension base='TokenRequest'>
  5693. <xs:attributeGroup ref='sourceReference'/>
  5694. </xs:extension>
  5695. </xs:complexContent>
  5696. </xs:complexType>
  5697. <xs:complexType name='DataSource'>
  5698. <xs:attribute name='sourceId' type='xs:string' use='required'/>
  5699. <xs:attribute name='name' type='xs:string' use='required'/>
  5700. <xs:attribute name='hasChildren' type='xs:boolean' use='optional' default='false'/>
  5701. <xs:attribute name='lastChanged' type='xs:dateTime' use='optional'/>
  5702. </xs:complexType>
  5703. <xs:complexType name='DataSourceArrayResponse'>
  5704. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5705. <xs:element name='dataSource' type='DataSource'/>
  5706. </xs:sequence>
  5707. <xs:attributeGroup ref='responseCode'/>
  5708. </xs:complexType>
  5709. <xs:complexType name='NodeReferenceRequest'>
  5710. <xs:complexContent>
  5711. <xs:extension base='TokenRequest'>
  5712. <xs:attributeGroup ref='nodeReference'/>
  5713. </xs:extension>
  5714. </xs:complexContent>
  5715. </xs:complexType>
  5716. <xs:complexType name='NodeReference'>
  5717. <xs:attributeGroup ref='nodeReference'/>
  5718. </xs:complexType>
  5719. <xs:complexType name='NodeReferencesRequest'>
  5720. <xs:complexContent>
  5721. <xs:extension base='TokenRequest'>
  5722. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5723. <xs:element name='node' type='NodeReference'/>
  5724. </xs:sequence>
  5725. </xs:extension>
  5726. </xs:complexContent>
  5727. </xs:complexType>
  5728. <xs:complexType name='NodeReferenceParametersRequest'>
  5729. <xs:complexContent>
  5730. <xs:extension base='NodeReferenceRequest'>
  5731. <xs:attributeGroup ref='parametersAndMessages'/>
  5732. </xs:extension>
  5733. </xs:complexContent>
  5734. </xs:complexType>
  5735. <xs:complexType name='SourceReferenceParametersRequest'>
  5736. <xs:complexContent>
  5737. <xs:extension base='SourceReferenceRequest'>
  5738. <xs:attributeGroup ref='parametersAndMessages'/>
  5739. </xs:extension>
  5740. </xs:complexContent>
  5741. </xs:complexType>
  5742. <xs:complexType name='GetAllNodesRequest'>
  5743. <xs:complexContent>
  5744. <xs:extension base='SourceReferenceParametersRequest'>
  5745. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5746. <xs:element name='onlyIfDerivedFrom' type='xs:string'/>
  5747. </xs:sequence>
  5748. </xs:extension>
  5749. </xs:complexContent>
  5750. </xs:complexType>
  5751. <xs:complexType name='GetChildNodesRequest'>
  5752. <xs:complexContent>
  5753. <xs:extension base='NodeReferenceParametersRequest'>
  5754. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5755. <xs:element name='sortOrder' type='SortOrder'/>
  5756. </xs:sequence>
  5757. </xs:extension>
  5758. </xs:complexContent>
  5759. </xs:complexType>
  5760. <xs:complexType name='SortOrder'>
  5761. <xs:attribute name='parameterName' type='xs:string' use='required'/>
  5762. <xs:attribute name='ascending' type='xs:boolean' use='optional' default='true'/>
  5763. </xs:complexType>
  5764. <xs:complexType name='NodeInformation'>
  5765. <xs:choice minOccurs='0' maxOccurs='unbounded'>
  5766. <xs:element name='boolean' type='BooleanParameter'/>
  5767. <xs:element name='color' type='ColorParameter'/>
  5768. <xs:element name='dateTime' type='DateTimeParameter'/>
  5769. <xs:element name='double' type='DoubleParameter'/>
  5770. <xs:element name='duration' type='DurationParameter'/>
  5771. <xs:element name='int' type='IntParameter'/>
  5772. <xs:element name='long' type='LongParameter'/>
  5773. <xs:element name='string' type='StringParameter'/>
  5774. <xs:element name='time' type='TimeParameter'/>
  5775. <xs:element name='message' type='Message'/>
  5776. </xs:choice>
  5777. <xs:attribute name='nodeId' type='xs:string' use='required'/>
  5778. <xs:attribute name='displayName' type='xs:string' use='optional'/>
  5779. <xs:attribute name='nodeType' type='xs:string' use='optional'/>
  5780. <xs:attribute name='localId' type='xs:string' use='optional'/>
  5781. <xs:attribute name='logId' type='xs:string' use='optional'/>
  5782. <xs:attribute name='cacheType' type='xs:string' use='optional'/>
  5783. <xs:attribute name='state' type='NodeState' use='required'/>
  5784. <xs:attribute name='hasChildren' type='xs:boolean' use='required'/>
  5785. <xs:attribute name='childrenOrdered' type='xs:boolean' use='optional' default='false'/>
  5786. <xs:attribute name='isReadable' type='xs:boolean' use='optional' default='false'/>
  5787. <xs:attribute name='isControllable' type='xs:boolean' use='optional' default='false'/>
  5788. <xs:attribute name='hasCommands' type='xs:boolean' use='optional' default='false'/>
  5789. <xs:attribute name='parentId' type='xs:string' use='optional'/>
  5790. <xs:attribute name='parentCacheType' type='xs:string' use='optional'/>
  5791. <xs:attribute name='lastChanged' type='xs:dateTime' use='optional'/>
  5792. </xs:complexType>
  5793. <xs:complexType name='NodeSourceInformation'>
  5794. <xs:complexContent>
  5795. <xs:extension base='NodeInformation'>
  5796. <xs:attributeGroup ref='sourceReference'/>
  5797. </xs:extension>
  5798. </xs:complexContent>
  5799. </xs:complexType>
  5800. <xs:complexType name='Parameter' abstract='true'>
  5801. <xs:attribute name='id' type='xs:string' use='required'/>
  5802. <xs:attribute name='name' type='xs:string' use='required'/>
  5803. </xs:complexType>
  5804. <xs:complexType name='BooleanParameter'>
  5805. <xs:complexContent>
  5806. <xs:extension base='Parameter'>
  5807. <xs:attribute name='value' type='xs:boolean' use='required'/>
  5808. </xs:extension>
  5809. </xs:complexContent>
  5810. </xs:complexType>
  5811. <xs:complexType name='ColorParameter'>
  5812. <xs:complexContent>
  5813. <xs:extension base='Parameter'>
  5814. <xs:attribute name='value' type='Color' use='required'/>
  5815. </xs:extension>
  5816. </xs:complexContent>
  5817. </xs:complexType>
  5818. <xs:complexType name='DateTimeParameter'>
  5819. <xs:complexContent>
  5820. <xs:extension base='Parameter'>
  5821. <xs:attribute name='value' type='xs:dateTime' use='required'/>
  5822. </xs:extension>
  5823. </xs:complexContent>
  5824. </xs:complexType>
  5825. <xs:complexType name='DoubleParameter'>
  5826. <xs:complexContent>
  5827. <xs:extension base='Parameter'>
  5828. <xs:attribute name='value' type='xs:double' use='required'/>
  5829. </xs:extension>
  5830. </xs:complexContent>
  5831. </xs:complexType>
  5832. <xs:complexType name='DurationParameter'>
  5833. <xs:complexContent>
  5834. <xs:extension base='Parameter'>
  5835. <xs:attribute name='value' type='xs:duration' use='required'/>
  5836. </xs:extension>
  5837. </xs:complexContent>
  5838. </xs:complexType>
  5839. <xs:complexType name='IntParameter'>
  5840. <xs:complexContent>
  5841. <xs:extension base='Parameter'>
  5842. <xs:attribute name='value' type='xs:int' use='required'/>
  5843. </xs:extension>
  5844. </xs:complexContent>
  5845. </xs:complexType>
  5846. <xs:complexType name='LongParameter'>
  5847. <xs:complexContent>
  5848. <xs:extension base='Parameter'>
  5849. <xs:attribute name='value' type='xs:long' use='required'/>
  5850. </xs:extension>
  5851. </xs:complexContent>
  5852. </xs:complexType>
  5853. <xs:complexType name='StringParameter'>
  5854. <xs:complexContent>
  5855. <xs:extension base='Parameter'>
  5856. <xs:attribute name='value' type='xs:string' use='required'/>
  5857. </xs:extension>
  5858. </xs:complexContent>
  5859. </xs:complexType>
  5860. <xs:complexType name='TimeParameter'>
  5861. <xs:complexContent>
  5862. <xs:extension base='Parameter'>
  5863. <xs:attribute name='value' type='xs:time' use='required'/>
  5864. </xs:extension>
  5865. </xs:complexContent>
  5866. </xs:complexType>
  5867. <xs:complexType name='Message'>
  5868. <xs:simpleContent>
  5869. <xs:extension base='xs:string'>
  5870. <xs:attribute name='timestamp' type='xs:dateTime' use='required'/>
  5871. <xs:attribute name='type' type='MessageType' use='required'/>
  5872. <xs:attribute name='eventId' type='xs:string' use='optional'/>
  5873. </xs:extension>
  5874. </xs:simpleContent>
  5875. </xs:complexType>
  5876. <xs:complexType name='NodeInformationArrayResponse'>
  5877. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5878. <xs:element name='node' type='NodeInformation'/>
  5879. </xs:sequence>
  5880. <xs:attributeGroup ref='responseCode'/>
  5881. </xs:complexType>
  5882. <xs:complexType name='StringArray'>
  5883. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5884. <xs:element name='value' type='xs:string'/>
  5885. </xs:sequence>
  5886. </xs:complexType>
  5887. <xs:complexType name='StringArrayResponse'>
  5888. <xs:complexContent>
  5889. <xs:extension base='StringArray'>
  5890. <xs:attributeGroup ref='responseCode'/>
  5891. </xs:extension>
  5892. </xs:complexContent>
  5893. </xs:complexType>
  5894. <xs:complexType name='BooleanArrayResponse'>
  5895. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5896. <xs:element name='value' type='xs:boolean'/>
  5897. </xs:sequence>
  5898. <xs:attributeGroup ref='responseCode'/>
  5899. </xs:complexType>
  5900. <xs:complexType name='IndexReferenceRequest'>
  5901. <xs:complexContent>
  5902. <xs:extension base='TokenRequest'>
  5903. <xs:attributeGroup ref='indexReference'/>
  5904. <xs:attributeGroup ref='parametersAndMessages'/>
  5905. </xs:extension>
  5906. </xs:complexContent>
  5907. </xs:complexType>
  5908. <xs:complexType name='IndexReference'>
  5909. <xs:attributeGroup ref='indexReference'/>
  5910. </xs:complexType>
  5911. <xs:complexType name='IndexReferencesRequest'>
  5912. <xs:complexContent>
  5913. <xs:extension base='TokenRequest'>
  5914. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5915. <xs:element name='indexRef' type='IndexReference'/>
  5916. </xs:sequence>
  5917. <xs:attributeGroup ref='parametersAndMessages'/>
  5918. </xs:extension>
  5919. </xs:complexContent>
  5920. </xs:complexType>
  5921. <xs:complexType name='SetNodeParametersResponse'>
  5922. <xs:choice minOccurs='1' maxOccurs='1'>
  5923. <xs:element name='error' type='ParameterError' minOccurs='1' maxOccurs='unbounded'/>
  5924. <xs:element name='node' type='NodeInformation' minOccurs='1' maxOccurs='unbounded'/>
  5925. </xs:choice>
  5926. <xs:attributeGroup ref='responseCode'/>
  5927. </xs:complexType>
  5928. <xs:complexType name='ParameterFormResponse'>
  5929. <xs:sequence>
  5930. <xs:element ref='xd:x' minOccurs="1" maxOccurs="1"/>
  5931. </xs:sequence>
  5932. <xs:attributeGroup ref="responseCode"/>
  5933. </xs:complexType>
  5934. <xs:complexType name='NodeTypeReferenceRequest'>
  5935. <xs:complexContent>
  5936. <xs:extension base='NodeReferenceRequest'>
  5937. <xs:attribute name='type' type='xs:string' use='required'/>
  5938. </xs:extension>
  5939. </xs:complexContent>
  5940. </xs:complexType>
  5941. <xs:complexType name='Command'>
  5942. <xs:attribute name='command' type='xs:string' use='required'/>
  5943. <xs:attribute name='name' type='xs:string' use='required'/>
  5944. <xs:attribute name='type' type='CommandType' use='required'/>
  5945. <xs:attribute name='sortCategory' type='xs:string' use='optional'/>
  5946. <xs:attribute name='sortKey' type='xs:string' use='optional'/>
  5947. <xs:attribute name='confirmationString' type='xs:string' use='optional'/>
  5948. <xs:attribute name='failureString' type='xs:string' use='optional'/>
  5949. <xs:attribute name='successString' type='xs:string' use='optional'/>
  5950. </xs:complexType>
  5951. <xs:complexType name='CommandArray'>
  5952. <xs:sequence minOccurs='0' maxOccurs='unbounded'>
  5953. <xs:element name='command' type='Command'/>
  5954. </xs:sequence>
  5955. </xs:complexType>
  5956. <xs:complexType name='NodeCommandReferenceRequest'>
  5957. <xs:complexContent>
  5958. <xs:extension base='NodeReferenceRequest'>
  5959. <xs:attribute name='command' type='xs:string' use='required'/>
  5960. </xs:extension>
  5961. </xs:complexContent>
  5962. </xs:complexType>
  5963. <xs:complexType name='ExecuteNodeCommandResponse'>
  5964. <xs:choice minOccurs='0' maxOccurs='unbounded'>
  5965. <xs:element name='error' type='ParameterError'/>
  5966. </xs:choice>
  5967. <xs:attributeGroup ref='responseCode'/>
  5968. </xs:complexType>
  5969. <xs:complexType name='ExecuteCommonNodeCommandResponse'>
  5970. <xs:complexContent>
  5971. <xs:extension base='ExecuteNodeCommandResponse'>
  5972. <xs:choice minOccurs='0' maxOccurs='unbounded'>
  5973. <xs:element name='result'>
  5974. <xs:complexType>
  5975. <xs:simpleContent>
  5976. <xs:extension base='xs:boolean'>
  5977. <xs:attribute name='error' type='xs:string' use='optional'/>
  5978. </xs:extension>
  5979. </xs:simpleContent>
  5980. </xs:complexType>
  5981. </xs:element>
  5982. </xs:choice>
  5983. </xs:extension>
  5984. </xs:complexContent>
  5985. </xs:complexType>
  5986. <xs:complexType name='ParameterError'>
  5987. <xs:simpleContent>
  5988. <xs:extension base='xs:string'>
  5989. <xs:attribute name='var' type='xs:string' use='required'/>
  5990. </xs:extension>
  5991. </xs:simpleContent>
  5992. </xs:complexType>
  5993. <xs:complexType name='ReadoutReference'>
  5994. <xs:attributeGroup ref='databaseReference'/>
  5995. <xs:attributeGroup ref='readoutReference'/>
  5996. </xs:complexType>
  5997. <xs:complexType name='DatabaseReferenceRequest'>
  5998. <xs:complexContent>
  5999. <xs:extension base='TokenRequest'>
  6000. <xs:attributeGroup ref='databaseReference'/>
  6001. </xs:extension>
  6002. </xs:complexContent>
  6003. </xs:complexType>
  6004. </xs:schema>]]>
  6005. </code>
  6006. </section1>
  6007. <section1 topic='For more information' anchor='moreinfo'>
  6008. <p>
  6009. For more information, please see the following resources:
  6010. </p>
  6011. <ul>
  6012. <li>
  6013. <p>
  6014. The <link url='http://wiki.xmpp.org/web/Tech_pages/SensorNetworks'>Sensor Network section of the XMPP Wiki</link> contains further information about the
  6015. use of the sensor network XEPs, links to implementations, discussions, etc.
  6016. </p>
  6017. </li>
  6018. <li>
  6019. <p>
  6020. The XEP's and related projects are also available on <link url='https://github.com/joachimlindborg/'>github</link>, thanks to Joachim Lindborg.
  6021. </p>
  6022. </li>
  6023. <li>
  6024. <p>
  6025. A presentation giving an overview of all extensions related to Internet of Things can be found here:
  6026. <link url='http://prezi.com/esosntqhewhs/iot-xmpp/'>http://prezi.com/esosntqhewhs/iot-xmpp/</link>.
  6027. </p>
  6028. </li>
  6029. </ul>
  6030. </section1>
  6031. <section1 topic='Acknowledgements' anchor='ack'>
  6032. <p>Thanks to Joachim Lindborg, Karin Forsell, Tina Beckman and Klaudiusz Staniek for all valuable feedback.</p>
  6033. </section1>
  6034. </xep>