Modifications

Sauter à la navigation Sauter à la recherche
Ligne 28 : Ligne 28 :     
=== Bluefruit LE Connect for OS X (Swift) ===
 
=== Bluefruit LE Connect for OS X (Swift) ===
   
This OS X desktop application is based on the same V2.x codebase as the iOS app, and gives you access to BLE UART, basic Pin I/O and OTA DFU firmware updates from the convenience of your laptop or mac.
 
This OS X desktop application is based on the same V2.x codebase as the iOS app, and gives you access to BLE UART, basic Pin I/O and OTA DFU firmware updates from the convenience of your laptop or mac.
   Ligne 36 : Ligne 35 :     
{{ADFImage|Bluefruit-LE-Shield-Software-resources-20.jpg}}
 
{{ADFImage|Bluefruit-LE-Shield-Software-resources-20.jpg}}
 +
 +
=== Bluefruit LE Command Line Updater for OS X (Swift) ===
 +
This experimental command line tool is unsupported and provided purely as a proof of concept, but can be used to allow firmware updates for Bluefruit devices from the command line.
 +
 +
This utility performs automatic firmware updates similar to the way that the GUI application does, by checking the firmware version on your Bluefruit device (via the Device Information Service), and comparing this against the firmware versions available online, downloading files in the background if appropriate.
 +
 +
Simply install the pre-compiled tool via the [https://github.com/adafruit/Bluefruit_LE_Connect_v2/releases/tag/OSXcommandline_0.3 DMG file] and place it somewhere in the system path, or run the file locally via './bluefruit' to see the help menu:
 +
 +
<syntaxhighlight lang="python">
 +
$ ./bluefruit
 +
bluefruit v0.3
 +
Usage:
 +
bluefruit <command> [options...]
 +
 +
Commands:
 +
Scan peripherals:  scan
 +
Automatic update:  update [--enable-beta] [--uuid <uuid>]
 +
Custom firmware:    dfu --hex <filename> [--init <filename>] [--uuid <uuid>]
 +
Show this screen:  --help
 +
Show version:      --version
 +
 +
Options:
 +
--uuid <uuid>    If present the peripheral with that uuid is used. If not present a list of peripherals is displayed
 +
--enable-beta    If not present only stable versions are used
 +
 +
Short syntax:
 +
-u = --uuid, -b = --enable-beta, -h = --hex, -i = --init, -v = --version, -? = --help
 +
</syntaxhighlight>
 +
 +
=== ABLE (Cross Platform/Node+Electron) ===
 +
[https://github.com/adafruit/adafruit-bluefruit-le-desktop/releases ABLE] (Adafruit Bluefruit LE Desktop) is a cross-platform desktop application based on Sandeep Misty's [https://github.com/sandeepmistry/noble noble library] and the [https://github.com/atom/electron Electron] project from Github (used by Atom).
 +
 +
It runs on OS X, Windows 7+ and select flavours of Linux (Ubuntu tested locally).  Windows 7 support is particularly interesting since Windows 7 has no native support for Bluetooth Low Energy but the noble library talks directly to {{pl|566|supported Bluetooth 4.0 USB dongles}} to emulate BLE on the system (though at this stage it's still in early BETA and drops the connection and takes more care to work with).
 +
 +
This app allows you to collect sensor data or perform many of the same functionality offered by the mobile Bluefruit LE Connect apps, but on the desktop.
 +
 +
The app is still in BETA, but full [https://github.com/adafruit/adafruit-bluefruit-le-desktop source] is available in addition to the easy to use [https://github.com/adafruit/adafruit-bluefruit-le-desktop/releases pre-compiled binaries].
 +
 +
{{ADFImage|Bluefruit-LE-Shield-Software-resources-40.jpg}}
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation