Skip to content

Commit

Permalink
release 2.5: update ctrlx-datalayer
Browse files Browse the repository at this point in the history
  • Loading branch information
guidfort committed Dec 3, 2024
1 parent 85eea74 commit 1a86453
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ GOOS := $(shell go env GOOS)
GOARCH := $(shell go env GOARCH)
BUILD := build/public/$(GOOS)_$(GOARCH)

SDK_RELEASE_VERSION := 3.2.0
DATALAYER_DEB_FILE_VERSION := 2.7.5
SDK_RELEASE_VERSION := 3.4.0
DATALAYER_DEB_FILE_VERSION := 2.8.6

.PHONY: all go-dep apt-dep lint vet test test-coverage build clean

Expand Down
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ctrlX Data Layer client and provider library for golang

This project provides:

1. ctrlX Data Layer access via Golang

It wraps the original ctrlX Data Layer written in C++.
Expand All @@ -10,25 +10,24 @@ This project provides:

2. Server-Sent Events(SSE) Client

Server-Sent Events is HTTP/HTTP2 common standard, the SSE server pushes the update to the client, the client receives automatic updates via HTTP connection.
Server-Sent Events is HTTP/HTTP2 common standard, the SSE server pushes the update to the client, the client receives automatic updates via HTTP connection.

ctrlX Data Layer provides a SSE Server, which makes the data on the Data Layer accessible to the web application.
ctrlX Data Layer provides a SSE Server, which makes the data on the Data Layer accessible to the web application.

The SSE client library can be used to connect to the SSE Server of the ctrlX Data Layer running on the ctrlX Device. It is possible to subscribe to nodes on the server and the server will automatically send new updates on value changes.

You can find documentation here [GoDoc](https://pkg.go.dev/github.com/boschrexroth/ctrlx-datalayer-golang/v2/pkg/sseclient)

3. Token handling

JSON Web Token is used for authentification in ctrlX Core.
JSON Web Token is used for authentification in ctrlX Core.

The token library can be used to get token from ctrlX Core and later on check if the token is still valid.
The token library can be used to get token from ctrlX Core and later on check if the token is still valid.

You can find documentation here [GoDoc](https://pkg.go.dev/github.com/boschrexroth/ctrlx-datalayer-golang/v2/pkg/token)

## Status


![Make Test](https://github.com/boschrexroth/ctrlx-datalayer-golang/actions/workflows/main.yml/badge.svg)

## Usage
Expand All @@ -44,8 +43,8 @@ sudo apt-get install libsystemd-dev libsystemd-dev:arm64
Check the current [ctrlx Data Layer](https://github.com/boschrexroth/ctrlx-automation-sdk/releases) debian package, download and install this, see example.

```bash
wget https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/3.2.0/ctrlx-datalayer-2.7.5.deb
sudo dpkg -i ctrlx-datalayer-2.7.5.deb
wget https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/3.4.0/ctrlx-datalayer-2.8.6.deb
sudo dpkg -i ctrlx-datalayer-2.8.6.deb
```

### Integrate in you project
Expand All @@ -60,16 +59,16 @@ Copyright © 2022 Bosch Rexroth AG. All rights reserved.

<https://www.boschrexroth.com>

Bosch Rexroth AG
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr am Main
Bosch Rexroth AG
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr am Main
GERMANY

## Licenses

MIT License

Copyright (c) 2021-2022 Bosch Rexroth AG
Copyright (c) 2021-2024 Bosch Rexroth AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 1a86453

Please sign in to comment.