ECHONETTester

command module
v0.0.0-...-32cbc77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 5 Imported by: 0

README

MIT Go Reference

ECHONET Lite Test Tool

This is the test tool for ECHONET Lite vendor. This tool can test below

  • OPC Fuzz
  • Communicate with ECHONET Lite

OPC Fuzz

OPC Fuzz send 255 ECHONET Lite pakcets to target device. Their OPC fields are 0x01 to 0xFF.

Communicate

Communicate communicate a target device with ECHONET Lite. There are 2 modes, Normal and Test mode. If Normal mode, you input number per a part of ECHONET Lite frame and can create ECHONET Lite frame based on the specification. If Test mode, you input any HEX number and create payload. After create payload, send the packet to target device and receive reply.

Usage

You can launch this tool like below...

demo_first

Fistly, you have to ECHONET Lite appendix version, target device apply for.

There are command:

  • OPC Fuzz

    Start to OPC Fuzz

  • Communicate

    Start to communicate target device

  • exit

    Exit tool

LOG

Output log and result under log directory.

Format is two patterns...

  • (date)-echonetlite.log

    Outputed log related to first process

  • (date)-(ipaddress).log

    Outputed log per target devices. Rerated to send and receive packet, validation of commucation flow, property data and ECHONET Lite frame format, and so on.

Config

Config example...

# This is a TOML document. Boom.

title = "Config"

[echonetLite]
ip = ["192.168.100.9"]

ip: IP addresses you wanna test target device has

Reference

This tool apply for ECHONET Lite and class specification

JSON data we use is here

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL