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

Add is_connected api for expansion \w @Willy-JL #2

Closed
wants to merge 2 commits into from

Conversation

HaxSam
Copy link
Member

@HaxSam HaxSam commented Mar 1, 2024

What's new

  • Added new API to expansion to get the information if an expansion is initialized
  • The expansion_worker communicates back to the control if there is an RPC connection
  • new state for expansion for an established connection

@Willy-JL was heavily involved


For the reviewer

  • I've uploaded the firmware with this patch to a device and verified its functionality
  • I've confirmed the bug to be fixed / feature to be stable

@HaxSam
Copy link
Member Author

HaxSam commented Mar 1, 2024

Still need to add a better comment in expension.h but is nicer to view the changes here to see if I overlooked something at code review.

@HaxSam HaxSam marked this pull request as draft March 1, 2024 13:10
@HaxSam HaxSam marked this pull request as ready for review March 1, 2024 14:45
@HaxSam HaxSam mentioned this pull request Mar 1, 2024
5 tasks
@HaxSam HaxSam closed this Mar 1, 2024
Willy-JL pushed a commit that referenced this pull request Oct 16, 2024
Willy-JL pushed a commit that referenced this pull request Oct 16, 2024
* Now 4a listener invokes upper level callback on Halt and FieldOff
* Added new method for drawing mirrored XBM bitmaps
* iso14443_4a poller logic enhanced
* Function renamed accroding to review suggestions
* Rename #2
* Api adjustements
* Correct API bump

Co-authored-by: あく <[email protected]>
Willy-JL added a commit that referenced this pull request Oct 19, 2024
* Xero initial commit

* Xero initial commit

* Update README.md with feature goals

* Add MFKey to firmware

* Update ReadMe.md

* remove serial check ui in gangqi [ci skip]

