An open API service indexing awesome lists of open source software.

https://github.com/tttfrfr2/echonettester

This tool support ECHONET Lite testing.
https://github.com/tttfrfr2/echonettester

echonet-lite go golang test-tool

Last synced: 10 months ago
JSON representation

This tool support ECHONET Lite testing.

Awesome Lists containing this project

README

          

![MIT](https://img.shields.io/github/license/tttfrfr2/ECHONETTester?style=flat-square)
[![Go Reference](https://pkg.go.dev/badge/github.com/tttfrfr2/ECHONETTester/.svg)](https://pkg.go.dev/github.com/tttfrfr2/ECHONETTester/)
# 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](./demo_first.png)

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...

```toml:config.toml
# 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](https://echonet.jp/spec_v113_lite_en/) and [class specification](https://echonet.jp/wp/wp-content/uploads/pdf/General/Standard/Release/Release_M_en/Appendix_Release_M_E.pdf)

JSON data we use is [here](http://sh-center.org/sdk)