Giter Club home page Giter Club logo

nrf52-ble-image-transfer-demo's Introduction

nrf52-ble-image-transfer-demo

This demo uses a camera sensor to capture a JPG image, and send it over BLE to a phone app. The image can be captured either in a single shot mode, or in a streaming mode where it will take pictures as fast as the BLE link can keep up.

The resolution can be changed in 6 steps between 160x120 to 1600x1200, and an estimate of the transfer speed can be calculated based on the time it takes to transfer each image.

The example is set up to request different BLE phy's, and can be used to demonstrate the difference between 1Mbps and 2Mbps BLE modes on phones that support it.

The Android companion app can be found here:
https://github.com/NordicSemiconductor/Android-Image-Transfer-Demo

Requirements

Hardware setup

nRF52840 using front connector

Note: This requires solder bridges SB10-15 and SB20-25 to be soldered/cut, as illustrated here:

nRF52840 using side connector

nRF52832 using side connector

SoftDevice version

For the nRF52840 use the S140 v7.0.1, provided with SDK v16.0.0.

For the nRF52832 use the S132 v7.0.1, provided with SDK v16.0.0.

Note

The project may need modifications to work with other versions or other boards.

To compile it, clone the repository in the [SDK]/examples/ble_peripheral folder.

About this project

This application is one of several applications that has been built by the support team at Nordic Semiconductor, as a demo of some particular feature or use case. It has not necessarily been thoroughly tested, so there might be unknown issues. It is hence provided as-is, without any warranty.

However, in the hope that it still may be useful also for others than the ones we initially wrote it for, we've chosen to distribute it here on GitHub.

The application is built to be used with the official nRF5 SDK, that can be downloaded from developer.nordicsemi.com

Please post any questions about this project on devzone

nrf52-ble-image-transfer-demo's People

Contributors

ovrebekk avatar too1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf52-ble-image-transfer-demo's Issues

Wrong data length log in gatt_evt_handler

Hey,

just found the wrong use of data length parameter in
main.c: void gatt_evt_handler(nrf_ble_gatt_t * p_gatt, nrf_ble_gatt_evt_t const * p_evt);

Else if should use p_evt->params.data_length instead of p_evt->params.att_mtu_effective.
for NRF_BLE_GATT_EVT_DATA_LENGTH_UPDATED.

Requires SDK 13

Is there any plan to port this to newer SDKs. Some of the paths have changed.

Also the gcc target appears to need a lot of updates.

Problem when working with Zephyr SDK

Hi,

I have a problem when using this library together with Zephyr. Zephyr SDK supports nrf libraries used in this demo.
When I run it, I find out it stuck on while(spi_busy) and I checked that the spi event handler is not called.
Does anyone know what might be the reason?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.