Dear Dario,
You need to carefully se the “startupMode” attribute. There are in fact three possible scenario to startup a ZigBee network:
· 0 - StartupSetMode=0x18 (CommissioningMode) AND StartupControlMode=0x00 (Association) --> To be used the first time, when the network is created
· 1 - StartupSetMode=0x00 (use NVM) AND StartupControlMode=0x04 (SilentStart) --> To be used at running time
· 2 - StartupSetMode=0x18 (CommissioningMode) AND StartupControlMode=0x04 (SilentStart) --> To be used for TC
Thus, the first time you create a ZigBee network you should use the value “0”, then for all the rest of the times you shall set this value to “1” so that you’re sure that even after a power loss the network can restart using the previous setting, stored in the NotVolatileMemory.
Another alternative, every time before to launch a StartGatewayDevice procedure be sure to run a Reset procedure having the NotVolatileMemory as parameter: this would guarantee you that independently on the value set on the config.ini, the GAL will start always taking into account the previously stored settings.
Best regards,
Andrea
------------------------------------------------------------------
Telecom Italia
Andrea Ranalli
Open Innovation Research – Future Internet Trial (SI.OIR.FIT)
Via di val cannuta, 182 00166 Roma
Mobile phone: +39 331 60 42 768
Land phone: +39 06 3688 8266
Fax number: +39 06 2331 6872
Da: jemma-...@googlegroups.com [mailto:jemma-...@googlegroups.com]
Per conto di dario bonino
Inviato: mercoledì 30 aprile 2014 10:31
A: jemma-...@googlegroups.com
Oggetto: [jemma-general] ZigeBee Newtork persistence - need for clarifications
--
JEMMA - Java Energy ManageMent Application framework -
http://jemma.energy-home.org
---
You received this message because you are subscribed to the Google Groups "JEMMA General Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jemma-genera...@googlegroups.com.
To post to this group, send email to
jemma-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jemma-general.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jemma-general/40b5a95b-a650-4db1-a01f-46d5d8f08850%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi
altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks. |
You received this message because you are subscribed to a topic in the Google Groups "JEMMA General Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jemma-general/Mh6A3lklY40/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jemma-genera...@googlegroups.com.
To post to this group, send email to jemma-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jemma-general.
To view this discussion on the web visit https://groups.google.com/d/msgid/jemma-general/EE97E50B30DF6245BEF475F58DB25EF152EC4593D1%40GRFMBX704BA020.griffon.local.
For more options, visit https://groups.google.com/d/optout.
-- Ing. Dario Bonino, Ph.D Post-doc researcher @ PoliTo e-m@il: dario....@gmail.com / dario....@polito.it www: http://elite.polito.it/people/bonino <foaf:Person> <foaf:firstName>Dario</foaf:firstName> <foaf:surname>Bonino</foaf:surname> <foaf:msnChatID>slid...@hotmail.com</foaf:msnChatID> </foaf:Person>