1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Copyright (C) 2022 The uecho-rs Authors All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! # echonet (uecho-rs)
//! The `uecho-rs` is a portable and cross-platform development framework for creating controller applications and devices of [ECHONET-Lite][enet] for Rust developers. [ECHONET-Lite][enet] is an open standard specification for IoT devices in Japan, it specifies more than 100 IoT devices such as crime prevention sensors, air conditioners and refrigerators.
//!
//! ## What is uEcho ?
//!
//! To implement IoT controllers or devices of [ECHONET-Lite][enet], the developer had to understand and implement the communication middleware specification such as the message format and base sequences.
//!
//! The `uecho-rs` provides the following major components to control [ECHONET-Lite][enet] devices and create the standard specification devices.
//!
//! - [ECHONET-Lite][enet] controller to find and control [ECHONET-Lite][enet] nodes.
//! - [ECHONET-Lite][enet] device framework to implement any standard [ECHONET-Lite][enet] devices.
//! - Decoder and Encoder for [ECHONET-Lite][enet] messaging packet.
//! - Standard device database based on [Machine Readable Appendix][mra] and [Manufacturer code List][mcl] provided by [the ECHONET Consortium][eneto].
//!
//! The `uecho-rs` handles all [ECHONET-Lite][enet] requests such as read, write and notification requests automatically. Therefore, Rust developers can implement the standard device and controller applications using the `uecho-rs` easily by simply implementing the request message validators.
//!
//! ## Getting Started
//!
//! The examples are available for [ECHONET-Lite][enet] controller and device implementations using the `uecho-rs`, check out [the examples folder in GitHub](https://github.com/cybergarage/uecho-rs/tree/master/examples).
//!
//! ## Table of Contents
//!
//! - Controller
//! - [Overview of Controller](https://github.com/cybergarage/uecho-rs/blob/master/doc/controller_overview.md)
//! - Device
//! - [Overview of Device](https://github.com/cybergarage/uecho-rs/blob/master/doc/device_overview.md)
//! - [Inside of Device](https://github.com/cybergarage/uecho-rs/blob/master/doc/device_inside.md)
//! - Examples
//! - [Usage examples](https://github.com/cybergarage/uecho-rs/tree/master/examples)
//! - [Usage examples (For Raspberry Pi Sense HAT)](https://github.com/cybergarage/uecho-rs-sensehat)
//!
//! ## Getting Help
//!
//! - [Generated Docs (latest version)](https://docs.rs/echonet/latest/echonet/)
//!
//! ## License
//!
//! This project is licensed under the Apache-2.0 License.
//!
//! [enet]:http://echonet.jp/english/
//! [eneto]:https://echonet.jp/organization_en/
//! [mra]:https://echonet.jp/spec_mra_rp1_en/
//! [mcl]:https://echonet.jp/spec-en/
/// Logger function module.
/// messaging packet encoder and decoder module.
/// Messaging transport manager module (Internal).
/// Utility function module.
pub use *;
pub use *;
pub use Device;
pub use ;
pub use *;
pub use ;
pub use ;
pub use *;
pub use ;