Home

Manual-Commands-Users

image

Contents

1. O Net Functions This section lists and describes all functions needed to characterize and manage the Net e CMD 09 addr rate Description Sets the new Poll Rate of the addressed End Device Poll Rate is the time whom the End device spend to wake up and verify the Router presence and if there are packets for 1t usually the End Device is in Power Down Every wake up time from the Power Down status the End Device will send a request to 1ts Father If Router has stored messages for it immediately will be transferred otherwise the End Device went back immediately in Power Down status If the ED doesn t found any messages from its Father it will try the next awakening till performing 2 attempts If no messages are present to it once again it feel orphan of its Father it will search for a new father to whom join see command CMD 08 Poll rate time has a range from 100ms to 65535ms It default value is setted to 60 seconds NOTE Router called Father keep stored only one message to each ED and each poll rate Within every Poll Rate The ED can receive only one message from its Father Parameters Parameter Types Command Outputs Addr 16bits short address of ED node Addr gt gt 4 bytes in ASCII termination code gt 1 byte that will receive the command characters for hexadecimal e 0x30 gt no_error address of destination node e 0x32 gt error in Parameters Rate New poll rate value 0x33 gt e
2. error in Parameters 0x33 gt error in Parameters number MsgType gt 1 byte e 0x01 gt get battery semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 32 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide In case of correct execution sampled data is ready into the output buffer to be forwarded via serial port or radio transmission N B First byte of the output buffer contain the 7 byte MsgType so the total bytes to be transmitted are 4 NOTA Buffer on which is written the conversion result is shared even for the result writing of others commands For that reason in case the result conversion via serial port or radio transmission 1s wanted is necessary perform the sending command immediately after the conversion Commands common to all devices O Net functions e CMD 01 Description performs a device Full Reset If command is forwarded to coordinator it erases all information relating to the previous network running a scan on all channels and creating a new network on channel considered more free from RF interference If command is forwarded to a router or an end
3. termination code gt 1 byte receive the packet characters for hexadecimal e 0x30 gt no_error Sif gt broadcast address address of destination node 0x32 gt errore nei Parameters byte gt bytes qt to be transmitted byte gt 2 bytes in ASCII e 0x33 gt error in Parameters limited to 80 bytes to the router characters for hexadecimal number transmission and 46 bytes to ED bytes to be transmitted 0x34 gt no response transmission Dati gt data to be transmitted e 0x38 gt ack received Data gt data to be transmitted e 0x40 gt system busy semicolon gt 1 byte Example SNT 143E 14 0123456789abcdefghil Sents to the device short address 0x143E 20bytes placed to the data field The addressed device will write to serial Remote Command Outputs For good data reception For incorrect data reception MsgType gt 1 byte MsgType gt 1 byte e 0x02 gt Generic Radio Msg e 0x02 gt Generic Radio Msg Source Address gt 2 byte Address sorgente gt 2 byte Data lenght gt 1 byte Data lenght gt 1 byte Received data gt byte Dati ricevuti gt byte Received data gt 1 byte semicolon gt 1 byte e 0x48 gt data error semicolon gt 1 byte If addressed device properly receives the command it will send back to source node confirmation of it This confirmation is given out of serial line with 0x38 gt ack received Inf
4. 1 byte Information ES to ch ange without notice AUREL S p A makes no lll and assumes no liability in connection with any use of this information AUREL S p A Via Paes dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 26 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Router reserved Commands O Radio Section e CMD 18 addr Description delivers to specified address via radio the battery voltage value This command should be preceded from CMD 17 as this last one reads the status of battery Parameters Parameter Types Command Outputs Addr gt 16bits address of node that will Addr gt 4 bytes in ASCII Termination code gt 1 byte receive the command characters for hexadecimal e 0x30 gt no_error Siff gt broadcast address address of destination node 0x32 gt Parameters error e 0x33 gt error in Parameters number 0x34 gt no response e 0x38 gt ack received e 0x40 gt system busy semicolon gt byte Example CMD 17 Reads battery voltage status and memorizes into module internal buffer CMD 18 287b Sends battery status to device short address 0x287b Addressed node will output on serial line Remote Command Output For good data reception For incorrect data reception MsgType
5. 19 CMD 022 Pad taaan A eS 19 CMD o dedo ola 20 CMD OB Add e oia cae ecos 20 CMD OF addict EEA EEE S E A E Ub A E 21 FNS MA Cader in A ana a 22 e EMBA ida 23 CMD nania A ti 23 o Serial Comunication Interfacing sesesseosoesessossesoessesessossessossesoessescesossessossesocssesoessesessossessossesoessssosssesessoss 24 LEBON eTe Ke TDi 0 t AAEE TE E dd 24 CMD OC addr OUE told 24 e OMD e oe ee E cota 25 ROUTER RESERVED COMMANDS cccccccoconccocanononanonancconanoncnnnnncnnnnronannrrnnanrrnanaronaanrnanana 27 o CIR pa sares so suvede puote Saue sas So bests Sutoro So SKS sa deriso r sara vodse Soinissa seios 27 CMD St ad To i EOE TE EEEE SE EEEE td 27 EMBA d a E Ea EN 28 e EMBA riendas 29 MID UB A a E 30 AI EN 30 CMD 15 channel resolutiON TE erence siiis noie o oor OE or EO a OE E EOI EE s oiae 31 OMD O RN 32 END MP dt een N 32 COMMANDS COMMON TO ALL DEVICES ccocccccacccnnoccnnnoccnanaccnanarcnnanonananonananenana 33 NAO AA RO 33 MDO TA ee oz 33 LEI RA 34 SN E ineo coset sutcescuscaces ch svbos des tonecede seh oeeo ieod eva bua cubase thaws dessa susceschevies roa EES rbk oa 34 RESET ha tl edad ed dd ia collect td Seven id lodo edi tate 35 TINTBR RU RT 622 stes atera es othe ol cerda e tdo dnd e EA al ello E tds A OLA 35 PND a o dl ta tdo 36 CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide COMMANDS USER MANUAL XTR ZB1 AUREL MODULE O General considerations C
6. EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide If addressed device properly receives the command this will deliver to source node a confirmation of it Source node will output on serial line Local node Command Outputs MsgType gt 1 byte 0x04 gt ping msg LOI gt 1 byte Remote node 16bits address gt 2 bytes Addressed device type gt byte semicolon gt 1 byte LQI Link Quality Indicator Values from 100 to 200 are considered indication of good radio link e CMD 0F addr Description sends to a Net node the request of MAC address identification via short adress Parameters Parameter Types Command Outputs Addr gt 16bits address of node that Addr gt 4 bytes in ASCII Termination code gt 1 byte will receive the command characters for hexadecimal e 0x30 gt no_error All 16bits Parameters are valid address of destination node e 0x32 gt Parameters error Diff gt broadcast address 0x33 gt error in Parameters number 0x36 gt lost IEEE e 0x40 gt system busy semicolon gt 1 byte Example CMD 0F 0001 requests MAC Address to router with short address 0x0001 If addressed device properly receives the command this will deliver to source node a confirmation of it Source node will output on serial line Command Outputs on local node MsgType gt 1 byte 0x06 gt Ask extended address msg 64bits
7. Gives back correct incorrect execution code followed by semicolon In case of correct execution the sampled value followed by gt semicolon is memorized into the output buffer ready to be sended via serial line or radio transmission 66 9 CMD 15 0c 03 00 ADC line sampling Gives back correct incorrect execution code followed by semicolon In case of correct execution the sampled value followed by semicolon is memorized into the output buffer ready to be sended via serial line or radio transmission 66 9 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 3 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide It is not possible to assure the max execution time because it is due to many factors as dimension network topology and CPU status of the chip It is not useful indicate the commands execution time that use the radio channel because the acces methodologyto the channel defined by the ZigBee standard is aleatory strongly influenced by the numbers of net nodes network topology and environment factors At the ignition of the device is sent to serial line the terminati
8. IEEE of remote node gt 8 bytes 16bits address of remote node gt 2 bytes Type of addressed node gt 1 byte Semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 21 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e ASA MACaddr Description sends request of short address identification via MAC address Considering that all packets in the net are addressed via short address this command can be really usefull If MAC address of a device is known to deliver a packet to it it is also necessary to receive information of short address that is assigned from the net to it A router short address once assigned at association time will not undergo any change End device on the other hand changes its short address when it changes the associated father This can easily happen when nodes are in relative movement NOTE If End Device is not in active state 1 e in power down No answer will be given to instruction Parameters Parameter Types Command Outputs MACadadr gt 16bits address of node MACaddr gt 16 bytes in Termination code gt 1 byte that will
9. Valid values 1 to 4 out gt 1 byte in ASCII 0x33 gt error in Parameters characters with number of number output line to be set 0x40 gt system busy e 0x49 gt lost set reset semicolon gt 1 byte Example CMD 0B 0001 1 Sets to value One the OUT 1 port of device short address Ox0001 If addressed device properly receives the command this will deliver to source node a confirmation of it Source node will output on serial line Command Outputs on local node MsgType gt 1 byte e 0x21 gt set reset pin 16bits address of remote node gt 2 bytes semicolon gt 1 byte e CMD 0C addr out Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 24 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Description sets OUT out digital output of device with short address addr to Zero Parameters Parameter Types Command Outputs Addr gt 16bits address of node that Addr gt 4 bytes in ASCII Termination code gt 1 byte will receive the command characters for hexadecimal e 0x30 gt no_error Fout gt output to be set address of
10. destination node e 0x32 gt Parameters error Valid values 1 to 4 out gt 1 byte in ASCII e 0x33 gt error in Parameters characters with number of number output line to be set e 0x40 gt system busy 0x49 gt lost set reset semicolon gt 1 byte Example CMD 0C 143E 2 Sets to value Zero OUT 2 port of device short address 0x143E If addressed device properly receives the command this will deliver to source node a confirmation of it Source node will output on serial line Command Outputs on local node MsgType gt 1 byte e 0x21 gt set reset pin 16bits address of remote node gt 2 byte semicolon gt 1 byte e CMD 13 Description gives back the device installed software version Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigi 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 25 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS _ AUREL MODULE XTR ZB1 User guide Parameters Parameter Types Command Outputs No parameters requested Termination codee gt 1 byte e 0x30 gt no_error e 0x32 gt Parameters error e 0x33 gt error in Parameters number semicolon gt 1 byte sw version gt 3 byte semicolon gt
11. device performs a Full Reset on the device see section interrupts management If a coordinator reset will running is necessary run it also to the others remote devices that are part of network That because coordinator has certainly changed the 128 bit encryption key and could also have chosen a different channel of the previous network If the keep alive is active on all the devices placed on the network they performs an automatically reset subsequently to the coordinator reset Otherwise will necessary running a manual reset on all the remote devices Parameters Parameter Types Command Outputs No parameters requested termination code gt 1 byte e 0x30 gt no_error 0x33 gt error in Parameters number semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 33 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide O Radio Section e SNT addr byte data Description delivers to specified address via radio data queued to Parameters Parameters Parameter Types Command Outputs Addr gt 16bits address of node that will Addr gt 4 bytes in ASCII
12. every interval called Poll Rate better described further When the End Device is in power down mode radio communication is over and it can t receive data packets At wake up time every Poll Rate it call is associated router asking for messages addressed to it In case messages are present router provides to forward it to the End device If the forwarded messages needs a response following to that End Device provides to sent one back to the transmitter To obtain a response from an End Device it is necessary waiting the Poll Rate time Therefore if a message will send to an End Device could happen that transmitter has to do the three attempts and its non receipt notification that it s received at the End Device wake up time Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 5 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide O MsgType commands Tab Name Value Generic radio Msg 0x02 Ping Msg 0x04 Ask Extended Add Msg 0x06 Send Cycle 0x08 Get Software Version 0x09 Alarm 0x20 Set Reset pin 0x21 Getbattery 0x01 GetTemp 0x03 Get Short Address 0x05 Get Extende
13. gt 1 byte MsgType gt 1 byte e 0x01 gt Get Battery 0x48 gt data error source Address gt 2 byte received Data gt 2 byte V in millivolt semicolon gt byte semicolon gt byte If addressed device properly receives the command it will send back to source node confirmation of it This confirmation is given out of serial line with 0x38 gt ack received Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 27 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 19 addr Description delivers to specified short address via radio the Integrated Circuit temperature value This command should be preceded from CMD 16 as this last one reads the status of temperature Parameters Parameter Types Command Outputs Addr gt 16bits address of note that will Addr gt 4 bytes in ASCII termination code gt 1 byte receive the command characters for hexadecimal e 0x30 gt no_error Jf gt broadcast address address of destination node 0x32 gt Parameters error 0x33 gt error in Parameters number e 0x34 gt no response e 0x38 gt ack received
14. is 60 minutes 3C00 It default value is setted to 10 seconds Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 13 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Parameters Parameter Types Command Outputs Addr 16bits address of node that will Addr gt 4 bytes in ASCII termination code gt 1 byte receive the command characters for hexadecimal e 0x30 gt no_error address of destination node e 0x32 gt error in Parameters Rate gt Cyclical activity rate in 0x33 gt error in Parameters minutes 2 bytes and seconds 2 Minutes hexadecimal gt 2 number bytes bytes 0x47 gt broadcast not available Seconds hexadecimal gt 2 bytes semicolon gt byte Example CMD 05 0001 0A1E It sets the cyclical transmission rate to 10 minutes OA and 30 seconds 1E e CMD 03 MAC addr Description Inserts the Mac address of the authorized device to be connected to the network When the network is locked se the command CMD 0A the coordinatore will accept the association of the devices authorized with MAC address This authorization occur through the sending of a series of
15. network cause never has been associated before or because it is trying to reconnect itself to a new router SNT command has no effect For that reason before to wake up the device with the PWD line to forward the message is necessary to ensure that the device is part of the network through the line OUT R That line is low when the device is handling and take part of a network High in reverse sense Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 36 di 36 http www aurelwireless com email r commOaurel it
16. reason in case the result conversion via serial port or radio transmission is wanted is necessary perform the sending command immediately after the conversion e CMD 16 Description performs the temperature reading automatically setting the parameters required to the conversion of the value provided by the chip temperature sensor Parameters Parameter Types Command Outputs No imput parameters requested termination code gt byte e 0x30 gt no_error 0x32 gt error in Parameters 0x33 gt error in Parameters number MsgType gt 1 byte e 0x03 gt get temp semicolon gt byte In case of correct execution sampled data is ready into the output buffer to be forwarded via serial port or radio transmission N B First byte of the output buffer contain the 7 byte MsgType so the total bytes to be transmitted are 4 NOTA Buffer on which is written the conversion result is shared even for the result writing of others commands For that reason in case the result conversion via serial port or radio transmission is wanted is necessary perform the sending command immediately after the conversion e CMD 17 Description performs the battery reading automatically setting the parameters required to the conversion of the power supply voltage value Parameters Parameter Types Command Outputs No imput parameters requested termination code gt byte e 0x30 gt no_error e 0x32 gt
17. 0x40 gt system busy 0x47 gt broadcast not available 0x37 gt No response at TX start command semicolon gt 1 byte Example CMD 06 0001 starts the cyclical data transmission to the device with short address 0x0001 The addressed device will output on serial line Remote command Output Termination code gt 1 byte e 0x39 gt StartCyclicTx cyclical start reception semicolon gt byte Owing to the performed command will be activated the clyclical transmission from the addressed device On detail the following data will forwarded to the coordinator Command Outputs to the coordinator For good data reception For incorrect data reception put on queuing MsgType gt 1 byte e 0x08 gt send cycle termination code gt 1 byte Source address gt 2 bytes e 0x48 gt data error Battery value in millivolts gt 2 bytes Temp Value to be converted using Formula Nr 1 gt 2 semicolon gt 1 byte bytes ADC Il res Value max ref 1 25 gt 2 bytes ADC2 res Value max ref 1 25 gt 2 bytes ADC3 res Values max ref 1 25 gt 2 bytes ADC4 res Value max ref 1 25 gt 2 bytes Digital I O status gt 1 byte semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigli
18. 941660 http www aurelwireless com email r commOaurel it ITALY 09 06 2008 Rev B Pag 29 di 36 CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 1B Description It stop the sampled cyclical data transmission from the device Parameters Parameter Types Command Outputs No imput parameters requested termination code gt byte e 0x30 gt no_error 0x33 gt error in Parameters number semicolon gt byte O Serial Comunication Interfacing e CMD 12 Description Forwards the data placed into the module internal buffer 4 bytes to the serial port This command must be used after one of the following commands CMD 15 CMD 16 CMD 17 The above listed commands create a ADC conversion and storing the sampled data into the buffer In order to forward the sampling into the serial port must be used subsequently the command CMD 12 Parameters Parameter Types Command Outputs No parameters requested termination code gt byte e 0x30 gt no_error 0x32 gt error in Parameters 0x33 gt error in Parameters number semicolon gt 1 byte dati gt 4 byte memorized into the buffer semicolon gt byte NOTE Used buffer is shared by other commands For that reason in case the intention will forward a conversion s result via serial port or radio transmission after the comunication is necessary perform th
19. USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Parameters Parameter Types Command Outputs Addr 16bits short address of node Addr gt 4 bytes in ASCII termination code gt 1 byte that will receive the command characters for hexadecimal e 0x30 gt no_error address of destination node e 0x32 gt error in Parameters On Off required status e 0x33 gt error in Parameters 0x00 gt not active keep alive On Off gt 1byte number OxFF gt active keep alive semicolon gt byte 0x34 gt no response e 0x40 gt system busy semicolon gt 1 byte Example CDM 08 0001 00 Deactivates the keep alive function on the device having the short address 0x0001 In case of correct data reception remote device send to the source node a confirmation whose wrote to the serial line Command Outputs on local node MsgType gt 1 byte e 0x17 gt set keep alive ack 16bits address of remote node gt 2 byte semicolon gt 1 byte e CMD 05 addr rate Description Sets a new network concerned the cyclical data transmission from ED or Router to Coordinator see command CMD 06 Every time a cyclical data transmission is required it is necessary to set the transmission rate through this command and then start the transmission with the command CMD 06 In order to stop it it is necessary to set the transmission rate to Zero CMD 05 addr 0000 Maximum setting value
20. ana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 17 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS _ AUREL MODULE XTR ZB1 User guide NOTE Less significant 5 bits meaning the outputs status OUT R OUT 1 OUT 2 OUT 3 e OUT 4 and the others 3 bits meaning the imputs status IN 1 IN 2 IN 3 Formula 1 CONST 0 61065 OFFSET 779 75 TEMP_COEFF 2 43 Temperatur outputVoltage x CONST OFFSET TEMP_COEFF Where OutputVoltage is the ADC value In case of correct data reception coordinator send to the device the rate value that should mantained for the transmission default 10 sec Information subject to ch ange without notice AUREL S p A makes no a and assumes no os in connection with any use of this information AUREL S p A via Paes dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 18 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Coordinator Router reserved Commands O Net Functions This section lists and describes all functions needed to characterize and manage the Net e CMD 02 Panld Description Sets Net PAN ID A Coordinator unit at reception of this command will execute a Reset and will create a new Net with PAN ID as specified in the instruction while perf
21. by proper command At the network creation coordinator choose through an algorithm of randomly number generator 128 bit key of data encryption From that moment the coordinator is waiting to be connected to the AUREL devices To others ZigBee devices doesn t made by AUREL is not allowed joining the network When a remote device Router or End Device will be started for the first time it will perfom a scanning upon all channels without any constraint a network whose join in When a remote device Router or End Device had been joined a Short address 16 bit will be awarded to it and this is the way the network packets are addressed with coordinator is always address with 0x0000 The Short address will be the same for Routers unless a device reset will performed see section Interrupts Management The End Device change its Short address according to the joined Router called Father So If the End device leaves the radio field range of its Father and join another Router the Short address surely change At the same time if its Father will be turned off and the End Device will found another router to join in a new Short address will awarded to it NOTE OxFFFF is the inner network broadcast address A packet sended with that address will be received from all the Routers joined to the network but not from the End Devices Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no
22. commands to the coordinator containing acceptable MAC as parameter for the network The maximum value of associable devices are 200 Parameters Parameter Types Command Outputs MAC addr MAC address 64 bits of MAC addr gt 16 bytes in termination code gt byte node that has been authorized to be ASCII characters for e 0x30 gt no_error part of network hexadecimal address of 0x32 gt error in Parameters destination node e 0x33 gt error in Parameters number e 0x52 gt no more devices 0x53 gt device already present semicolon gt byte NOTE Parameter must be sended as 8 values of 2 bytes divided by colon as the follow example explain CMD 03 00 12 4B 00 56 ED 12 09 Authorized MAC list that can be part of network shall be sended to the coordinator after every ignition and after every reset performed also for the channel tuning Then it s necessary start up the network with the command CMD 04 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 14 di 36 http www aurelwireless com email ricomm aurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 07 channel Description Sets the new cha
23. d Address 0x07 Pan Info 0x11 Get ADC Value 0x13 Ask Nwk Address 0x15 Set Keep Alive ack 0x17 Set Poll Rate 0x19 Show key Ox0A o Devices types Tab Device Code Coordinatore 0x09 Router 0x07 End Device 0x06 Rejoin End Device 0x04 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 6 di 36 http www aurelwireless com email ricomm aurel it CU EL RELEsS S COMMANDS USER MANUAL AUREL MODULE XTR ZB1 User guide COMMANDS TYPES O Commands summary Tab In the tab below are summaries all the commands Some of the following commands are reserved to the coordinator only some are impartible via serial line even to the Routers and End Devices SNT command is the only one that it can be used to the End Devices besides Reset command Before sending this command to the End Device it is necessary start up the device since it is practically still in Power Down bringing low the PWD Sintax Command Coord Router End Dev CMD 01 Reset y y y CMD 02 1234 Set Panld y y CMD 03 00 12 4B 00 00 01 02 03 Add Item y CMD 04 Start Net y CMD 05 0001 0010 New Rate y CMD 06 0001 Start Tx y CMD 07 0B S
24. e 0x30 gt no_error e 0x33 gt error in Parameters number e 0x54 gt No devices added CMD 03 Semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 15 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 0A status Description enables disabile the coordinator s reception of any AUREL devices to joining the net Parameters Parameter Types Command Outputs Status Status to be set Status gt Ibyte Termination code gt 1 byte 00 gt no devices can be joined to the e 0x30 gt no_error net except them with authorized 0x32 gt error in Parameters MAC CMD 03 e 0x33 gt error in Parameters number FF gt Any AUREL devices can be 0x40 gt system busy added to the net semicolon gt byte Example CMD 0A FF Gives to the coordinator chances to accept joining from any AUREL devices e CMD 14 Descrizione Gives back 128 bit encryption key installed on the device Network uses a 128 bit encryption key for data encoding This key is choosen with an algorithm that produces numbers randomly from the coordinator communicated to
25. e 0x40 gt system busy semicolon gt byte Example CMD 16 reads the Ic temperature value and memorize into module internal buffer CMD 19 0001 Sends Ic temperature status to device short address 0x0001 Addressed node will output on serial line Remote Command Outputs For good data reception For incorrect data reception MsgType gt 1 byte MsgType gt 1 byte e 0x03 gt Get Temp 0x48 gt data error Source Address gt 2 bytes Received Data gt 2 bytes to be converted using semicolon gt 1 byte Formula Nr 1 semicolon gt 1 byte If addressed device properly receives the command it will send back to source node confirmation of it This confirmation is given out of serial line with 0x38 gt ack received Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 28 di 36 http www aurelwireless com email r commOaurel it CU EL RELESS e CMD 1A COMMANDS USER MANUAL AUREL MODULE XTR ZB1 User guide Description It start up the sampled cyclical data transmission from the device to the coordinator A similar command as CMD 06 but given by the serial port up to local node rather that remotely by a c
26. e COMMANDS USER MANUAL XTR ZB1 AUREL MODULE 3 o General CONSIMEFAIONS si seicesssssisecsesossscssessesessesoncsseesansiseesodesseeisososcssesuesevessssoeeseteasoaisesesoe setsasoesoessesesensosaessesesses 3 o Termination code Tab sisscecceccssoncococesssccesccssoseseetesseoscssncesssdsoseccssencssastesscosenessosessuntessandesnsssssacsoncstesseestesdescessncesees 4 o MsgType commands Tabb cccscssssccccscssssccccscesssccccssesssccscsessssscccssesssscccssesssscccssessssccessessssccessesssecocssessseooes 6 o Devices types TAD sissies scsscdsessnsss cocedessssssaneccsccseassoasevsseosetesseasoussesdsnssauesavassbes indsoeuasoasogescadeassoassuahcasodaacesananescoeneas 6 COMMANDS PY PES Sucia 7 o Commands summary Tab ococcoonconnconnconnnnncnonononononono cnn noncnonononconocononononononocono nooo cooo noc roonoconconnco nooo coco nono conoces 7 o SS A O NANO 8 COORDINATOR RESERVED COMMAND cccccessseeeccesnseeeseensseeeeeeenseeeees 11 o NAAA AAA O 11 CMD OO Saree of A E a E E E Sa 11 EMD 08 ddr SaS 0 A A rA 12 CMD OS ddr 13 Example e E E ts Gaver te ta aa E E E r a E a i 14 CMD OMA O ad ra ds 14 CMD O Chameleon sas 15 e CSU 0 B01 tee er ene Aro telas 15 CMD OA Stai S dt 16 e UM aii 16 o PLE A RO 16 CMB OO ddr ti 16 e COORDINATOR ROUTER RESERVED COMMANDS ccccceesseeeseeenseeeees 19 o NOAA sobecsenssee ss sbibesssenssiedesscsbesiebessesesbaa steed saesecessss
27. e joined device coordinator after a switch off turn on keep all the data related to the network itself and don t create a new network with the scan process above described but it setting itself on the same channel as before with same PAN ID and the same key keeping the information received by all the associated devices After the network joining after to been switched off turned on a remote device Router or End Device keeps memorized all the data related to the network whom was associated before What happen at restarting time Router consider itself as part of network recently belongings and it doesn t made any new joining so keeping the same Short address while the End Device will made a request to the Router Father to whom associates before the switching off If The Router gives back a response to the End Device latter keep the Short address previously obtained this will notified by CC string anyway If Router doesn t gave any response the End Device ll perform a subsequent attempt and if also that did not give the correct result it try to join to another Router so it will have a different Short address Communication via serial of system_on 0x46 will remain on remote node as the first starting NOTE As described before the coordinator accepts a joining by the AUREL made devices only besides it s possibile decide if let joining or not an AUREL device performing a further setting upon the MAC Information subject t
28. e sending command immediatly Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 30 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 15 chamnel resolution reference Description performs the ADC conversion according with the explained Parameters On detail with the following command will be set all the parameters as the ADC conversion channel resolution needed to conversion performing and reading reference The ADC channel resolution and reference will set during this command Parameters Parameter Types Command Outputs Channel dedicated channel for conversion channel gt 2byte termination code gt 1 byte performing resolution gt 2byte e 0x30 gt no_error 00 gt ADC 1 reference gt 2byte e 0x32 gt error in 01 gt ADC 2 Parameters 02 gt forbidden UART Reserved e 0x33 gt error in 03 gt forbidden UART Reserved Parameters number 04 gt forbidden UART Reserved 05 gt forbidden UART Reserved MsgType gt 1 byte 06 gt ADC 3 e 0x13 gt get adc value 07 gt ADC 4 08 gt differential input ADC ADC2 semicolon gt 1 byte 09 gt f
29. et Channel y CMD 08 0001 00 Set Keep Alive y CMD 09 796F FFFF Set Poll Rate y CMD 0A FF Lock Net y CMD 0B 0001 1 Set Pin y y CMD 0C 0001 1 Reset Pin y y CMD 0D Pan Info y y CMD 0E 0001 Ping y y CMD 0F 0001 Ask Extended Address y y CMD 10 Get Short Address y y CMD 11 Get Extended Address y y CMD 12 Send Over UART y CMD 13 Get Software Version y y Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY Tel 39 0546 941124 Fax 39 0546 941660 http www aurelwireless com email r commOaurel it 09 06 2008 Rev B Pag 7 di 36 CU EL COMMANDS USER MANUAL de AUREL MODULE XTR ZB1 User guide CMD 14 Show Key y CMD 15 0C 03 00 Get Adc Value y CMD 16 Get Temperature Value y CMD 17 Get Battery Value y CMD 18 0001 Send Battery Value y CMD 19 0001 Send Temp Value y CMD 1A Start Tx y CMD 1B Stop Tx y ASA 00 12 4B 00 00 01 02 03 Ask Short Address y y SNT 0001 5 34RST Send To y y y o Device Joining At the First ignition of the device coordinator perform a scanning complete on each available channels from 11 to 26 and create a network upon the most noise free channel This network will characterized by a 14 bit identifier PAN ID alike to 14 LSB of coordinator MAC address and alterable
30. hannels 11 to 26 associated Net identifier PAN ID Parameters Parameter Types Command Outputs No parameter requested termination code gt 1 byte e 0x30 gt no error e 0x33 gt error in number of parameters e 0x42 gt node is not associated to Net semicolon gt 1 byte MsgType gt 1 byte e 0x11 gt Pan info Net working channel gt 1 byte Net Identifier PAN ID gt 2 bytes semicolon gt 1 byte e CMD 0E addr Description sends Ping request to node specified as short address as parameter Parameters Parameter Types Command Outputs Addr gt l6bits address of node that Addr gt 4 bytes in ASCII Termination code gt 1 byte will receive the command characters for hexadecimal 0x30 gt no error address of destination node e 0x32 gt error in Parameters Diff gt broadcast address 0x33 gt error in Parameters number 0x35 gt lost ping e 0x40 gt system busy semicolon gt 1 byte Example CMD 0e 0001 Sends PING request to router addressed in short 0x0001 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 20 di 36 http www aurelwireless com email r commOaurel it CU
31. is transmitted to the coordinator Parameter Types Command Outputs su coordinatore P2IFG gt Gate P2 Status MsgType gt 1 byte e 0x20 gt Alarm 16bits address remote node gt 2 byte 1 0 digital Status gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 35 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide In case of correct execution process will be clear to the user Otherwise if problems raising two different situations exist Coordinator busy Coordinator not achievable termination code gt 1 byte termination code gt 1 byte e 0x40 gt system busy e 0x34 gt no response semicolon gt 1 byte semicolon gt 1 byte e PWD enable disable power saving on end device End Device usually are set in Power Down and wake up only after any Poll Rate In case is necessary to send packet from an ED toward another device through SNT command is required wake up it lowering the PWD line and then send the command or run others operations required To bringing back ED in PWD is required turning HIGH the PWD line NOTE If the ED doesn t take part of
32. liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 8 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Some of the commands gives to the users the chance to use a broadcast address some of them no It s strongly advised specially for the most important network commands to don t use broadcast address performing a polling towards all the devices In this way each device certainly sent or not a response When a device Router or End Device is joined to the network at the same way when an End Device change its Father coordinator will send a message through serial line as follow described Command output on coordinator MsgType gt 1 byte e OxCC gt Nwk update 16bits address of node gt 2 byte 64bits address of node gt 8 byte Addressed device type gt 1 byte see the device types Tab semicolon gt 1 byte In case of joining problems due to the absence of radio field for example no one notification is sent to the coordinator serial line The absence of any joining is underlined by the remote node through the OUT R line After the starting of a device router or End Device such line will remain Up till a device joining After a network creation at least composed by on
33. nnel where will found the network After starts this command coordinator perform a full reset see section Interrupts Management and will create a new network in the founded channel If the parameter channel is set up on 1B a complete scan on all the channels will be run and the new network will create upon the most noise free channel Further this command a reset on all the remote devices must be run option that can be automatic if the keep alive it has been set on Parameters Parameter Types Command Outputs Channel new channel where will Channel gt 2 bytes in ASCII termination code gt byte found the network characters for hexadecimal e 0x32 gt error in Parameters channel address e 0x33 gt error in Parameters Available channels are number from 11 0x0B to 26 Ox1A Punching 1B 0x27 the scan has punto e virgola gt byte been set Example CMD 07 0C Runs a full reset on the coordinator that create the new network the same PAN ID of before on the channel 12 0x0C e CMD 04 Description Network start up When coordinator it s powered or reset after the possibile network creation radio side will close down In order to set up it is necessari to send this command after at least a command CMD 03 quite the contrary command will not accept error 0x54 Parameters Parameter Types Command Outputs No imput parameters requested Termination code gt 1 byte
34. o ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 9 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Tf the net is unlocked to more details see CMD 0A any AUREL device is accepted In case the net will be locked the only accepted devices are them who have Acceptable MAC s that must be forwarded to the coordinator through command CMD 03 see the command details Two way of network starting are available e Starting with the network unlocked this is the default parameter after a reset e Starting with the network locked fitting the authorized devices MAC Every time that the coordinator is shouted down and switched on it is necessary perform one of the starting procedures described above Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigh 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 10 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Coordinator reserved commands
35. on code gt 0x46 system on Is necessary waiting the device joining further described O Termination code Tab Name Value Meaning no_error 0x30 No error cmd_error 0x31 Command error prm_error 0x32 Parameters error num_prm_error 0x33 Error in parameters number no_resp 0x34 No response after 3 attempts see note 1 lost_ping 0x35 No response at ping command see note 1 lost MAC 0x36 No response at MAC address request see note 1 lost_startTx 0x37 No response at TX start command see note 1 ack_received 0x38 Acknowledge Received startCyclicTx 0x39 Tx start cyclic command sent system_busy 0x40 The system was unable to move to the level below the requested operation mem_overflow 0x41 Buffer overflow paninfo_error 0x42 Device is not part of the network Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 4di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL dl AUREL MODULE XTR ZB1 User guide no_resp_cyclic 0x43 Acknowledge not Received after the cyclical transmission see note 1 msg_too_long 0x44 Message limit exceeded cmd_too_long 0x45 Command limit exceeded sy
36. oordinator Parameters Parameter Types Command Outputs No parameters requested termination code gt 1 byte e 0x30 gt no_error number e 0x40 gt system busy semicolon gt byte e 0x33 gt error in Parameters e 0x47 gt broadcast not available Further to the carried out command cyclical transmission will activated by the device The Following data will be forwarded to the coordinator Coordinator Command Outputs For good data reception MsgType gt 1 byte e 0x08 gt send cycle Source Address gt 2 byte Battery Value mV gt 2 byte Temp Value to be converted using Formula Nr 1 gt 2 byte ADC Il res Value max ref 1 25 gt 2 byte ADC2 res Value max ref 1 25 gt 2 byte ADC3 res Values max ref 1 25 gt 2 byte ADC4 res Value max ref 1 25 gt 2 byte Digital I O status gt 1 byte semicolon gt 1 byte For incorrect data reception put on queuing termination code gt 1 byte e 0x48 gt data error semicolon gt 1 byte In case of correct data reception coordinator send to the device the rate value that should mantained for the transmission default 10 sec Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC Tel 39 0546 941124 Fax 39 0546
37. oordinator routers and End Devices has three different firmware and each devices has jointed to an univocal 64 bit MAC address programmed by AUREL and not alterable Radio transmission always occur at O dBm for version XTR ZB1 xLI Low Power and at 13dBm for version XTR ZB1 xHI High Power Modules interfacing happening through UART with the following settings baud mrate 38400bps Hardware flow control RTS CTS enabled 8 data bits 1 stop bits The standard procedure to give commands to the system via serial line is the following command parameter_l parameter_n e All the inserted commands and parameters shall be ASCII character Example CMD 0e 0001 correspond to the following bytes forwarded via serial line lt 0x43 gt lt 0x4D gt lt 0x44 gt lt 0x3A gt lt 0x30 gt lt 0x45 gt lt 0x3A gt lt 0x30 gt lt 0x30 gt lt 0x30 gt lt 0x31 gt lt 0x3B gt 66 99 e Between both parameter is necessary put colon 66 99 e As per last character termination is necessary put semicolon Unlike others commands SNT command SeNd To allow to send any types of data and not only ASCII character In consequence of a command execution the system replies giving back a value that suggests the correct execution or in case of error showing the error code see the termination codes Tab At the end of any data string will put a semicolon as per string termination Example CMD 17 Battery reading
38. or in Parameters number semicolon gt 1 byte MsgType gt 1 byte e 0x05 gt get short address 16bits address gt 2 byte semicolon gt 1 byte e CMD 11 Description supplies back local node MAC address Parameters Parameter Types Command Outputs No parameter requested Termination code gt 1 byte e 0x30 gt no_error e 0x33 gt error in Parameters number semicolon gt 1 byte MsgType gt 1 byte e 0x07 gt get extended address 64bits address gt 8 byte semicolon gt byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY Tel 39 0546 941124 Fax 39 0546 941660 http www aurelwireless com email r commOaurel it 09 06 2008 Rev B Pag 23 di 36 CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide O Serial Comunication Interfacing e CMD 0B addr out Description set OUT out digital output of device at short address addr to One Parameters Parameter Types Command Outputs Addr gt 16bits address of node that Addr gt 4 bytes in ASCII Termination codee gt 1 byte will receive the command characters for hexadecimal e 0x30 gt no_error out gt output to be set address of destination node 0x32 gt Parameters error
39. orbidden Oa gt forbidden Ob gt differential input ADC3 ADC4 Oc gt GND Oe gt Temperature Sensor Of gt VDD 3 Resolution gt Conversion Resolution 0 gt resolution 8 bit 1 gt resolution 10 bit 2 gt resolution 12 bit 3 gt resolution 14 bit Reference gt Reference Voltage 0 gt reference voltage costant equates to 1 25V 1 gt ADC3 2 gt Power supply AVDD 3 gt differential reference voltage between pin ADC3 and pin ADC4 Reading is given by two s complement system In case of correct execution sampled data is ready into the output buffer to be forwarded via serial port or radio transmission In any case every single data is evidenced by 2 bytes followed by semicolon even in case of 8 bit sampling resolution N B First byte of the output buffer contain the 7 byte MsgType so the total bytes to be transmitted are 4 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 31 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide NOTE Buffer on which is written the conversion result is shared even for the result writing of others commands For that
40. ormation subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 34 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Interrupts Management Through the interruptus will be handled the following input doors of the devices RESET device reset INTERRUPT send alarm PWD enable disable power saving on end device e RESET Interrupt on router manages two different kind of reset If line normally HIGH will forced LOW for a time less then 1 second will performed an HALF RESET Will be erased all the network parameters of the device except PAN ID of the network that it was associated in case of device were part of a network and keep alive status For that reason It ll try to turning back to the net which it belonged same PAN ID If line normally HIGH will forced LOW for a time over then 3 seconds will performed a FULL RESET Will be erased all the network device parameters and it ll try to turning back to any network as the first time Interrupt on end device the lower forcing will only activate the HALF RESET e INTERRUPT Low line forcing created a sending an alarm signal from the device to the coordinator The following message
41. orming a complete scan on all channels A Router unit at reception of this command will execute an Half Reset see section Interrupt Management then will try to associate to a Net identified from provided PAN ID while performing a complete scan on all channels PAN ID default value on coordinator is equal to Less Significant 14 bits of its MAC PAN ID default value on router is OXFFFF broadcast therefore router will try to associate to any Net not taking PAN ID into consideration Parameters Parameter Types Command Outputs Panld PAN ID number to set Panld gt 4 bytes in ASCII termination code gt byte characters equal to hexadecimal 0x32 gt parameter error value of PAN ID to be set 0x33 gt error in number of NOTE OxFFFF is taken as parameters default value semicolon gt byte Example CMD 02 0513 Will set PAN ID to value 0x0513 Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 19 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide e CMD 0D Description gives back information on Net associated to node Physical channel used from associated Net possible c
42. receive the command ASCII characters for e 0x30 gt no_error hexadecimal address of e 0x32 gt Parameters error destination node e 0x33 gt error in Parameters 8 2bytes Parameters divided number with characters e 0x50 gt lost short e 0x40 gt system busy semicolon gt 1 byte Example ASA 00 14 5C 8F 4E 67 29 F5 Requests to remote node addressed with MAC address 0x00145C8F4E6729F5 the assigned short address If addressed device properly receives the command this will deliver to source node a confirmation of it giving out on serial line Command Outputs on local node MsgType gt 1 byte 0x15 gt Ask short address msg 16bits address of remote node gt 2 bytes Type of addressed node gt 1 byte semicolon gt 1 byte Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 22 di 36 http www aurelwireless com email r commOaurel it CU EL RELESS COMMANDS USER MANUAL AUREL MODULE XTR ZB1 User guide e CMD 10 Description supplies back local node short address Parameters Parameter Types Command Outputs No parameter requested Termination code gt 1 byte e 0x30 gt no_error e 0x33 gt err
43. rror in Parameters rate gt 4 bytes in ASCII number characters for hexadecimal e 0x47 gt broadcast not available value of poll rate ms to be set semicolon gt 1 byte Example CMD 09 796f 2710 Sets to 10 seconds 10000 ms the ED Poll Rate that has the short address 796f If addressed device properly receives the command this will deliver to source node a confirmation of it Source node will output on serial line Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 11 di 36 http www aurelwireless com email ricomm aurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Command Outputs on local node MsgType gt I byte e 0x19 gt set poll rate Type of addressed node gt 1 byte 16bits address of remote node gt 2 byte semicolon gt 1 byte e CMD 08 addr status Description set up close down the keep alive function of the addressed device When keep alive function is active Router will submit a packet clear to the user every 20 seconds towards the coordinator waiting for a response Unless it will receive 6 six consecutive response from the Coordinator Router will execute an Half Reset see Inter
44. rupts Management section and it will try to connect a new network having the same PANID while performing a complete scan on all channels If the keep alive on the Router is not active it does not running any radio activity unless it will be forced through application level and it can t feel the presence of coordinator Starting up the keep alive function on the ED after 2 two poll rate cycles see sommand CMD 09 without find its Father It runs an Half Reset searching for a new join into the same network through performing a complete scan on all channels If the keep alive on the EDr is not active after 2 two poll rate cycles see sommand CMD 09 without find its Father It tries to search a new Router that can support it To sum up it s essential bring the keep alive active in every single devices to obtain an automatic channel exchange If 1t does not active and a reset or channel exchange will run on the coordinator in order to have a new device joining to the new network created by the coordinator will be necessary perform a local Half Reset on the remote node Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 12 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS
45. stem_on 0x46 Deviced initialized no_brdt_allowed 0x47 Broadcast not allowed data_error 0x48 Error in data cyclical transmission lost_set_reset 0x49 No response to the set reset pin command see note 1 lost_short 0x50 No response to the short address request see note 1 lost_update_nwk 0x51 No response to the network update no_more_devices 0x52 Devices adding is not allowed device_already_inserted 0x53 Device already inserted no_dev_added 0x54 No devices added NOTE 1 Every times a radio message is sent so that the transmitter is waiting for a response in the absence of it will be performed three attempts at a distance of about 800ms one another If following to the three attempts no reponse was received will be sent via serial line of the transmitter a code of non receipt notification Such notification is different according to the sent command see the termination code Tab In case of the radio packet receiver is a router the reason of no response could be attributed to a problem upon the remote device for ex Switched off or a lack of radio visibility between transmitter and receiver In case the receiver is an End Device the reason of no response could be attributed besides the same causes explained for router also to the possibility that it is in power down The goal of End Device is to keep low the consumption and it is in power down mode most of the time and it wake up cyclically after
46. the remote devices at the joining time This key will changed by the coordinator every reset whereas will kept in case of shout down Parameters Parameter Types Command Outputs No imput parameters requested Termination code gt 1 byte e 0x30 gt no_error e 0x32 gt error in Parameters 0x33 gt error in Parameters number Semicolon gt 1 byte MsgType gt I byte e 0x0A gt Show key 128 bit encryption key gt 16 bytes that meaning the 128 bit encryption key semicolon gt 1 byte O Radio Section e CMD 06 addr Description starts the cyclical data transmission of sampled data from the device with short address specified towards the coordinator Information subject to ch ange without notice AUREL S p A makes no warranty and assumes no liability in connection with any use of this information AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY 09 06 2008 Rev B Tel 39 0546 941124 Fax 39 0546 941660 Pag 16 di 36 http www aurelwireless com email r commOaurel it CU EL COMMANDS USER MANUAL RELESS AUREL MODULE XTR ZB1 User guide Parameters Parameter Types Command Outputs Addr 16bits address of node that will addr gt 4 bytes in ASCII Termination code gt 1 byte receive the command characters for hexadecimal e 0x30 gt no_error address of destination node e 0x32 gt error in Parameters e 0x33 gt error in Parameters number e

Download Pdf Manuals

image

Related Search

Manual Commands Users

Related Contents

Philips DLA66002  XC-HM82-S/-K X-HM82-S    Battery BacPac™  intelligel perfromance  Silex SX-10WAN (P)  Samsung 400UX-2 User Manual  tiny USB ISDN TA 128  Computadores Industriais para Locais Perigosos  Samsung SCH-M420 User Manual  

Copyright © All rights reserved.
Failed to retrieve file