This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Communication protocol between CC2540 USB dongle and Btool

Other Parts Discussed in Thread: CC2540

Does anyone have a link to the communication protocol between the CC2540 USB dongle and Btool? Especially in regards of what are the frames to read/write attributes.

I would like my own program to communicate with my device using the dongle.

  • Rswl,

    The protocol is specified in the document called TI_BLE_Vendor_Specific_HCI_Guide.pdf found under Documents in the stack install directory.

    Looking at the parsed result vs packet dump from BTool may also help you understand what happens.

    Best regards,
    Aslak 

  • Hi rswl88,

    Can you explain your question in detail ?

    You said that you want to know communication protocol between USB dongle and Btool then you have asked "I would like my own program to communicate with my device using the dongle.",What is your device ???

    Niceday,

    Senthil

  • Hi 
    I have almost the same question what i want to do is a digital pen for an interactive board based on infrared and ultrasonic technology 
    The pen is supposed to send the XY positions and the left and right buttons statuses by RF to the dongle connected to the Pc
    so I was wondering about the final form of the bytes to be send should I send delta x and delta y or just coordinates XY  >> how many bytes to send and in which order so that the mouse driver accepts them as a regular wireless mouse and move the cursor accordingly

    please I need help ! 

  • Hi Dina,

    You will have to do a bit more than writing bytes in a specific order. One alternative is to program a CC2540-dongle that emulates a USB HID device and parses BLE messages from a peripheral device. We do not have this available. Another is to implement the HID Over GATT Profile (hogp) and use a windows 8 pc with BT4.0LE hardware, as win8 has drivers included. Example projects for HOGP will be released in the next TI BLE stack release.

    Best regards,
    Aslak