Close the given port
Open a serial connection on the given port, onClose will be emited once the connection is closed
Open a serial connection on the given port, onClose will be emited once the connection is closed
Return the OSD fields in their data read order based on the given api version
Return the base 64 encoded result of the blackbox config
Read the VTX table row, row number indexes from 1
Read the VTX table row, row number indexes from 1
Set the device to reboot, returning true if successful
Generated using TypeDoc
@betaflight/api
Betaflight api is a package built on top of the MSP protocol to provide a high level API to query objects and values from betaflight flight controllers, managing backwards compatibilty, and providing type information.
This library should be used if you want to write a user interface or query data specifically from betaflight flight controllers. This library is not gaurenteed to work with other types of flight controller.
Please see
@betaflight/api-server
for an even higher level graph based api for betaflight flight controllers.PLEASE NOTE: THIS API IS CHANGING ALL THE TIME, IT IS NOT RECOMMENDED FOR PRODUCTION USAGE YET
Usage