Commit Graph

11 Commits (master)

Author SHA1 Message Date
ASDosjani 88f5c7d863
Fix elrs connection (#3095)
fix elrs connection

arrange mdns to class
2022-12-02 04:59:48 +01: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
J Blackman 4ff6e209d5
Auto merged - #2582 at Thu, 09 Sep 2021 15:17:08 GMT
Fix webview problem in the Android version.
2021-09-10 01:17:08 +10:00
Michael Keller 9f0ccee463 Added build for Android Play store bundle. 2021-09-07 16:49:34 +12:00
Michael Keller f3fbb5a5ad Fix webview problem in the Android version. 2021-08-29 20:46:16 +12:00
Michael Keller 4480621c14 Standardised configurator version naming. 2021-08-25 19:35:18 +12:00
InsanePrawn acaefb1c4a Add cordova-chrome-sockets-tcp
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-08-17 21:50:56 +02:00
danybd f4abe55308 cordova_serial.requestPermission() driver fix
Fight controller based on silabs CP2104 was not working as function call cordova_serial.requestPermission() without specify the driver parameter uses the default driver "CdcAcmSerialDriver" which is the wrong when usb-uart chip is a CP2104. This chip requires the driver "Cp21xxSerialDriver"

fix code smells

fix the automatically reported code smells

'CdcAcmSerialDriver' as default driver

In order to not rely on the fallback driver in the driver library define 'CdcAcmSerialDriver' explicit locally

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

add CP2102 and other CP210x single port devices into usb device filter
2021-06-16 13:02:19 +12:00
WalcoFPV b87435855e Fixed auto dark theme on android 2020-08-28 16:49:03 +02:00
WalcoFPV 9f323f22c7 Gulp cordova generation in dist_cordova folder and fix cleaning 2020-07-06 09:24: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