1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 05:45:25 +03:00
Commit graph

42 commits

Author SHA1 Message Date
Tomas Chmelevskij
c086395def
Refactor msp to modules (#3214)
* feat: refactor everything to modules

* fix: a lot of circular deps fixes

* feat: use vitest instead of karma
2023-01-14 22:11:37 +01:00
ASDosjani
88f5c7d863
Fix elrs connection (#3095)
fix elrs connection

arrange mdns to class
2022-12-02 04:59:48 +01:00
J Blackman
a49a6b98ba
Merge pull request #3027 from ASDosjani/port_update
Update port selection after initialization
2022-10-18 07:36:30 +11:00
ASDosjani
614eb5d957 Fix port selection 2022-10-16 20:31:24 +02:00
ASDosjani
b691740d55 Update port selection after initialization 2022-10-16 19:55:22 +02:00
Eike Ahmels
777f2b6383 removed helper.js, fixed bonjour calls 2022-09-09 15:20:54 +02:00
Eike Ahmels
4b47dab653 scanning for elrs network devices with crsf msp frame capability
only setup port and connect if its valid and ready

change mdsn detection and made remove ports working for tcp ports

used the bonjour package and made it event based

removed unused constant

chore: code quality

fix self reference for mdns handler functions

adding port removal on not reachable

fix tcpcheck for resolved addresses

fixing mdns and polling

fixed mdns browser init (thanks to CapnBry), events not getting registered before the discovery starts

tcp polling was to fast and now doesnt check if the gui is connected to reduce ESP stress.

chore: remove commented code

added mdns requery interval

added andoird zeroconf for mdns discovery

fixed mobile detection and fixed squash/merge errors

fixing yarn install error and code smells

fixes cordova connect
2022-08-31 08:44:35 +02:00
Mark Haslinghuis
503e129fdb Fix PortHandler 2022-05-27 03:36:42 +02:00
Mark Haslinghuis
f41e135333 Migrate chrome storage API to window.localStorage
Add remove function

Remove callback from set and remove

Rebased

Rebased
2022-04-22 01:08:48 +02:00
Mark Haslinghuis
f8371afca2 Make connection timeout dynamic 2022-02-28 15:51:14 +01:00
Mark Haslinghuis
bad27d3d15 Make virtual mode an option using msp backup and restore 2022-01-10 14:25:01 +01:00
Mark Haslinghuis
3562ed9d3a
Fix Port Detection using VID/PID 2021-12-03 00:36:49 +01:00
J Blackman
3db052fda4
Auto merged - #2524 at Sun, 01 Aug 2021 03:17:09 GMT
Detect board in firmware_flasher patch
2021-08-01 13:17:10 +10:00
Mark Haslinghuis
c0cda1f735
Detect board in firmware_flasher patch 2021-07-28 03:34:09 +02:00
Mark Haslinghuis
1b26bb5dcc
Adjust Modes Name CSS min-width 2021-07-25 02:14:53 +02:00
J Blackman
1d296d5af4
Auto merged - #2475 at Sat, 26 Jun 2021 00:51:14 GMT
Make connection timeout user-configurable
2021-06-26 10:51:15 +10:00
Mark Haslinghuis
7af9fb28a9 Verify board from firmware before flashing 2021-06-20 03:00:50 +02:00
Mark Haslinghuis
3b90d3d520 Change Auto-Connect timeout 2021-06-03 18:59:07 +02:00
Mark Haslinghuis
91e06be19f Fix Port Dropdown Width 2021-02-24 20:32:20 +01:00
Mark Haslinghuis
6f21db5a06 Check for legacy devices 2021-02-08 04:53:07 +01:00
visdauas
030a75a89e Added Virtual Mode 2020-12-28 17:24:34 +01:00
Asizon
0a98eee4b3 Reset when no flashing,remove reset when erase chip is checked 2020-12-13 12:46:44 +01:00
Asizon
1647ca6ec5 Improving hardwareId behavior
Fix indendation

Add css changes

Change hiden to reset data aproach

Add semicolons
2020-12-13 11:24:36 +01:00
Michael Keller
317f937fd5
Merge pull request #2266 from Asizon/hide_hardwareid 2020-12-08 13:04:44 +01:00
Asizon
883bb9c53f Remove hardwareId when checks for usb devices 2020-12-08 11:59:06 +01:00
Mark Haslinghuis
545ec324c0 Fix tcp boot 2020-11-17 05:20:49 +01:00
Mark Haslinghuis
49ad949bea Unlock DFU using FC boot button after #2169 2020-09-26 01:15:08 +02:00
Mark Haslinghuis
9ae3230edd detect default stm or cp210[x] serial port 2020-09-15 02:39:12 +02:00
Miguel Angel Mulero Martinez
9111503886 Sonar and review fixes 2020-08-26 19:58:01 +02:00
Miguel Angel Mulero Martinez
612a4e4e37 Add description to the port list 2020-08-26 15:38:58 +02:00
Miguel Angel Mulero Martinez
eb30f6bef0 Refactor and clean port_handler.js 2020-08-26 11:44:27 +02:00
WalcoFPV
4f93e54ae6 Cordova framework integration, Android support, mobile UI & options tab
Cordova integration and android platform :
- Added cordova directory with required config
- Added cordova applications generation in gulpfile
- Added cordova development instructions
- Used cordova plugins to simulate missing chrome api  plugins (chrome.serial and chrome.fileSystem)
- Added cordova clipboard support
- Added android operating system and Cordova gui mode
- Fixed some css and js files to make them working on Android as well as on computers
- Added --skipdep argument to accelerate cordova build (gulp task)
- Added a webview helper to help people to update the webview app of their device

New options tab :
- Added options tab replacing the options dropdown
- Added option to switch between phones UI and computers UI

Mobile interface and global interface improvements :
- Simplified the structure of the header with flex css
- Made headerbar and tab container responsive (compact headerbar and side menu)
- All tabs are adapted to mobile interface (except firmware flasher)
- The servos and adjustments tabs are not fully adapted but are "usable"
- Improved header bar animation
- Improved log expandation animation
- Added swipe gesture to toggle side menu

Fixes during the development :
- Logo position
- Dark mode
- Auto connection
- Error messages (cordova_chromeapi.js)
- Responsive grid
- Testing
- Disconnection
- Width of boxes inside the OSD tab
- Fixed cli tab
- OSD tab
- Motor stop switch
- White spaces in boxes
- Dialogs size
- Connect button state
- Prevent tablet with a height larger than 575px to switch to computers ui
- Fixed logging tab
- Fixed code smell
- Fixed yarn cordova plugin install issue
- Fixed content_wrapper
- Fixed vibrations when scrolling
- Fixed scrolling bar alignment
- Fixed dialogReportProblem height
- Fixed rates logo
- Fixed auto connection default value (true)
- Fixed D to D max
- Fixed dialogs

Added required messages in locales/en/messages.json file

Requested changes
2020-07-03 16:19:33 +02:00
Asizon
35d129c8d6 Disable Exit DFU Button when no needed
add interval function

sonar issue

change Timer method to port change detect

fixing white space
2020-03-25 13:01:46 +01:00
mikeller
d293d6b1e7 Added button to exit DFU. 2020-01-26 22:59:54 +13:00
Kyle K
16cabc93a4 initial go at flashing unified target with a config 2019-09-05 04:15:22 +00:00
Kyle K
ea1aaf7e8a switch languages without an app restart 2019-08-10 00:04:46 +00:00
Miguel Angel Mulero Martinez
f2002468c6 Remove magic number, add TIMEOUT_CHECK constant 2019-04-22 16:25:13 +02:00
Miguel Angel Mulero Martinez
acc035a61a Fix slowdown looking for usb devices 2019-04-22 09:44:43 +02:00
mikeller
5f5166cc41 Fixed ownership of installed files on debian. 2019-03-24 11:52:59 +13:00
jflyper
2f2da42f53 Add an ability to handle multiple DFU device types 2018-11-12 21:05:51 +09:00
Miguel Angel Mulero Martinez
0a71f1e559 Use i18next as i18n framework 2018-01-27 12:19:17 +01:00
Bas Delfos
24c81375a4 Move src files 2018-01-24 22:50:40 +01:00
Renamed from js/port_handler.js (Browse further)