Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
dd05ec3
feat: add initial project source code for TIC2WebSocket
MathieuSabarthes Aug 20, 2025
b7e4ff1
fix: remove developers' pictures from pom.xml
MathieuSabarthes Aug 20, 2025
5733a19
fix: improve README with explicit instructions
MathieuSabarthes Aug 20, 2025
d060aa7
fix: improve README with explicit instructions
MathieuSabarthes Aug 20, 2025
02da255
fix: remove getting started link
MathieuSabarthes Aug 20, 2025
f955ac2
fix: remove getting started link
MathieuSabarthes Aug 20, 2025
e847ae9
Merge pull request #4 from Enedis-OSS/feat/add-project-sources
MathieuSabarthes Aug 20, 2025
e79892e
docs: add CHANGELOG and CONTRIBUTING
MathieuSabarthes Sep 15, 2025
aa4e382
Merge pull request #5 from Enedis-OSS/chore/add-changelog-and-contrib…
MathieuSabarthes Sep 16, 2025
ce71128
chore: add target directory to gitignore
MathieuSabarthes Sep 24, 2025
98d4c30
chore: add target directory to gitignore
MathieuSabarthes Sep 24, 2025
e436b00
chore: format enedis.lab.codec package
MathieuSabarthes Sep 24, 2025
efa3825
chore: add javadoc author to classes
MathieuSabarthes Sep 25, 2025
b499c71
chore: format enedis.lab.io.channels.serialport package
MathieuSabarthes Sep 25, 2025
6b6aa4d
chore: use mvn spotless
MathieuSabarthes Sep 25, 2025
40d9445
chore: format enedis.lab.io.channels package
MathieuSabarthes Sep 29, 2025
54a0226
chore: format with spotless
MathieuSabarthes Sep 29, 2025
0f87f88
fix: author
MathieuSabarthes Sep 29, 2025
c5f5d13
chore: format enedis.lab.io package
MathieuSabarthes Oct 1, 2025
07a1a24
chore: add spotless to pom.xml
MathieuSabarthes Oct 1, 2025
6d81028
chore: remove bloc comment sections
MathieuSabarthes Oct 3, 2025
2d95158
chore: remove bloc comment sections from tests
MathieuSabarthes Oct 3, 2025
6936121
chore: remove bloc comment sections (suite)
MathieuSabarthes Oct 3, 2025
83441cd
chore: format enedis.lab.protocol package
MathieuSabarthes Oct 3, 2025
550e222
chore: format with spotless
MathieuSabarthes Oct 3, 2025
134b5ee
chore: format enedis.lab.protocol package (suite)
MathieuSabarthes Oct 3, 2025
dd98ca9
chore: format with spotless
MathieuSabarthes Oct 3, 2025
4329ec5
chore: format with spotless
MathieuSabarthes Oct 3, 2025
4d375d2
chore: add javadoc
MathieuSabarthes Oct 8, 2025
9bb7843
chore: format enedis.lab.types package
MathieuSabarthes Oct 9, 2025
3bf729f
Merge branch 'chore/convert-to-google-java-code-style' of https://git…
MathieuSabarthes Oct 9, 2025
c1d46dd
chore: format with spotless
MathieuSabarthes Oct 9, 2025
24cf84c
chore: format enedis.tic.service.client package
MathieuSabarthes Oct 9, 2025
a380213
chore: format enedis.tic.service.config package
MathieuSabarthes Oct 9, 2025
4678824
chore: format enedis.tic.service.endpoint package
MathieuSabarthes Oct 9, 2025
d5bfd70
chore: format enedis.tic.service.message package
MathieuSabarthes Oct 9, 2025
e491221
chore: format tic.service package
MathieuSabarthes Oct 14, 2025
70e35ac
fix: type declaration for kTicMode
MathieuSabarthes Oct 21, 2025
63a05df
Merge pull request #8 from Enedis-OSS/chore/convert-to-google-java-co…
MathieuSabarthes Nov 13, 2025
e3103b4
Merge branch 'dev' of https://github.com/Enedis-OSS/TIC2WebSocket int…
MathieuSabarthes Nov 13, 2025
ffbc4c9
refactor(architecture): v2.0.0 – nouvelle architecture + outils de di…
MathieuSabarthes Feb 4, 2026
0c78ec1
Merge branch 'main' into dev
MathieuSabarthes Feb 4, 2026
b77f15f
fix: Remove DataDictionaryDescriptors folder
MathieuSabarthes Feb 4, 2026
9324692
fix: Remove enedis main package
MathieuSabarthes Feb 4, 2026
5b2db1e
fix: Remove enedis test package
MathieuSabarthes Feb 4, 2026
66f79b4
fix: Delete unused setup script
MathieuSabarthes Feb 4, 2026
0ebc4ed
chore: Format
MathieuSabarthes Feb 4, 2026
e5b4744
fix: Update launchers, diagnostic and debug scripts
MathieuSabarthes Feb 5, 2026
64689ad
feat: Add tester to output package
MathieuSabarthes Feb 5, 2026
3584093
fix: Update output directories and classpath in scripts
MathieuSabarthes Feb 9, 2026
db1c20a
fix: Update launcher script paths to use app directory
MathieuSabarthes Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
#SPDX-FileCopyrightText: 2025 Enedis Smarties team <dt-dsi-nexus-lab-smarties@enedis.fr>
#SPDX-License-Identifier: Apache-2.0
---
name: REUSE Compliance Check

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
#
# SPDX-License-Identifier: Apache-2.0

