Skip to content

Mesh network server for Linux. Communications with nRF51 devices to perform updates via the mesh-network

Notifications You must be signed in to change notification settings

kevinbluett/nrf51_mesh_dfu_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python nrf51822 DFU uploader
============================

Wrapper for bluez gatttool using pexpect to achive DFU 
uploads to the nrf51822 (SDK 5.1.0 and S110 SoftDevice 6.0.0). 

The script does not handle any notifications given by the 
peer as it is strictly not needed for simple uploads.

Inspired by the gatttool wrapping solution by Michael 
Saunby (https://github.com/msaunby/ble-sensor-pi).

System:
* Linux Mint 16 - kernel 3.11.0-12-generic
* bluez - 4.101-0ubuntu8b1

Prerequisite - 
    sudo pip install pexpect
    sudo pip install intelhex

Usage - 
    python dfu.py -f <hex_file> -a <address>

To figure out the address of DfuTarg do a hcitool lescan -
    $ sudo hcitool -i hci0 lescan
    LE Scan ... 
    CD:E3:4A:47:1C:E4 DfuTarg
    CD:E3:4A:47:1C:E4 (unknown)




About

Mesh network server for Linux. Communications with nRF51 devices to perform updates via the mesh-network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages