1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00
Commit graph

144 commits

Author SHA1 Message Date
Mark Haslinghuis
4aad8c648b
Add serial facade (#4402)
* Add serial facade

* Fix websocket connection

* Refactor

* Fix unplug

* Fix reboot / unplug reconnect issue

* The real deal (detail has no value)
2025-03-30 21:42:03 +02:00
Mark Haslinghuis
96a82d77f0
Fix initialization of build options when MSP timeout occurs (#4400)
* Fix init in case of timeout

* Experiment

* Remove experiment

* Move processing

* Tidy up
2025-03-27 21:07:48 +01:00
sEver
f15214ac2d
Improve readability of the #header_buttons - simpler structure, black icons, green connect button (#4371)
Refactor header_buttons css for improved readability
2025-03-09 21:54:01 +01:00
Mark Haslinghuis
689fb7b894
Improve debug logging (#4354)
* Improve debug logging

* Remove condition

* Update logHead
2025-02-22 11:59:37 +01:00
Mark Haslinghuis
b4a9fabe31
Add MCU_INFO MSP support (#4306)
* Add MCU_INFO MSP support

* Remove MCU table

* add missing initializer
2025-01-18 21:03:20 +01:00
Mark Haslinghuis
9e2dfa362b
Fix socket reset (#4304)
* Fix socket reset

* Fix dropdown being disabled
2025-01-17 02:05:50 +01:00
Mark Haslinghuis
6fbeb83e72
Display either flash or sdcard (#4290)
* Display either flash or sdcard

* Update MSP for BLACKBOX config on startup

* Remove deadcode

* Fix sonar issues
2025-01-02 18:45:37 +01:00
Mark Haslinghuis
2b72e29d96
Show SDC in DataFlash component (#4267) 2024-12-06 21:29:12 +01:00
Mark Haslinghuis
82021fd9de
Fix sponsor loading (#4250) 2024-11-18 15:04:44 +01:00
Mark Haslinghuis
b098a5fcc8
Fix i18n interpolation (#4235) 2024-10-30 19:36:54 +01:00
Mark Haslinghuis
467b6cc9f7
Fix sensors and battery cellcount (#4221) 2024-10-24 17:43:54 +02:00
Mark Haslinghuis
9816ea5ce0
Add CLI console (#4207) 2024-10-15 19:47:09 +02:00
Mark Haslinghuis
36ccc26acc
Add websocket support and fix port override (#4187)
* Add websocket support

* remove waitforconnection
2024-10-03 20:03:06 +02:00
Mark Haslinghuis
5ef26ae89e
Add metered connection and usability check (#4168)
* Add Metered connection and usability check

* Add network speed to status bar

* Add network type

* Introduce network status

* Rephrase option

* Add network info to setup tab

* Reserve statusbar for something else

* Make sonar happy
2024-09-21 23:28:10 +02:00
Tomas Chmelevskij
295e088aa5
Remove cordova logic (#4000)
remove cordova logic
2024-07-24 15:28:00 +02:00
Mark Haslinghuis
9a0fb31dce
Hide firmware version dropdown for virtual mode (#4097)
* Hide firmware version dropdown for virtual mode

* Another try

* Cleanup
2024-07-14 14:13:23 +02:00
Tomas Chmelevskij
3cffa09ae3
Extract out virtual serial (#3998)
* Extract old virtual serial for compatability

* Update src/js/virtualSerial.js

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

---------

Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2024-07-10 21:21:49 +02:00
Mark Haslinghuis
5a3f06f890
Add bluetooth support (#4024)
* Add bluetooth support

* Add new files

* CLI now works over BT

* Fix MSP over bluetooth

* Cleanup

* More cleanup

* Fix bind for disconnect

* Rename port to device

* Reboot does not trigger event gattserverdisconnected

* Fix dual permission request

* Increase minimum MSP timeout for PWA

* Small refactor

* Reboot

* Do not crash when bluetooth flag is disabled

* Cleanup excessive logging

* Abstract navigator
2024-06-28 20:02:32 +02:00
Mark Haslinghuis
eb0ef767bf
Fix autobackup (#4033)
* Fix autoback and execute commands in cli

* Backout changes in cli
2024-06-20 10:17:22 +02:00
Míguel Ángel Mulero Martínez
e0fd63f5d5
Fix board name in logo and status bar (#4019) 2024-06-12 00:59:27 +10:00
Mark Haslinghuis
2f87ab29f7
Fix noselection and not closing dfu after flashing (#3993)
* Fix noselection

* Move select#baud element to vue

* Keep focus

* Do not automatically connect after flashing

* Proper select DFU

* Proper select DFU v2

* Proper select DFU v3

* Fix parentheses

* Duh

* Finally

* Cleanup
2024-06-03 12:47:24 +02:00
Míguel Ángel Mulero Martínez
324bec63a2
Move some code of portOverride from serial_backend to vue (#3992) 2024-05-31 21:15:19 +02:00
Míguel Ángel Mulero Martínez
d0599ae455
Add DFU devices to the port handler (#3991)
* Add DFU devices to the port handler

The firmware flasher ignores it, at this moment. Needs a future PR to use it in place of the actual code that asks permission each time.

* Remove the DFU word in the displayName of the USB devices

some devices contain it in the productName, so better to remove it to not duplicate the name.
2024-05-31 17:59:46 +02:00
Míguel Ángel Mulero Martínez
ff83600a43
Refactor port handler (#3984)
* Refactor port handler and fix reconnect

* Fix as per review

* Don't auto-connect for virtual or manual

* Fix auto-connect switch state

* Move auto-connect title to the parent div

The checkbox is "hidden" under the switchary
library, so move to the parent to be able to show
it.

* Select active port when request permission port exists before

* Fix retun value for webserial requestPemission
2024-05-30 20:10:09 +02:00
Mark Haslinghuis
a6e3761c26
Fix reboot (#3986)
* Fix reboot

* Remove runonce and add callback for cli

* Couldn't resist

* Refactoring

* Forgot callback

* deviceReady

* Prevent callback being called twice
2024-05-28 17:36:13 +02:00
Mark Haslinghuis
3b088d7416
Auto-detect for PWA (#3971)
* Auto-detect for PWA

* Fix sonar
2024-05-20 16:52:28 +02:00
Míguel Ángel Mulero Martínez
4fea844edb
Add auto-connect checkbox again (#3970) 2024-05-20 16:02:33 +02:00
Mark Haslinghuis
c3cb9ceda0
Use BATTERY_STATE for cellCount (#3964)
* Use BATTERY_STATE for cellCount

* Remove outdated comments

* Use vbatcellcount instead of 1.8V condition
2024-05-20 14:32:16 +02:00
Míguel Ángel Mulero Martínez
fce0c8305b
Make port_handler work with PWA (#3958)
* Make port_handler work with PWA

* Modify the port_handler more the Vue way

* Fixes after review

* Fix request permission option not being deselected

* Hide baud selection in port picker if virtual port

* Added port override option for manual

* Fix virtual port state when loading the page

* Fix request permission adds the same device several times

* Fix automatic selection of device under Linux
2024-05-17 10:24:44 +02:00
Mark Haslinghuis
6105210e9e
Add manual connection option (#3703)
* Hide manual connection and refactor port_handler

* Rebased
2024-05-08 20:01:44 +02:00
Mark Haslinghuis
461e2db634
Fix virtual reboot and auto-connect (#3933)
* Fix virtual reboot

* Fix sonar
2024-05-05 15:16:28 +02:00
Tomas Chmelevskij
18eb8dd1b2
Feat/web virtual mode (#3882)
* feat: add virtual mode on web

* feat: only show msp virtual version on virtual mode selection

* feat: update port selection to update the options
2024-04-28 19:51:41 +02:00
Mark Haslinghuis
befa88b27b
Fix connection for patch release versions (#3908) 2024-04-24 20:53:52 +02:00
Mark Haslinghuis
37fada11ef
Use firmware options on introduction (#3900)
* Use firmware options

* Enable telemetry for CRSF, GHST and FPORT

* Add supported date

* Only add telemetry when not included in firmware

* Reduce brain overload
2024-04-21 01:38:56 +02:00
Mark Haslinghuis
16f70a5be8
Fix intermittent race condition (#3901)
Fix race condition
2024-04-20 23:24:40 +02:00
Mark Haslinghuis
939b88d897
Add support for using MSP build options (#3780)
* Add buildOptions from MSP

* Fixup semver
2024-04-19 21:42:57 +02:00
Mark Haslinghuis
92c11394af
Prevent issues with corrupted firmware using outdated configurator (#3793)
* Deny use of newer firmware not supported by configurator

* Update dialog

* Abort on dialog

* Update message
2024-02-15 22:41:29 +01:00
J Blackman
7847de80f1
Increased consistency with tracking parameters captured. (#3771) 2024-01-21 03:28:38 +01:00
Mark Haslinghuis
dcda393f7b
Fix isWeb usage and missing callback (#3758)
* Fix isWeb usage

* Add missing callback

* Fix reinitialize connection
2024-01-16 13:00:42 +01:00
J Blackman
66d175b030
Updating analytics to use build server (#3729)
* Updating analytics to use build server

- allows for server side analytics submission to whatever service we plan to use

* Revert to const (artifact left over from some testing)

* Send the changeList object in total
2024-01-04 22:28:28 +01:00
Mark Haslinghuis
6008284d09
Fix flash button color (#3661) 2023-12-08 02:26:51 +01:00
Mark Haslinghuis
11279cd05a
Fix sensor status calls (#3640)
Fix Sensor Status
2023-11-24 17:51:39 +01:00
Mark Haslinghuis
feb5a48783
Fix virtual disconnect (#3620) 2023-11-01 17:27:37 +01:00
Tomas Chmelevskij
5e5aa4f980
fix: presets styling for web (#3585)
* fix: presets styling for web

* feat: add `isWeb` helper
2023-09-18 22:35:02 +02:00
Tomas Chmelevskij
0a93ea478c
fix: web serial disconnect logic (#3575)
fix: disconnect logic on the web
2023-09-12 23:32:26 +02:00
Tomas Chmelevskij
ff4b62d7e2
Feat/vite build (#3292)
feat: vite based web build

* configure vitejs build
* add web serial option
2023-08-31 20:01:06 +02:00
Tomas Chmelevskij
40c243fe47
feat: use jquery package (#3540) 2023-08-17 01:13:03 +02:00
Mark Haslinghuis
edd34a1624
Fix intermittent connect failure (#3515) 2023-07-18 15:53:05 +02:00
Mark Haslinghuis
ea02a48c07
Enable video transmitter tab (#3505) 2023-07-10 15:47:36 +02:00
Mark Haslinghuis
791751a860
Fix offline behavior (#3480)
* Fix offline behaviour

* Fix message on setup tab when offline
2023-06-14 00:54:04 +02:00