GithubHelp home page GithubHelp logo

nordicplayground / ble_app_uart_c_s120 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hubuhubu/ble_app_uart_c_s120

10.0 27.0 9.0 2.87 MB

Client example with 128 bit UUID service&characteristics for S120

C 22.86% Makefile 7.08% Assembly 3.27% D 9.58% HTML 57.21%

ble_app_uart_c_s120's Introduction

ble_app_uart_c

  • This project is now a part of the official nRF5 SDK. It can be found here. Users are advised to use the SDK version, unless you have a specific reason to use this one.

  • This version of the project has been updated to use SDK v.9 and Softdevice S130. For the SDK8 and S120 version, see the branch called "SDKv8.0".

Client example with 128 bit UUID service&characteristics for S130

It's based on the ble_app_hrs_c. The HRS service was replaced by the NUS (Nordic Uart Service) service. This project can be used in conjunction with the UART serial port emulation example from SDK v9.0.0 (http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/ble_sdk_app_nus_eval.html?cp=4_1_0_4_4_17).

Functionality:

  • Scan for and connect to a peripheral that advertise with the 128bit UUID NUS service
  • Do service discovery and notify the application if the NUS UUID service found
  • Enable RX CCCD for notification (Subscribe to notifications on from the peripheral)
  • Forward data received from the peer device TX Characteristic to UART
  • Forward data received on UART to the peer device RX Characteristic

Be noted that the Characteristic's names and UUID were copied from the original ble_app_uart so that the 2 examples matched. It may not match with the description of the RX and TX characteristics (reversed)

Requirements

nRF51 SDK version 9.0.0

S130 v1.0

nRF51-DK, or nRF51-Dongle, version 1.0.0 or later

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

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 nRF51 SDK, that can be downloaded from https://www.nordicsemi.no, provided you have a product key for one of our kits.

Please post any questions about this project on https://devzone.nordicsemi.com.

ble_app_uart_c_s120's People

Contributors

anderss90 avatar hubuhubu avatar nordic-auko avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar

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.