Giter Site home page Giter Site logo

Comments (5)

jardous avatar jardous commented on July 20, 2024

yeah... that is the thing... I can see the MIDI device available, can connect to it, but how to send the data is not working there. Need help with that too. Please feel free contribute.

from bluefruit_midi_proto.

ovicin avatar ovicin commented on July 20, 2024

I had a second look on the bluefruit documentation but is not clear for me if using the BLUEFRUIT_MODE_DATA will write the data to the MIDI characterisc or should be used the command AT+GATTCHAR

AT+GATTCHAR
Gets or sets the value of the specified custom GATT characteristic (based on the index ID returned when the characteristic was added to the system via AT+GATTADDCHAR).

Codebase Revision: 0.3.0

Parameters: This function takes one or two comma-separated functions (one parameter = read, two parameters = write).

    The first parameter is the characteristic index value, as returned from the AT+GATTADDCHAR function. This parameter is always required, and if no second parameter is entered the current value of this characteristic will be returned.
    The second (optional) parameter is the new value to assign to this characteristic (within the MIN_SIZE and MAX_SIZE limits defined when creating it).

Response: If the command is used in read mode (only the characteristic index is provided as a value), the response will display the current value of the characteristics.  If the command is used in write mode (two comma-separated values are provided), the characteristics will be updated to use the provided value.

I think that using BLUEFRUIT_MODE_DATA will write the data to the UART characteristic.

from bluefruit_midi_proto.

ovicin avatar ovicin commented on July 20, 2024

It works for me know by setting the value to the characteristic with AT+GATTCHAR, I receive the notes on an IOS device.
Note on: AT+GATTCHAR=1,AF-80-90-3F-64
Note off: AT+GATTCHAR=1,AF-80-80-0-0

from bluefruit_midi_proto.

jardous avatar jardous commented on July 20, 2024

yes! That is the break through! I can confirm that it works for me (just you did not specify the note to off - should be AT+GATTCHAR=1,AF-80-80-3F-00)

Thanks a lot!

from bluefruit_midi_proto.

jorgertrias avatar jorgertrias commented on July 20, 2024

Hi, I'm building a midi foot controller with Arduino. I am interested in offering BLE MIDI connection, which recognizes an IOS device.
I tried connecting a module HM 10 (CC2540 chip) Bluetooth but the iPad does not recognize it as MIDI device BLE.
With Adafruit Friend Bluefruit LE module UART can I get it?
I currently use the MIDI Arduino library (https://github.com/FortySevenEffects/arduino_midi_library/)
Thanks in advance from Spain!!

from bluefruit_midi_proto.

Related Issues (1)

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.