Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.
This PR adds the support to symlinks in the jdk.dio.properties file.
Related Issue: This PR fixes/closes N/A
Description of the solution adopted: The current implementation of the GPIOService parses the jdk.dio.properties and reads the GPIO indexes/numbers. The entry looks like:
where the /dev/dio1 points to /sys/class/gpio/gpioXYZ. The GPIOService implementation will follow the symlink and read the pin number (XYZ) from the path.
This PR adds the support to symlinks in the
jdk.dio.properties
file.Related Issue: This PR fixes/closes N/A
Description of the solution adopted: The current implementation of the
GPIOService
parses thejdk.dio.properties
and reads the GPIO indexes/numbers. The entry looks like:This PR allows to set a symlink instead of a pin number in the configuration file:
where the
/dev/dio1
points to/sys/class/gpio/gpioXYZ
. TheGPIOService
implementation will follow the symlink and read the pin number (XYZ) from the path.