Giter Site home page Giter Site logo

Comments (6)

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@KorkyraBoyCRO could you please stick to one question/issue per Github issue, it makes tracking for me simpler. I've also setup gitter for chat/questions.

What are you trying to get "display caller ID, message text etc..." from? Maybe share your sketch?

Please open a separate issue or use gitter for the U8GLIB question. With more details include:

  • Does the ANCS example compile by itself?
  • What is U8GLIB? Maybe a link?
  • What the compile error is.

from arduino-bleperipheral.

KorkyraBoyCRO avatar KorkyraBoyCRO commented on July 30, 2024

Hi...sorry for, lets say amateurism in this...So about ANCS. Yes it does compile by itself and it worked fine. I have connected arduino successfully to my iPhone 4s and received notification on Serial monitor. Only change i have done on you're original ancs example code is instead showing ancs category with number in serial monitor it now say incoming call, you got email and similar ( i did that with simple switch case statements) . I was wondering is it possible to display full message with title if there is or caller ID when i got incoming call with your ancs example. I think i must use notification attributes but not so sure and i don't see them...

P.S. i will try to upload a sketch as soon as possible...don't know how yet

from arduino-bleperipheral.

KorkyraBoyCRO avatar KorkyraBoyCRO commented on July 30, 2024

ok here it is...this is my sketch...as i told u nothing much is really changed

https://gist.github.com/KorkyraBoyCRO/c3dd2ec1d8d79189ff31

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@KorkyraBoyCRO the ANCS example is pretty basic for now, it just receives the initial basic notification data, and does not query the iOS device for more information.

You would have to write some more code to do this, if you do get this working please submit a pull request for others to use. See node-ancs for a reference implementation on how to use ancsControlPointCharacteristic and ancsDataSourceCharacteristic to request more data from the iOS device for each notification.

from arduino-bleperipheral.

KorkyraBoyCRO avatar KorkyraBoyCRO commented on July 30, 2024

Ok i will try to get this working...thank you for your reply
One more thing, i know it is not related to this question, but i had noticed that ANCS example code takes a lot of global variables memory so i was thinking is it possible to get this library work with teensy 3.x since i got one but i am not sure how to do this?

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@KorkyraBoyCRO let's discuss the Teensy on Gitter ...

Btw, I'm closing this issue since the initial question is answered.

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.