- Nov 23, 2022
-
-
Francesco Pham authored
Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
-
- Nov 22, 2022
-
-
Stefan Schmidt authored
debug-console: set overlay to enable shell/console over USB (CDC ACM) See merge request eclipse/oniro-blueprints/doorlock/doorlock-zephyr!4
-
- Nov 18, 2022
-
-
Francesco Pham authored
currently shell and console is not working via USB, instead one have to use the UART interface and use a serial to USB cable to access the arduino shell. This is a regression because in Jasmine console over usb was working. The regression was introduced from upstream: https://github.com/zephyrproject-rtos/zephyr/pull/44023/commits/69707dfb4bd91b513fb3e1503d76265c857f18b7#diff-93ba35382d86f5dce92d22c0f8c1a2649ba17786dca3bff30c5b760cbe8b9128 With this overlay configuration we are able to access the arduino shell using the USB port of the arduino. Also, we have to enable CONFIG_USB_DEVICE_STACK in prj.conf and call usb_enable() from the source. Relate-to: eclipse/oniro-blueprints/doorlock/meta-oniro-blueprints-doorlock#1 Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
-
- Sep 22, 2022
-
-
Bartosz Golaszewski authored
Rewrite doorlock to C++ Closes #2 See merge request eclipse/oniro-blueprints/doorlock/doorlock-zephyr!2
-
Luca Seritan authored
The main conditionally picks one of the doorlock classes to use depending on the prj.conf. This require prj.conf to only have one selected doorlock type, otherwise errors may occur. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
Implement the basic input polling mechanism as well as some logging which would indicate the states the doorlock goes through. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
This input class exposes a socket that listens to any coap packages. Single key packages are currently supported to receive input for the doorlock. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
This class implements functionality for the Adafruit 419 4x3 keypad which uses GPIO interrupts to get input from the keypad without busy waiting. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
This class registers a Zephyr command line instruction "doorlock" which can be used to simulate entering keys via console. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
This implements a mechanism for keeping track of the current state of the doorlock with respect to input, for example inserting pin, changing pin, etc. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
Every input device should implement this interface which exposes a file descriptor used for polling the input. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
This allows for easy configuration of input devices without tampering with the source code, simply by enabling different configuration in the prj.conf. Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Signed-off-by: Grzegorz Gwozdz <grzegorz.gwozdz@huawei.com>
-
Luca Seritan authored
Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
Luca Seritan authored
Signed-off-by: Luca Seritan <luca.seritan@huawei.com>
-
- Jul 29, 2022
-
-
Eilís Ní Fhlannagáin authored
CONFIG_USB_UART_CONSOLE has been renamed to CONFIG_UART_CONSOLE Signed-off-by: Eilís Ní Fhlannagáin <pidge@pidge.org>
-
- Apr 14, 2022
-
-
Bernhard Rosenkränzer authored
lock: Use solenoid by default See merge request distro/blueprints/doorlock/doorlock-zephyr!4
-
Changing LOCKTYPE_ROTATING can be done from the outside (at compilation time, in bitbake recipe ?) For the record using the rotating with solenoid, it causing an extra unlock when it was automaticaly relocked Relate-to: eclipse-wg/oniro-wg/proposal-incubation-stage-oniro/proposal-incubation-oniro-marketing#43 Forwarded: https://booting.oniroproject.org/distro/blueprints/doorlock/doorlock-zephyr/-/merge_requests/4 Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
-
- Apr 13, 2022
-
-
Bernhard Rosenkränzer authored
debug: Add LED blinks and support unconnected console See merge request distro/blueprints/doorlock/doorlock-zephyr!3
-
philippe coval authored
Add LED visual feedback to check program is still running, skip printk when not connected. I noticed some issues when UART is not connected. Skiping use of printk solved the issue, but actually only this line was causing the beaviour change: printk("Ready and waiting for input\n"); If message is shortened to "Ready" it keeps working, this is odd, I suspect a buffer problem inside zerphyr. This need to be investigated further once this blueprint is rebased on lastest base. Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/228 Relate-to: eclipse-wg/oniro-wg/proposal-incubation-stage-oniro/proposal-incubation-oniro-marketing#43 Forwarded: https://booting.oniroproject.org/distro/blueprints/doorlock/doorlock-zephyr/-/merge_requests?scope=all&state=all&author_username=rzr Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
-
Bernhard Rosenkränzer authored
io: Save string terminator to handle reboot See merge request distro/blueprints/doorlock/doorlock-zephyr!2
-
- Apr 12, 2022
-
-
philippe coval authored
If power is disconnected the previously set pin wont be reloaded correctly. Because strlen omit the last char in the write function we add it to buffer by shifting by 1 Observed issue was: uart:~$ Debugconsole inited Found previous pin: ---1 2 3 4 <?> ... Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/231 Forwarded: https://booting.oniroproject.org/distro/blueprints/doorlock/doorlock-zephyr/-/merge_requests/2 Relate-to: https://docs.zephyrproject.org/latest/services/storage/nvs/nvs.html?highlight=nvs_write#c.nvs_write Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
-
- Jan 11, 2022
-
-
Bernhard Rosenkränzer authored
debugconsole: Don't wait for DTR forever See merge request distro/blueprints/doorlock/doorlock-zephyr!1
-
- Jan 04, 2022
-
-
Bernhard Rosenkränzer authored
Time out waiting for DTR after 2 seconds - our serial port might not be connected (e.g. just a power supply on USB) Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Nov 04, 2021
-
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Nov 03, 2021
-
-
Bernhard Rosenkränzer authored
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Oct 26, 2021
-
-
Bernhard Rosenkränzer authored
Add/initialize NVS storage for persistent code storage Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
Bernhard Rosenkränzer authored
Enable debug console support Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Oct 25, 2021
-
-
Bernhard Rosenkränzer authored
Initial code for the doorlock app, including drivers for the solenoid lock, the rotating motor lock, the matrix keypad and the LED on an Arduino Nano 33 BLE Sense Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-