Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global/Individual Settings for LED, Button, Log configurable by Terminal Command #196

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Vrumfondel
Copy link

Adding functionality to select Global or Individual Settings for LED, Button, Log by terminal command

To use, enable "SETTINGS += -DUSER_INTERFACE_MODE_CONFIGURABLE" in Makefile. This overrides "SETTINGS += -DBUTTON_SETTING_GLOBAL" and others.
New command: "USER_INTERFACE", Parameters "GLOBAL", "INDIVIDUAL".
When in global mode, settings are stored at location GLOBAL_UI_STORAGE defined in Settings.h. Currently it is set to use GlobalSettings.Settings[0] (Setting for Config 1).

Individual Config for LED & Button now working -> Fixed.
…ons and Logging.

New command "USER_INTERFACE", Parameters "GLOBAL", "INDIVIDUAL"
Feature can be enabled in Makefile by enabling "SETTING += -DUSER_INTERFACE_MODE_CONFIGURABLE"
When enabled, this overrides the corresponding individual settings for LED, Button and Log.
When in GLOBAL mode, the configuration is stored in one single location defined by GLOBAL_UI_STORAGE (in settings.h). Currently Globalsettings.Settings[0] is used.
@geo-rg
Copy link
Collaborator

geo-rg commented Dec 4, 2018

Hi @Vrumfondel
as stated in your other pull request, I will have a look on this soon.

Again thank you for your contribution!

@herrmanns
Copy link

Is there a chance to be able to freely configure the L/R-button for generating random HEX UIDs on a specific position?
for example UID is: 11 22 33 44 55 66 77 and i would like to use gap 3 to generate random HEX. like
press L-button - 11 22 AB 44 55 66 77
press L-button - 11 22 1C 44 55 66 77
press L-button - 11 22 82 44 55 66 77
press L-button - 11 22 9A 44 55 66 77

@ghost
Copy link

ghost commented Jan 16, 2019

Yes it is possible. I needed a similar functionality.
See #153
Its really easy to change it for your needs.
Please use the issues and not the PR for questions :)

@herrmanns
Copy link

can anybody send me the chameleon firmware with this "button" option. please i am somehow not able to get this to work.

@Vrumfondel
Copy link
Author

I can mail you the FW tomorrow from the office .
If you want to build yourselfe, you can use my fork. I made a PR quite a while ago, but it is still pending ...
https://github.com/Vrumfondel/ChameleonMini

@geo-rg geo-rg mentioned this pull request Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants