This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file /home/user/gpg-no-tty.sh | |
#!/bin/bash | |
/usr/bin/gpg --batch --no-tty "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will result in Logging based on level INFO but for every aspect of the SDK the logging is turned off. | |
# Setting the value for the package will either increase or decrease the logging. | |
logging: | |
level: | |
root: info | |
com.dke.data.agrirouter: off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetCapabilitiesParameters parameters = new SetCapabilitiesParameters(); | |
final ArrayList<SetCapabilitiesParameters.CapabilityParameters> capabilitiesParameters = new ArrayList<>(); | |
final SetCapabilitiesParameters.CapabilityParameters capabilityParameters = new SetCapabilitiesParameters.CapabilityParameters(); | |
capabilityParameters.setTechnicalMessageType(ContentMessageType.ISO_11783_TASKDATA_ZIP); | |
capabilityParameters.setDirection(Capabilities.CapabilitySpecification.Direction.SEND_RECEIVE); | |
capabilitiesParameters.add(capabilityParameters); | |
parameters.setCapabilitiesParameters(capabilitiesParameters); | |
parameters.setEnablePushNotifications(Capabilities.CapabilitySpecification.PushNotification.ENABLED); | |
parameters.setApplicationId("YOUR_APPLICATION_ID"); | |
parameters.setCertificationVersionId("YOUR_CERTIFICATION_VERSION_ID"); |