* Furi: A Lot of Fixes (#3942)

- BT Service: cleanup code
- Dialog: correct release order in file browser
- Rpc: rollback to pre #3881 state
- Kernel: fix inverted behavior in furi_kernel_is_running
- Log: properly take mutex when kernel is not running
- Thread: rework tread control block scrubbing procedure, ensure that we don't do stupid things in idle task, add new priority for init task
- Timer: add control queue flush method, force flush on stop
- Furi: system init task now performs thread scrubbing
- BleGlue: add some extra checks
- FreeRTOSConfig: fix bunch of issues that were preventing configuration from being properly applied and cleanup

* Wi-Fi Devboard documentation rework (#3944)

* New step-by-step documentation structure for Wi-Fi Devboard
* Added a description of working under Windows
* Added a description of switching Devboard operation mode (Black Magic, DAPLink)
* The images for the documentation are uploaded to the CDN
* The text in the sidebar, near the dolphin logo, changed from blue to black/white

Co-authored-by: knrn64 <[email protected]>
Co-authored-by: Aleksandr Kutuzov <[email protected]>

* Fixes Mouse Clicker Should have a "0" value setting for "as fast as possible" #3876 (#3894)

* fixes mouse clicking rate
* Hid: limit max clicks to 100/s, rewrite code to make it more robust

Co-authored-by: あく <[email protected]>

* [FL-3909] CLI improvements, part I (#3928)

* fix: cli top blinking
* feat: clear prompt on down key
* feat: proper-er ansi escape sequence handling
* ci: fix compact build error
* Make PVS happy
* style: remove magic numbers
* style: review suggestions

Co-authored-by: あく <[email protected]>

* Rename #2

* Api adjustements

* NFC: iso14443_4a improvements. Canvas: extended icon draw. (#3918)

* Now 4a listener invokes upper level callback on Halt and FieldOff
* Added new method for drawing mirrored XBM bitmaps
* iso14443_4a poller logic enhanced
* Function renamed accroding to review suggestions
* Rename #2
* Api adjustements
* Correct API bump

Co-authored-by: あく <[email protected]>

* heap: increased size (#3924)

* reduced reserved memory size for system stack; added temporary markup to monitor usage
* fbt: relink elf file on linker script change; removed debug memory fill
* Make PVS Happy
* Make doxygen happy

Co-authored-by: Aleksandr Kutuzov <[email protected]>

* [FL-3893] JS modules (#3841)

* feat: backport js_gpio from unleashed
* feat: backport js_keyboard, TextInputModel::minimum_length from unleashed
* fix: api version inconsistency
* style: js_gpio
* build: fix submodule ._ .
* refactor: js_gpio
* docs: type declarations for gpio
* feat: gpio interrupts
* fix: js_gpio freeing, resetting and minor stylistic changes
* style: js_gpio
* style: mlib array, fixme's
* feat: js_gpio adc
* feat: js_event_loop
* docs: js_event_loop
* feat: js_event_loop subscription cancellation
* feat: js_event_loop + js_gpio integration
* fix: js_event_loop memory leak
* feat: stop event loop on back button
* test: js: basic, math, event_loop
* feat: js_event_loop queue
* feat: js linkage to previously loaded plugins
* build: fix ci errors
* feat: js module ordered teardown
* feat: js_gui_defer_free
* feat: basic hourglass view
* style: JS ASS (Argument Schema for Scripts)
* fix: js_event_loop mem leaks and lifetime problems
* fix: crashing test and pvs false positives
* feat: mjs custom obj destructors, gui submenu view
* refactor: yank js_gui_defer_free (yuck)
* refactor: maybe_unsubscribe
* empty_screen, docs, typing fix-ups
* docs: navigation event & demo
* feat: submenu setHeader
* feat: text_input
* feat: text_box
* docs: text_box availability
* ci: silence irrelevant pvs low priority warning
* style: use furistring
* style: _get_at -> _safe_get
* fix: built-in module name assignment
* feat: js_dialog; refactor, optimize: js_gui
* docs: js_gui
* ci: silence pvs warning: Memory allocation is infallible
* style: fix storage spelling
* feat: foreign pointer signature checks
* feat: js_storage
* docs: js_storage
* fix: my unit test was breaking other tests ;_;
* ci: fix ci?
* Make doxygen happy
* docs: flipper, math, notification, global
* style: review suggestions
* style: review fixups
* fix: badusb demo script
* docs: badusb
* ci: add nofl
* ci: make linter happy
* Bump api version

Co-authored-by: Aleksandr Kutuzov <[email protected]>

* NFC: H World Hotel Chain Room Key Parser (#3946)

* quick and easy implementation
* delete debug artifacts
* log level correction (warning -> info)

* Merge remote-tracking branch 'OFW/dev' into dev

* after merge fix p1

* merge p2

* merge p3

* Small JS fixes (#3950)

* [FL-3914] BackUSB (#3951)

* Revert "[FL-3896] Split BadUSB into BadUSB and BadBLE (#3931)"
  This reverts commit 0eaad8b.
* Better USB-BLE switch UX
* Format sources
* Format images

Co-authored-by: あく <[email protected]>

* New Static Keys for Mifare Classic Dictionary (#3947)

Co-authored-by: あく <[email protected]>

* [BadUSB] Improve ChromeOS and GNOME demo scripts (#3948)

* [BadUSB] Gnome Demo: Support most terminals and force sh shell when not using Bash as default
* [BadUSB] ChromeOS Demo: Minor improvements, such as exit overview, select omnibox and add a page title

Signed-off-by: Kowalski Dragon (kowalski7cc) <[email protected]>
Co-authored-by: Kowalski Dragon (kowalski7cc) <[email protected]>
Co-authored-by: あく <[email protected]>

* Remove out of date screenshot

* implement byte input, add missing args in text input

TODO: add missing filebrowser dialog

* move examples

* badusb js paritally fix

* add new nfc key [ci skip]

* Read Ultralight block by block

* JS: Merge fixes

* JS: camelCase changes

* Update changelog, JS changes still missing

* JS: Docs and types for additions on top of OFW modules

* JS: Port byte input example (WIP, has some bugs in C code, JS is fine)

* fix zero issues in princeton

* merge missing js backports of backports by Willy-JL

p1

* JS: Update storage example

* JS: Disclaimer about documentation

* JS: Types for chr(), .indexOf(), .slice()

* JS: More fixes

* merge examples fixes [ci skip]

by Willy-JL
p2

* more js stuff

https://github.com/Next-Flip/Momentum-Firmware/commits/js-backport-of-backport/

* JS: Fix load.js example path

* JS: Byte/Text Input fixes, gui example improvements

* JS: Expose currentView in gui.viewDispatcher

* JS: Update interactive.js REPL example

* JS: Add byte input example image for docs

* JS: Fix toString() with negative numbers

* Small fixes in the wifi devboard docs (#3953)

* Small fixes in the wifi devboard docs

- Several broken numbered lists fixed
- Added a skipped link to the uFBT
- The Devboard naming fixed

* JS: Silence plugin functions warning

* merge js upds 1

* merge js 2

* [FL-3916] Require PIN on boot (#3952)

Co-authored-by: hedger <[email protected]>

* upd changelog

* NFC Parser for Tianjin Railway Transit (#3954)

* fix cli breaking web flipper lab, remove color tags

* upd changelog

* JS: Backport virtualMount storage API

* JS: Backport file picker as new module

* Workflows: Upload more build artifacts

* Fixed bug with UL reading

* upd changelog

* Add warning about stealth mode in vibro CLI (#3957)

* JS: Add way to check if view has prop

* JS: Add numpad keys to badusb typedefs

* Revert "[FL-3909] CLI improvements, part I (#3928)" (#3955)

This reverts commit 0f83141.

Co-authored-by: あく <[email protected]>

* JS: Improve REPL script

* JS: Custom scope param in load() typedef

* Update API versions for OFW RC

* JS: Sync small differences from OFW PR

* Fix multiple crashes and state machine logic

* Update changelog (not final)

* JS: C define to move JS runner to flash (still external for now)

* JS: First batch of OFW PR review changes

* Update apps

- Seader: Show error for timeout, fix wrong LRC logging (by bettse)

* Fix inconsistent assignment of known key and known key type/sector

* Revert api bump

* Backdoor known key logic still needs the current key

* JS: Second batch of OFW PR changes

* IR: Basic script to remove dupes

had this lying around from last week PRs and could come useful again,
code is meh but works

* Fix changelog

---------

Signed-off-by: Kowalski Dragon (kowalski7cc) <[email protected]>
Co-authored-by: noproto <[email protected]>
Co-authored-by: Nathan N <[email protected]>
Co-authored-by: MX <[email protected]>
Co-authored-by: あく <[email protected]>
Co-authored-by: Ruslan Nadyrshin <[email protected]>
Co-authored-by: knrn64 <[email protected]>
Co-authored-by: SUMUKH <[email protected]>
Co-authored-by: porta <[email protected]>
Co-authored-by: RebornedBrain <[email protected]>
Co-authored-by: RebornedBrain <[email protected]>
Co-authored-by: hedger <[email protected]>
Co-authored-by: Zinong Li <[email protected]>
Co-authored-by: Astra <[email protected]>
Co-authored-by: Kowalski Dragon <[email protected]>
Co-authored-by: Kowalski Dragon (kowalski7cc) <[email protected]>
Co-authored-by: Mykhailo Shevchuk <[email protected]>
Co-authored-by: Ivan Barsukov <[email protected]>
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.

1 participant