Giter Site home page Giter Site logo

Comments (6)

linuxdevel avatar linuxdevel commented on July 30, 2024

If I'm not wrong, I can just add a characteristics according to https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=239393

Question is answered.. Feel free to delete the question.

from arduino-bleperipheral.

daviddedwin avatar daviddedwin commented on July 30, 2024

@sandeepmistry Not sure how this is done in the API, the nRF8001 ACI has the Broadcast/Connect/Bond all of which can be used to advertise data. The ACI command OpenAdvPipe is also used to load data from a Specific Characteristic into the advertising data. The Temperature broadcast example shows how to broadcast a Characteristic.

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@linuxdevel do you want to advertise the TX power using GAP? (This is not supported).

@daviddedwin characteristics can be broadcasted in the GAP service data using the characteristic.broadcast() API. For more info see:

from arduino-bleperipheral.

linuxdevel avatar linuxdevel commented on July 30, 2024

@sandeepmistry I thought it was supported from what I see here : https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile

0x0A «Tx Power Level» Bluetooth Core Specification:
Vol. 3, Part C, section 8.1.5 (v2.1 + EDR, 3.0 + HS and 4.0)
Vol. 3, Part C, sections 11.1.5 and 18.3 (v4.0)
Core Specification Supplement, Part A, section 1.5

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@linuxdevel yep, it's part of the spec.

However, BLEPeripheral tries to keep things simple.

It only allows the following:

  • Advertisement data: service UUID or Manufacturer data + service data for broadcasted characteristic (if there is space)
  • Scan response data: local name

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@linuxdevel I'm closing this for now.

from arduino-bleperipheral.

Related Issues (20)

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.