.vscode/
.DS_Store
src/main/resources/TIC2WebSocket.properties
target/
var/
10 changes: 10 additions & 0 deletions CHANGELOG.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@

[🇫🇷 Français](CHANGELOG.fr.md) | [🇺🇸 English](CHANGELOG.md)

## [v2.0.0](https://github.com/Enedis-OSS/TIC2WebSocket/tree/v2.0.0)
### ✨ Nouvelles fonctionnalités:
- Ajout de la découverte des ports série sous macOS (`SerialPortFinderForMacOsX`)
- Nouveaux utilitaires CLI de diagnostic (core, modem, port série, USB)
- Ajout d'une interface de test via une page HTML

### 🔧 Améliorations & corrections:
- Refactorisation de l'architecture du projet et simplification de la structure de code
- Correction des avertissements du logger

## [v1.0.0](https://github.com/Enedis-OSS/TIC2WebSocket/tree/v1.0.0)
### ✨ Nouvelles fonctionnalités:
- Connexion et lecture des trames TIC (Télé-Information Client) via port série
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@

[🇫🇷 Français](CHANGELOG.fr.md) | [🇺🇸 English](CHANGELOG.md)

## [v2.0.0](https://github.com/Enedis-OSS/TIC2WebSocket/tree/v2.0.0)
### ✨ New features:
- Added macOS serial port discovery (`SerialPortFinderForMacOsX`)
- New diagnostic CLI utilities (core, modem, serial port, USB)
- Added a test interface via an HTML page

### 🔧 Improvements & fixes:
- Refactored project architecture and simplified code structure
- Fixed logger warnings

## [v1.0.0](https://github.com/Enedis-OSS/TIC2WebSocket/tree/v1.0.0)
### ✨ New features:
- Serial port connection and reading of TIC (Télé-Information Client) frames
Expand Down
121 changes: 0 additions & 121 deletions LICENSES/CC0-1.0.txt

This file was deleted.

15 changes: 14 additions & 1 deletion README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,20 @@ Ajoutez l'option `--help` pour obtenir des informations de base sur l'utilisatio

## <a name="documentation"></a> Documentation

[TODO]
### Page HTML de test WebSocket

Une page HTML autonome est disponible pour tester rapidement l’API WebSocket :

- Fichier : [docs/ws-tester.html](docs/ws-tester.html)
- URL par défaut : `ws://localhost:19584/`

Fonctionnement :

- Ouvrez la page dans un navigateur (optionnel : servez le dossier `docs/` via un serveur HTTP statique).
- Renseignez l’URL WebSocket (ou host/port), puis cliquez sur `Connect`.
- Choisissez une requête prédéfinie (`GetModemsInfo`, `GetAvailableTICs`, `ReadTIC`, `SubscribeTIC`, `UnsubscribeTIC`) puis cliquez sur `Send`.
- Les filtres d’identifiant (SerialNumber / PortId / PortName) permettent de cibler un TIC.
- Les messages entrants s’affichent dans Logs ; les messages de type `EVENT` sont regroupés par `(nom d’événement + identifiant)`.

## <a name="contrib"></a> Contribuer ?

Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,20 @@ Add `--help` option to get basic information on how to use the launcher.

## <a name="documentation"></a> Documentation

[TODO]
### WebSocket tester (HTML)

A small, self-contained HTML page is available to quickly test the WebSocket API:

- File: [docs/ws-tester.html](docs/ws-tester.html)
- Default URL: `ws://localhost:19584/`

How it works:

- Open the page in a browser (optionally serve the `docs/` folder with any static server).
- Set the WebSocket URL (or host/port), click `Connect`.
- Pick a request preset (`GetModemsInfo`, `GetAvailableTICs`, `ReadTIC`, `SubscribeTIC`, `UnsubscribeTIC`) and click `Send`.
- Optional identifier filters (SerialNumber / PortId / PortName) help target a specific TIC.
- Incoming messages are displayed in the Logs panel; `EVENT` messages are grouped by `(event name + identifier)` for readability.

## <a name="contrib"></a> Contributing ?

Expand Down
20 changes: 20 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2025 Enedis Smarties team <dt-dsi-nexus-lab-smarties@enedis.fr>
# SPDX-FileContributor: Jehan BOUSCH
# SPDX-FileContributor: Mathieu SABARTHES
#
# SPDX-License-Identifier: Apache-2.0

version = 1

# A simple glob of all excluded file types in the project
[[annotations]]
path = [
"**/*.txt",
"**/*.json",
"**/*.woff",
"**/*.woff2",
"**/*.html",
"**/*.svg"
]
SPDX-FileCopyrightText = "2025 Enedis Smarties team <dt-dsi-nexus-lab-smarties@enedis.fr>"
SPDX-License-Identifier = "Apache-2.0"
Loading