betaflight-configurator icon indicating copy to clipboard operation
betaflight-configurator copied to clipboard

Button to open Betaflight

Open rcpilotp51 opened this issue 5 years ago • 4 comments

Hey Guys! Thanks for your help in the past.

I was wondering if anyone knows how to open betaflight using either a link (href) or a javascript function.

My goal is to open the app either on windows or mac and populate the navbar with "Manual Selection" with the port: (ie 'tcp://blah.blah')

Possible or no? I dont really know where to ask and Google is not my friend today...

rcpilotp51 avatar Nov 19 '20 00:11 rcpilotp51

I envision a cloud configurator in the future anyway using Serial or USBDevice API.

But for now tcp connection is only half working. It needs a serial connection after a reboot to reconnect again.

At one point tcp reconnect did work but some minor changes quickly led to another flow in the code which I still can't get my head around. So my working solution was not future proof anyway.

I didn't try to mimic the configurator in separate code however for further investigation, like trying another API.

haslinghuis avatar Nov 22 '20 02:11 haslinghuis

@rcpilotp51: Definitely possible - the way to get this done is to define a custom protocol (btfltcp://?) and have the configurator installer register this with the operating system - then any app handling URLs will open Betaflight configurator when encountering a btfltcp://... URL.

mikeller avatar Nov 22 '20 10:11 mikeller

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

stale[bot] avatar Dec 25 '20 15:12 stale[bot]

Issue closed automatically as inactive.

github-actions[bot] avatar Jan 08 '21 05:01 github-actions[bot]

We have dropped support for NWjs in upcoming version (11.0). Soon can use URL directly.

haslinghuis avatar May 15 '24 17:05 haslinghuis