background image

GW-ETH-01

Write GW configuration

Writting of configuration parameters to EEPROM in GW.

host -> GW direction

CMD 

0x07

write GW configuration

SUBCMD

0x00

no information

DATA

see Configuration data

GW -> host direction

CMD

0x87

answer to the 0x07 command

SUBCMD

0x50

write OK

0x60

write Error (invalid number of configuration bytes)

DLEN

0x0000

no data

-------------------------------------------------------------------------------------------------------------------------------------

Write to RTCC in GW

Writing of time and date to the RTCC in GW

host -> GW direction

CMD 

0x08

write to RTCC

SUBCMD

0x00

no information

DB1

GW time – seconds (values see Time and data coding)

DB2

GW  time – minutes

DB3

GW  time – hours

DB4

GW data – day of week

DB5

GW data – day

DB6

GW data – month

DB7

GW data – year

GW -> host direction

CMD

0x88

answer to the 0x08 command

SUBCMD

0x50

write OK

0x60

write Error (invalid values)

DLEN

0x0000

no data

-------------------------------------------------------------------------------------------------------------------------------------

Change autentization

Changing of username and password for access to GW via www.

host -> GW direction

CMD 

0x09

change autentization

SUBCMD

0x00

no information

DB1

username: text 

to

(max. 15 characters, not used ones replace with zeroes)

DB15

DB16

old password: text 

to

(max. 15 characters, not used ones replace with zeroes)

DB30

DB31

new password: text 

to

(max. 15 characters, not used ones replace with zeroes)

DB45

GW -> host direction

CMD

0x89

answer to the 0x09 command

SUBCMD

0x50

write OK

0x60

write Error (invalid old password)

DLEN

0x0000

no data

-------------------------------------------------------------------------------------------------------------------------------------

© 2011  MICRORISC s.r.o.

www.iqrf.org

MNGWETH01_110218

Page 10

Содержание GW-ETH-01

Страница 1: ...GW ETH 01 IQRF Ethernet Gateway Firmware v1 03 User s Guide 2011 MICRORISC s r o www iqrf org MNGWETH01_110218 Page 1...

Страница 2: ...by the user can also be used The application protocol is fully documented Applications Remote monitoring and control Data acquisition Datalogger Interface to building home automation Connection of mor...

Страница 3: ...reliability Supply voltage VCC 5 5 V Storage temperature 50 C to 100 C Hardware Power supply GW ETH 01 is intended to be supplied by external stabilized 5 V DC connected to clamp or to micro USB conne...

Страница 4: ...ltaneously with the Reset pushbutton until indicated bootloader mode LED indication GW contains one dual color red green service LED inside the case Legend Reset 1s 200 ms 200 ms for 3s Bootloader 1s...

Страница 5: ...e goes for a packet received by the host Only user data The host sends only it s own data to the IQRF module in this mode Packet creation according the IQRF SPI protocol is up to the GW The same goes...

Страница 6: ...vice is reset and stays in the BL mode The GW uses the same network setup like in the GW mode stored in EEPROM which is important for keeping the communication in case of remote upgrade No setup chang...

Страница 7: ...DIP 001FD5010203 The GW ETH 01 client sends this command automatically and regularly if this is activated in the GW setup which keeps a record of MAC address of the equipment and corresponding IP addr...

Страница 8: ...s the same for both communication directions HEADER H 9 B DATA D 0 497 B CRC 2 B For receiving GW checks GW_ADR validity see the packet header packet length must not be lower than HEADER CRC packet le...

Страница 9: ...ocol is written to the TR module The answer is an acknowledge of writting to the module If the answer is requested from the module it is sent with the actual command see Communication initiated by the...

Страница 10: ...of week DB5 GW data day DB6 GW data month DB7 GW data year GW host direction CMD 0x88 answer to the 0x08 command SUBCMD 0x50 write OK 0x60 write Error invalid values DLEN 0x0000 no data Change autent...

Страница 11: ...00 no data GW host direction See Communication initiated by the GW Sending the GW status message TR module reset Remote reset of the TR module host GW direction CMD 0x13 TR module reset SUBCMD 0x00 no...

Страница 12: ...ification See Identification data Identification data Identification data consists of several texts separated by 0x0D 0x0A 1 GW name e g GW ETH 01 2 GW version e g v0 30b 3 MAC address e g 00 11 22 33...

Страница 13: ...text to max 15 characters not used ones replace with zeroes DB36 DB37 0x00 communication with TR module whole packets according to the IQRF SPI protocol 0x01 communication with TR module user data onl...

Страница 14: ...Savings Enabled DB106 0x00 Time Server Index pool ntp org 0x01 europe pool ntp org 0x02 asia pool ntp org 0x03 oceania pool ntp org 0x04 north america pool ntp org 0x05 south america pool ntp org 0x0...

Страница 15: ...n 0 max 59 hours UN 0 2 LN 0 9 min 0 max 23 day UN 0 3 LN 0 9 min 1 max 31 month UN 0 1 LN 0 9 min 1 max 12 year UN 0 9 LN 0 9 min 8 max 99 2008 2099 day of week UN 0 LN 0 6 min 0 max 6 0 Sunday 1 Mon...

Страница 16: ...X Firmware for MCU Ordering code GW ETH 01 IQRF Ethernet gateway Firmware history v1 03 Plug ins to TR modules supported For GW ETH Tool v 1 02 v1 02 Datalogger and Safe mode implemented v1 01 First r...

Страница 17: ...d logo are registered trademarks of MICRORISC s r o PIC SPI Microchip RFM and all other trademarks mentioned herein are property of their respective owners Legal All information contained in this publ...

Отзывы: