File tree Expand file tree Collapse file tree 9 files changed +56
-6
lines changed Expand file tree Collapse file tree 9 files changed +56
-6
lines changed Original file line number Diff line number Diff line change 1+ .. _changelog :
2+
3+ =========
4+ Changelog
5+ =========
6+
7+ .. _v0.2.3 :
8+
9+ v0.2.3 :bdg-info: `beta-develop `
10+ ----------------------------------
11+
12+ **Added **
13+
14+ - New :class: `~icspacket.proto.iec61850.goose.GOOSE_Client ` and :class: `~icspacket.proto.iec61850.sv.SV_Client `
15+ - New :class: `~icspacket.proto.mms.data.Timestamp ` to convert MMS UtcTime values into :class: `datetime `
16+ objects.
17+ - Example to receive published GOOSE messages: ``gooseobserv.py ``
Original file line number Diff line number Diff line change 7272 "color_mode" : "dark" ,
7373 "github_url" : "https://github.com/MatrixEditor/icspacket" ,
7474 "discussion_url" : "https://github.com/MatrixEditor/icspacket/discussions" ,
75- "globaltoc_expand_depth" : 2 ,
75+ "globaltoc_expand_depth" : 1 ,
7676 "toctree_maxdepth" : 5 ,
7777 "nav_links" : [
7878 {
9696 }
9797 ],
9898 },
99+ {
100+ "title" : "Changelog" ,
101+ "url" : "changelog" ,
102+ }
99103 ],
100104}
Original file line number Diff line number Diff line change @@ -96,4 +96,10 @@ and MacOS. Any other Python version is not officially supported::
9696 :hidden:
9797
9898 protocols/tpkt/usage
99- protocols/tpkt/api
99+ protocols/tpkt/api
100+
101+
102+ .. toctree ::
103+ :caption: Development
104+
105+ changelog
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ API Reference
99 api_data_classes
1010 api_path
1111 api_client
12+ api_goose
13+ api_sv
Original file line number Diff line number Diff line change 1+ .. _iec61850_goose_api :
2+
3+ GOOSE Client
4+ ============
5+
6+
7+ .. automodule :: icspacket.proto.iec61850.goose
8+ :members:
Original file line number Diff line number Diff line change 1+ .. _iec61850_sv_api :
2+
3+ SampledValues Client
4+ ====================
5+
6+
7+ .. automodule :: icspacket.proto.iec61850.sv
8+ :members:
Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ class GOOSE_Client:
156156 Publishing can be done **without** a sniffer running in the background,
157157 i.e. the with statement can be ignored.
158158
159+ .. versionadded:: 0.2.3
160+
159161 :param iface:
160162 Optional capture interface or list of interfaces to sniff on.
161163 If multiple interfaces are provided, publishing requires
Original file line number Diff line number Diff line change @@ -52,10 +52,8 @@ class SV_Client(GOOSE_Client):
5252 - **Compatibility:** Since SV reuses the same PDU decoding layer,
5353 both online capture and offline PCAP file analysis are supported.
5454
55- Example
56- -------
57-
5855 .. code-block:: python
56+ :caption: Example
5957
6058 # Capture Sampled Values on eth1
6159 with SV_Client(interfaces=["eth1"]) as sv_client:
@@ -66,6 +64,8 @@ class SV_Client(GOOSE_Client):
6664 sv_client = SV_Client(["eth1"])
6765 sv_client.publish("01:0c:cd:01:00:01", my_sv_apdu)
6866
67+ .. versionadded:: 0.2.3
68+
6969 :param interfaces:
7070 List of interface names (e.g., ``["eth0", "eth1"]``) to capture
7171 and/or publish Sampled Values on. If ``None``, the default system
Original file line number Diff line number Diff line change @@ -141,7 +141,10 @@ def get_floating_point_value(fp: FloatingPoint | bytes) -> float:
141141
142142@bitfield (order = BigEndian , options = [S_ADD_BYTES ])
143143class Timestamp :
144- """Structured bitfield representation of a timestamp value."""
144+ """Structured bitfield representation of a timestamp value.
145+
146+ .. versionadded:: 0.2.3
147+ """
145148
146149 timeval : Bytes (4 ) = bytes (4 )
147150 """4-byte unsigned integer representing the elapsed time in seconds."""
You can’t perform that action at this time.
0 commit comments