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.

CC2564 cannot be made discoverable peripheral

Other Parts Discussed in Thread: CC2564, CC2560, TM4C123GH6PM, MSP430F5438

           Hello,

I'm working with CC2564 directly with HCI_Commands from an AVR xmega (without BLE Stack) and I do not succeed to make it a discoverable peripheral.

I've also noticed that the structure of the received events is not the same as I found in some posts. 

This is the log containing the commands that I send and the events that I receive.

reset
-----------
TX: 01 03 0C 00                 
Rx: 04 0E 04 01 03 0C

get_local_version
-----------------------
TX: 01 01 10 00
RX: 04 0E 0C 01 01 10 06 06 0D 0F 1B

read_bd_address
-----------------------
TX: 01 09 10 00
RX: 04 0E 0A 01 09 10 F3 D3 5E E9 17

le_enable
-----------
TX: 01 5B FD 02 01 01
RX: 04 0E 04 01 5B FD

init_as_peripheral
------------------------
TX: 01 00 FE 26 04 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
RX: 04 0E 04 01 FE 02

update_advertising
--------------------------
TX: 01 07 FE 05 01 03 02 01 06
RX: 04 0E 04 01 07 FE 01

make discoverable
--------------------------
TX: 01 06 FE 0F 04 00 00 00 00 00 00 00 07 00 00 00 00 00 
RX: no answer received

Please advise !

Thank you in advance and best regards to all community,

Sorin Leibovici

  • Hi Sorin,

    I think you would need to also download the service pack as well (after the "reset" command).

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thank you very much for your response !

    I've downloaded CC2564B_BT_BLE_SP_BTS and created the 4 header files from the .bts files.

    4.0.bts is for MSP430-BLE Stack and 4.1.bts is for other TI BLE Stack, so I tried the first two :

    - the .h file obtained from bluetooth_init_cc2564B_0.1.bts
    - the .h file obtained from bluetooth_init_cc2564B_0.2.bts


    I've added the service pack sequence after reset and those were the events received from the device :

    For BasePatch_01 :
    --------------------------
    04 0E 04 01 03 0C - event received after reset

    04 0E 04 01 36 FF - events received after sending the service pack sequence
    04 0E 04 01 37 FE
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 83 FF
    04 0E 04 01 0C FD
    04 0E 04 01 09 FD
    04 0E 04 01 09 FD
    04 0E 04 01 82 FD
    04 0E 04 01 82 FD
    04 0E 04 01 82 FD
    04 0E 04 01 87 FD
    04 0E 04 01 76 FD
    04 0E 04 01 80 FD
    04 0E 04 01 80 FD
    04 0E 04 01 1C FD
    04 0E 04 01 38 FE
    04 0E 04 01 5B FD
    04 0E 04 01 DD FD 01 04 0E 04 01 1C FD

    04 0E 04 01 10 01 - event received after update_advertising


    For BasePatch_02 :
    --------------------------
    04 0E 04 01 03 0C - event received after reset

    04 0E 04 01 36 FF - events received after sending the service pack sequence
    04 0E 04 01 37 FE
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 05 FF
    04 0E 04 01 83 FF
    04 0E 04 01 0C FD
    04 0E 04 01 09 FD
    04 0E 04 01 09 FD
    04 0E 04 01 82 FD
    04 0E 04 01 82 FD
    04 0E 04 01 82 FD
    04 0E 04 01 87 FD
    04 0E 04 01 76 FD
    04 0E 04 01 80 FD
    04 0E 04 01 80 FD
    04 0E 04 01 1C FD
    04 0E 04 01 38 FE
    04 0E 04 01 5B FD
    04 0E 04 01 DD FD 01
    04 0E 04 01 1C FD

    04 0E 04 01 10 01 - event received after update_advertising

    Comparing with the events received without the service pack sequence, now I did not
    receive events for get_local_ver, read_bd_addr, le_enable and periph_init.


    Those are the initializing sequences from the obtained header files:

    static unsigned char BasePatch_01[] =
    {
    0x01, 0x36, 0xFF, 0x04, 0x00, 0xC2, 0x01, 0x00, 0x01, 0x37, 0xFE, 0x02, 0x07, 0x10, 0x01, 0x05,
    0xFF, 0xFF, 0xD0, 0x62, 0x08, 0x00, 0xFA, 0x07, 0x10, 0x47, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x70, 0xB5, 0x16, 0x4D, 0xAE, 0x7F, 0x01, 0x24, 0xA6, 0x46, 0x12, 0x48, 0xFE,
    0x44, 0x00, 0x47, 0xB0, 0x42, 0xF8, 0xD1, 0x03, 0x20, 0x17, 0x21, 0x89, 0x01, 0xA6, 0x46, 0x0E,
    0x4A, 0xFE, 0x44, 0x10, 0x47, 0xAD, 0x7F, 0xA6, 0x46, 0x0B, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xA8,
    0x42, 0xF9, 0xD1, 0xFE, 0xE7, 0x0B, 0x48, 0x01, 0x1F, 0x0B, 0x4A, 0x11, 0x60, 0x04, 0x21, 0x0D,
    0x4A, 0x11, 0x70, 0x09, 0x49, 0x01, 0x22, 0x0A, 0x70, 0x09, 0x4A, 0x02, 0x60, 0x02, 0x22, 0x4A,
    0x70, 0x08, 0x49, 0x41, 0x60, 0xF7, 0x46, 0xC5, 0x83, 0x04, 0x00, 0x65, 0x88, 0x04, 0x00, 0x3C,
    0x4E, 0x08, 0x00, 0xD4, 0x62, 0x08, 0x00, 0x70, 0x52, 0x08, 0x00, 0xE4, 0x52, 0x08, 0x00, 0x6D,
    0x64, 0x08, 0x00, 0x77, 0x64, 0x08, 0x00, 0xF2, 0x4F, 0x08, 0x00, 0x70, 0xB5, 0x05, 0x1C, 0x2C,
    0x69, 0xA2, 0x8E, 0x23, 0x8F, 0x93, 0x42, 0x32, 0xDD, 0x2A, 0x48, 0x01, 0x78, 0x60, 0x8D, 0x01,
    0x30, 0x41, 0x43, 0x08, 0x04, 0x00, 0x0C, 0x82, 0x42, 0x29, 0xDA, 0xC6, 0x26, 0x31, 0x5D, 0xC9,
    0x09, 0x25, 0xD1, 0x10, 0x1A, 0x24, 0x49, 0x08, 0x18, 0x83, 0x42, 0x20, 0xDD, 0xC5, 0x20, 0x00,
    0x5D, 0x01, 0x28, 0x01, 0xD0, 0x03, 0x28, 0x1A, 0xD1, 0x30, 0x5D, 0x01, 0x28, 0x05, 0xD1, 0xCE,
    0x21, 0x09, 0x5D, 0x10, 0x29, 0x04, 0xD0, 0x11, 0x29, 0x02, 0xD0, 0x02, 0x28, 0x0A, 0xD0, 0x70,
    0xBD, 0xB5, 0x20, 0x00, 0x5D, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 0x17, 0x4A, 0xFE, 0x44, 0x10,
    0x47, 0x02, 0x20, 0x30, 0x55, 0x16, 0x49, 0x97, 0x20, 0xC0, 0x00, 0x40, 0x18, 0x28, 0x62, 0x70,
    0xBD, 0x01, 0x05, 0xFF, 0xBB, 0xCA, 0x63, 0x08, 0x00, 0xB6, 0x70, 0xB5, 0x02, 0x69, 0xD4, 0x8E,
    0x15, 0x8F, 0xA5, 0x42, 0x19, 0xDD, 0xC8, 0x21, 0x8B, 0x5C, 0x40, 0x21, 0x19, 0x40, 0xDE, 0x11,
    0xF6, 0x01, 0x31, 0x43, 0x11, 0xD1, 0x2C, 0x1B, 0x0C, 0x49, 0x09, 0x78, 0x09, 0x02, 0x8C, 0x42,
    0x0B, 0xDD, 0x02, 0x2B, 0x09, 0xD1, 0xC7, 0x21, 0x89, 0x5C, 0x01, 0x29, 0x01, 0xD0, 0x03, 0x29,
    0x03, 0xD1, 0x08, 0x49, 0x06, 0x4A, 0x51, 0x18, 0x01, 0x62, 0x70, 0xBD, 0x2E, 0x2E, 0x08, 0x00,
    0xFF, 0xFF, 0x00, 0x00, 0xCB, 0xA3, 0x00, 0x00, 0xED, 0x92, 0x00, 0x00, 0xF2, 0x4F, 0x08, 0x00,
    0x82, 0x04, 0x00, 0x00, 0x45, 0x9F, 0x00, 0x00, 0x40, 0x1E, 0x80, 0x00, 0x0B, 0x4B, 0x19, 0x50,
    0x09, 0x49, 0x0A, 0x50, 0xF7, 0x46, 0x00, 0xB5, 0x09, 0x4A, 0x01, 0x8B, 0x91, 0x42, 0x07, 0xD0,
    0x40, 0x69, 0x40, 0x30, 0x2C, 0x21, 0x01, 0x22, 0x96, 0x46, 0x06, 0x4A, 0xFE, 0x44, 0x10, 0x47,
    0x05, 0x48, 0x2B, 0x30, 0x00, 0xBD, 0xC0, 0x46, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x7B, 0x08, 0x00,
    0xD9, 0xFC, 0x00, 0x00, 0x99, 0x94, 0x03, 0x00, 0xF9, 0x8C, 0x00, 0x00, 0xFF, 0xB5, 0x68, 0x46,
    0xFF, 0xF7, 0x70, 0xFF, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xA6, 0xFF, 0xFF, 0xBD,
    0x01, 0x05, 0xFF, 0x8D, 0x78, 0x7B, 0x08, 0x00, 0x88, 0x00, 0xB5, 0xF8, 0xF0, 0x41, 0xFA, 0x00,
    0xBD, 0x37, 0x64, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x01, 0x05, 0xFF, 0x85, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x1E, 0x8D, 0x00, 0x00, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x05, 0xFF, 0xA1, 0x00, 0x00,
    0x18, 0x00, 0x9C, 0xF0, 0xB5, 0x1F, 0x4E, 0x07, 0x22, 0x32, 0x70, 0x10, 0x23, 0x73, 0x70, 0x47,
    0x20, 0xB0, 0x70, 0x01, 0x24, 0xF4, 0x70, 0x03, 0x20, 0x1C, 0x4D, 0x29, 0x1C, 0x01, 0x39, 0xA6,
    0x46, 0x19, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0xB2, 0x78, 0xF3, 0x78, 0x03, 0x20, 0x29, 0x1C, 0xA6,
    0x46, 0x15, 0x4E, 0xFE, 0x44, 0x30, 0x47, 0x03, 0x20, 0x29, 0x1C, 0x01, 0x31, 0xA6, 0x46, 0x13,
    0x4A, 0xFE, 0x44, 0x10, 0x47, 0xA6, 0x46, 0x12, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x12, 0x4B, 0x00,
    0x21, 0x08, 0x1C, 0x1A, 0x68, 0x00, 0x2A, 0x04, 0xD0, 0x02, 0x07, 0x15, 0x0F, 0x22, 0x1C, 0xAA,
    0x40, 0x11, 0x43, 0x02, 0x07, 0x12, 0x0F, 0x0F, 0x2A, 0x05, 0xD1, 0xC5, 0x08, 0x06, 0x22, 0x2A,
    0x40, 0x0A, 0x4D, 0xA9, 0x52, 0x00, 0x21, 0x04, 0x33, 0x01, 0x30, 0x20, 0x28, 0xE9, 0xD3, 0xF0,
    0xBD, 0xC0, 0x46, 0xF8, 0x4F, 0x08, 0x00, 0x7B, 0x88, 0x04, 0x00, 0xC6, 0x05, 0x00, 0x00, 0x65,
    0x88, 0x04, 0x00, 0x0F, 0x63, 0x08, 0x00, 0x80, 0x7B, 0x08, 0x00, 0x84, 0xF3, 0x1A, 0x00, 0x01,
    0x83, 0xFF, 0x14, 0x79, 0x7B, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0C, 0xFD, 0x09, 0x01, 0x00, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0x64, 0x00, 0x01, 0x09, 0xFD, 0x08, 0x58, 0x60, 0x1A, 0x00, 0x00, 0x10, 0x00, 0x10,
    0x01, 0x09, 0xFD, 0x08, 0x10, 0x60, 0x1A, 0x00, 0x10, 0x00, 0x10, 0x00, 0x01, 0x82, 0xFD, 0x14,
    0x00, 0x9C, 0x18, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xDC, 0xE6, 0xF0, 0xFA, 0x04, 0x0E,
    0x18, 0xFF, 0x00, 0x00, 0x01, 0x82, 0xFD, 0x14, 0x01, 0x9C, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE,
    0xCE, 0xCE, 0xD8, 0xE2, 0xEC, 0xF6, 0x00, 0x0A, 0x14, 0xFF, 0x00, 0x00, 0x01, 0x82, 0xFD, 0x14,
    0x02, 0x9C, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xD8, 0xE2, 0xEC, 0xF6, 0x00, 0x0A,
    0x14, 0xFF, 0x00, 0x00, 0x01, 0x87, 0xFD, 0x03, 0x0F, 0x0F, 0x0F, 0x01, 0x76, 0xFD, 0x31, 0x01,
    0x21, 0x54, 0x00, 0x00, 0x61, 0x57, 0x00, 0x00, 0x14, 0x05, 0x0A, 0x05, 0x00, 0x07, 0x06, 0x0A,
    0x04, 0x05, 0x08, 0x09, 0x0B, 0x0C, 0x0D, 0x0E, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
    0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x80, 0xFD, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x80, 0xFD, 0x06, 0x3C, 0xF0,
    0x5F, 0x00, 0x00, 0x00, 0x01, 0x1C, 0xFD, 0x14, 0xFF, 0x88, 0x13, 0x00, 0x00, 0xFF, 0x00, 0x00,
    0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x01, 0x38, 0xFE, 0x00,
    0x01, 0x5B, 0xFD, 0x02, 0x01, 0x01, 0x01, 0xDD, 0xFD, 0x01, 0x01, 0x01, 0x1C, 0xFD, 0x14, 0x01,
    0x88, 0x13, 0x00, 0x00, 0xD0, 0x07, 0x00, 0x00, 0xFF, 0xFF, 0x04, 0xFF, 0xFF, 0xFF, 0xFA, 0x00,
    0x00, 0x00, 0x00, 0x01, 0x2B, 0xFD, 0x05, 0x10, 0x00, 0x50, 0x00, 0x96, 0x01, 0x0C, 0xFD, 0x09,
    0x01, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x64, 0x00
    };


    static unsigned char BasePatch_02[] =
    {
    0x01, 0x36, 0xFF, 0x04, 0x00, 0xC2, 0x01, 0x00, 0x01, 0x37, 0xFE, 0x02, 0x07, 0x10, 0x01, 0x05,
    0xFF, 0xFF, 0xD0, 0x62, 0x08, 0x00, 0xFA, 0x07, 0x10, 0x47, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xB5, 0x22, 0x4D, 0xAE,
    0x7F, 0x01, 0x24, 0xA6, 0x46, 0x1E, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xB0, 0x42, 0xF8, 0xD1, 0x03,
    0x20, 0x17, 0x21, 0x89, 0x01, 0xA6, 0x46, 0x1A, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0xAD, 0x7F, 0xA6,
    0x46, 0x17, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xA8, 0x42, 0xF9, 0xD1, 0xFE, 0xE7, 0x10, 0xB5, 0x16,
    0x49, 0x08, 0x1F, 0x16, 0x4A, 0x10, 0x60, 0x04, 0x22, 0x1E, 0x48, 0x86, 0x30, 0x02, 0x70, 0x17,
    0x48, 0x03, 0x1C, 0x70, 0x3B, 0x01, 0x24, 0x5C, 0x71, 0x12, 0x4C, 0x0C, 0x60, 0x02, 0x24, 0x1C,
    0x70, 0x11, 0x4C, 0x4C, 0x60, 0x03, 0x24, 0x1C, 0x71, 0x10, 0x4B, 0x8B, 0x60, 0x02, 0x70, 0x10,
    0x4A, 0xCA, 0x60, 0x05, 0x22, 0x42, 0x70, 0x0F, 0x4A, 0x0A, 0x61, 0x06, 0x22, 0xC2, 0x73, 0x0E,
    0x4A, 0x4A, 0x61, 0x07, 0x22, 0x01, 0x38, 0x02, 0x70, 0x0D, 0x48, 0x88, 0x61, 0x10, 0xBD, 0xC5,
    0x83, 0x04, 0x00, 0x65, 0x88, 0x04, 0x00, 0x3C, 0x4E, 0x08, 0x00, 0xD8, 0x62, 0x08, 0x00, 0x70,
    0x52, 0x08, 0x00, 0x73, 0x67, 0x08, 0x00, 0x9B, 0x67, 0x08, 0x00, 0x7D, 0x67, 0x08, 0x00, 0xE4,
    0x52, 0x08, 0x00, 0x91, 0x67, 0x08, 0x00, 0x87, 0x67, 0x08, 0x00, 0xA5, 0x67, 0x08, 0x00, 0x69,
    0x67, 0x08, 0x00, 0x6C, 0x4F, 0x08, 0x00, 0xF7, 0x46, 0xFC, 0xB5, 0x05, 0x1C, 0xAF, 0x69, 0xA8,
    0x8A, 0x00, 0x90, 0x6A, 0x49, 0x88, 0x42, 0x30, 0xD1, 0x21, 0x20, 0xC0, 0x5D, 0x06, 0x1C, 0x00,
    0x28, 0x01, 0x05, 0xFF, 0xFF, 0xCA, 0x63, 0x08, 0x00, 0xFA, 0x2B, 0xD0, 0xFF, 0x28, 0x29, 0xD0,
    0x38, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0x65, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x38, 0x1C, 0x03, 0x21,
    0xA6, 0x46, 0x63, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x01, 0x90, 0x62, 0x48, 0x01, 0x1C, 0x04, 0x39,
    0x0E, 0x80, 0x02, 0x21, 0xA6, 0x46, 0x60, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x28, 0x07, 0xD1,
    0x01, 0x98, 0x70, 0x43, 0x5D, 0x49, 0x08, 0x60, 0xA6, 0x46, 0x5D, 0x49, 0xFE, 0x44, 0x08, 0x47,
    0x38, 0x1C, 0x00, 0x99, 0x00, 0x22, 0xA6, 0x46, 0x5A, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x5A, 0x48,
    0x9E, 0x30, 0x28, 0x62, 0xFC, 0xBD, 0x01, 0x7D, 0x7B, 0x29, 0x0A, 0xD1, 0x80, 0x69, 0x01, 0x78,
    0x03, 0x29, 0x06, 0xD1, 0x31, 0x21, 0xC9, 0x43, 0x05, 0x22, 0x12, 0x56, 0x8A, 0x42, 0x00, 0xDD,
    0x41, 0x71, 0xF7, 0x46, 0x70, 0xB5, 0x05, 0x1C, 0x2C, 0x69, 0xA2, 0x8E, 0x23, 0x8F, 0x93, 0x42,
    0x32, 0xDD, 0x4E, 0x48, 0x01, 0x78, 0x60, 0x8D, 0x01, 0x30, 0x41, 0x43, 0x08, 0x04, 0x00, 0x0C,
    0x82, 0x42, 0x29, 0xDA, 0xC6, 0x26, 0x31, 0x5D, 0xC9, 0x09, 0x25, 0xD1, 0x10, 0x1A, 0x48, 0x49,
    0x08, 0x18, 0x83, 0x42, 0x20, 0xDD, 0xC5, 0x20, 0x00, 0x5D, 0x01, 0x28, 0x01, 0xD0, 0x03, 0x28,
    0x1A, 0xD1, 0x30, 0x5D, 0x01, 0x28, 0x05, 0xD1, 0xCE, 0x21, 0x09, 0x5D, 0x10, 0x29, 0x04, 0xD0,
    0x11, 0x29, 0x02, 0xD0, 0x02, 0x28, 0x0A, 0xD0, 0x70, 0xBD, 0xB5, 0x20, 0x00, 0x5D, 0x00, 0x21,
    0x01, 0x22, 0x96, 0x46, 0x3B, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x02, 0x20, 0x30, 0x55, 0x3A, 0x49,
    0x97, 0x20, 0xC0, 0x00, 0x40, 0x18, 0x28, 0x62, 0x70, 0xBD, 0x70, 0xB5, 0x02, 0x69, 0xD4, 0x8E,
    0x15, 0x8F, 0xA5, 0x42, 0x01, 0x05, 0xFF, 0xFF, 0xC4, 0x64, 0x08, 0x00, 0xFA, 0x1A, 0xDD, 0xC8,
    0x21, 0x8B, 0x5C, 0x40, 0x21, 0x19, 0x40, 0xDE, 0x11, 0xF6, 0x01, 0x31, 0x43, 0x12, 0xD1, 0x2C,
    0x1B, 0x28, 0x49, 0x86, 0x31, 0x09, 0x78, 0x09, 0x02, 0x8C, 0x42, 0x0B, 0xDD, 0x02, 0x2B, 0x09,
    0xD1, 0xC7, 0x21, 0x89, 0x5C, 0x01, 0x29, 0x01, 0xD0, 0x03, 0x29, 0x03, 0xD1, 0x2A, 0x49, 0x29,
    0x4A, 0x51, 0x18, 0x01, 0x62, 0x70, 0xBD, 0x10, 0xB5, 0x28, 0x49, 0x29, 0x4A, 0x13, 0x32, 0x1F,
    0x20, 0x00, 0x23, 0x01, 0x24, 0xA6, 0x46, 0x27, 0x4C, 0xFE, 0x44, 0x20, 0x47, 0x10, 0xBD, 0x10,
    0xB5, 0x25, 0x49, 0x26, 0x4A, 0x5D, 0x32, 0x1F, 0x20, 0x00, 0x23, 0x01, 0x24, 0xA6, 0x46, 0x21,
    0x4C, 0xFE, 0x44, 0x20, 0x47, 0x10, 0xBD, 0x10, 0xB5, 0x16, 0x4B, 0x1B, 0x78, 0x40, 0x8D, 0x01,
    0x30, 0x43, 0x43, 0x1C, 0x04, 0x24, 0x0C, 0x14, 0x4B, 0x91, 0x42, 0x07, 0xDB, 0x88, 0x1A, 0x19,
    0x1B, 0x88, 0x42, 0x0C, 0xDD, 0x01, 0x21, 0x09, 0x04, 0x40, 0x1A, 0x10, 0xBD, 0xA1, 0x42, 0x02,
    0xDA, 0x18, 0x1B, 0x82, 0x42, 0x01, 0xDC, 0x88, 0x1A, 0x10, 0xBD, 0x88, 0x1A, 0x18, 0x18, 0x10,
    0xBD, 0x06, 0xFD, 0x00, 0x00, 0xB1, 0x2F, 0x00, 0x00, 0x65, 0x2A, 0x00, 0x00, 0x04, 0x50, 0x1A,
    0x00, 0x6B, 0xF7, 0x04, 0x00, 0x6C, 0x4F, 0x08, 0x00, 0xCD, 0x16, 0x03, 0x00, 0xA9, 0x25, 0x05,
    0x00, 0x7D, 0x5E, 0x00, 0x00, 0x2E, 0x2E, 0x08, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xCB, 0xA3, 0x00,
    0x00, 0xED, 0x92, 0x00, 0x00, 0x82, 0x04, 0x00, 0x00, 0x45, 0x9F, 0x00, 0x00, 0xE7, 0x65, 0x08,
    0x00, 0xA9, 0x86, 0x00, 0x00, 0xB9, 0x65, 0x08, 0x00, 0x77, 0x66, 0x08, 0x00, 0xAD, 0x99, 0x00,
    0x00, 0x40, 0x1E, 0x80, 0x00, 0x58, 0x4B, 0x01, 0x05, 0xFF, 0xFF, 0xBE, 0x65, 0x08, 0x00, 0xFA,
    0x19, 0x50, 0x56, 0x49, 0x0A, 0x50, 0xF7, 0x46, 0x00, 0xB5, 0x56, 0x4A, 0x01, 0x8B, 0x91, 0x42,
    0x07, 0xD0, 0x40, 0x69, 0x40, 0x30, 0x2C, 0x21, 0x01, 0x22, 0x96, 0x46, 0x53, 0x4A, 0xFE, 0x44,
    0x10, 0x47, 0x52, 0x48, 0x2B, 0x30, 0x00, 0xBD, 0xFC, 0xB5, 0x07, 0x1C, 0x7D, 0x69, 0xB8, 0x20,
    0x41, 0x5D, 0x4F, 0x4A, 0x01, 0x29, 0x05, 0xD1, 0xC7, 0x26, 0x71, 0x5D, 0x01, 0x29, 0x05, 0xD0,
    0x03, 0x29, 0x03, 0xD0, 0x78, 0x60, 0x10, 0x1C, 0x15, 0x30, 0xFC, 0xBD, 0x00, 0x24, 0xC0, 0x20,
    0x44, 0x55, 0x70, 0x5D, 0x01, 0x90, 0x74, 0x55, 0x28, 0x1C, 0x01, 0x21, 0x8E, 0x46, 0x45, 0x49,
    0xFE, 0x44, 0x08, 0x47, 0x01, 0x98, 0x70, 0x55, 0xBF, 0x26, 0x70, 0x5D, 0x01, 0x28, 0x1F, 0xD1,
    0xE9, 0x8E, 0x2A, 0x8F, 0x28, 0x1C, 0x01, 0x23, 0x9E, 0x46, 0x3F, 0x4B, 0xFE, 0x44, 0x18, 0x47,
    0x03, 0x04, 0x1B, 0x0C, 0x04, 0x2B, 0x06, 0xDD, 0x6C, 0x8D, 0xD8, 0x1E, 0x84, 0x42, 0x06, 0xDB,
    0x04, 0x04, 0x24, 0x0C, 0x03, 0xE0, 0x03, 0x21, 0xC0, 0x20, 0x41, 0x55, 0x74, 0x55, 0x00, 0x94,
    0xE9, 0x8E, 0x2A, 0x8F, 0xA7, 0x20, 0x01, 0x25, 0xAE, 0x46, 0x34, 0x4D, 0xFE, 0x44, 0x28, 0x47,
    0xBC, 0x61, 0x2F, 0x48, 0x2B, 0x30, 0xFC, 0xBD, 0x01, 0x1C, 0x0A, 0x7B, 0x31, 0x48, 0x00, 0x2A,
    0x02, 0xD0, 0xC9, 0x69, 0x02, 0x29, 0x01, 0xD1, 0x63, 0x30, 0xF7, 0x46, 0x2E, 0x49, 0x43, 0x39,
    0x08, 0x18, 0xF7, 0x46, 0x10, 0xB5, 0x01, 0x6A, 0x2C, 0x4A, 0x12, 0x68, 0x92, 0x88, 0x12, 0x13,
    0x92, 0x07, 0x93, 0x0F, 0x2A, 0x4A, 0x02, 0x2B, 0x01, 0xD0, 0x13, 0x88, 0x00, 0xE0, 0x03, 0x8B,
    0x44, 0x68, 0x0C, 0x19, 0x44, 0x60, 0x83, 0x61, 0x48, 0x88, 0x01, 0x05, 0xFF, 0xFB, 0xB8, 0x66,
    0x08, 0x00, 0xF6, 0x18, 0x1A, 0x10, 0x80, 0x24, 0x48, 0xE7, 0x30, 0x10, 0xBD, 0x70, 0xB5, 0x05,
    0x1C, 0x68, 0x68, 0x00, 0x28, 0x1A, 0xD1, 0x21, 0x4E, 0x35, 0x20, 0x00, 0x01, 0x84, 0x19, 0x20,
    0x68, 0x01, 0x21, 0x8E, 0x46, 0x1F, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x20, 0x7F, 0x00, 0x28, 0x0D,
    0xD0, 0x1D, 0x48, 0x00, 0x78, 0x02, 0x28, 0x09, 0xD0, 0xE0, 0x7F, 0x50, 0x21, 0x41, 0x43, 0x71,
    0x18, 0x48, 0x8E, 0x01, 0x30, 0x48, 0x86, 0x60, 0x8A, 0x01, 0x38, 0x60, 0x82, 0x00, 0x20, 0x10,
    0x49, 0x08, 0x60, 0x01, 0x20, 0x86, 0x46, 0x14, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x68, 0x60, 0x13,
    0x48, 0x65, 0x30, 0x70, 0xBD, 0xC0, 0x46, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x7B, 0x08, 0x00, 0xD9,
    0xFC, 0x00, 0x00, 0x99, 0x94, 0x03, 0x00, 0xF9, 0x8C, 0x00, 0x00, 0xA9, 0x86, 0x00, 0x00, 0x15,
    0x86, 0x00, 0x00, 0x2F, 0x65, 0x08, 0x00, 0xA1, 0x8B, 0x04, 0x00, 0xAD, 0x99, 0x00, 0x00, 0xC6,
    0x05, 0x00, 0x00, 0xD4, 0x48, 0x08, 0x00, 0xD4, 0x62, 0x08, 0x00, 0x55, 0xDE, 0x02, 0x00, 0x84,
    0x45, 0x08, 0x00, 0xA3, 0x56, 0x05, 0x00, 0xCE, 0x0F, 0x08, 0x00, 0x29, 0x19, 0x02, 0x00, 0x0F,
    0x1A, 0x02, 0x00, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xD3, 0xFE, 0xFF, 0xBD, 0xFF, 0xB5, 0x68,
    0x46, 0xFF, 0xF7, 0x56, 0xFE, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x17, 0xFE, 0xFF,
    0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x96, 0xFE, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF,
    0xF7, 0x56, 0xFE, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x07, 0xFE, 0xFF, 0xBD, 0xFF,
    0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xA9, 0xFE, 0xFF, 0xBD, 0x01, 0x05, 0xFF, 0x8D, 0x78, 0x7B, 0x08,
    0x00, 0x88, 0x00, 0xB5, 0xF8, 0xF0, 0x41, 0xFA, 0x00, 0xBD, 0xC7, 0x65, 0x08, 0x00, 0x93, 0x66,
    0x08, 0x00, 0xC3, 0x66, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0xE7, 0x65, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x05, 0xFF, 0x85, 0x04, 0xF3,
    0x1A, 0x00, 0x80, 0x1E, 0x8D, 0x00, 0x00, 0x3A, 0xDF, 0x02, 0x00, 0x3A, 0x1A, 0x02, 0x00, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBC, 0x86, 0x00, 0x00, 0xFF,
    0xFF, 0xFF, 0xFF, 0x01, 0x05, 0xFF, 0xAD, 0x00, 0x00, 0x18, 0x00, 0xA8, 0xF0, 0xB5, 0x21, 0x4E,
    0x07, 0x22, 0x32, 0x70, 0x10, 0x23, 0x73, 0x70, 0x47, 0x20, 0xB0, 0x70, 0x05, 0x20, 0xF0, 0x70,
    0x03, 0x20, 0x1E, 0x4D, 0x29, 0x1C, 0x01, 0x39, 0x01, 0x24, 0xA6, 0x46, 0x1A, 0x4F, 0xFE, 0x44,
    0x38, 0x47, 0xB2, 0x78, 0xF3, 0x78, 0x03, 0x20, 0x29, 0x1C, 0xA6, 0x46, 0x16, 0x4E, 0xFE, 0x44,
    0x30, 0x47, 0x03, 0x20, 0x29, 0x1C, 0x01, 0x31, 0xA6, 0x46, 0x15, 0x4A, 0xFE, 0x44, 0x10, 0x47,
    0xA6, 0x46, 0x14, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x13, 0x4B, 0x00, 0x21, 0x08, 0x1C, 0x1A, 0x68,
    0x00, 0x2A, 0x04, 0xD0, 0x02, 0x07, 0x15, 0x0F, 0x22, 0x1C, 0xAA, 0x40, 0x11, 0x43, 0x02, 0x07,
    0x12, 0x0F, 0x0F, 0x2A, 0x05, 0xD1, 0xC5, 0x08, 0x06, 0x22, 0x2A, 0x40, 0x0B, 0x4D, 0xA9, 0x52,
    0x00, 0x21, 0x04, 0x33, 0x01, 0x30, 0x20, 0x28, 0xE9, 0xD3, 0x3F, 0x20, 0x08, 0x49, 0x08, 0x70,
    0xF0, 0xBD, 0xC0, 0x46, 0xF8, 0x4F, 0x08, 0x00, 0x7B, 0x88, 0x04, 0x00, 0xC6, 0x05, 0x00, 0x00,
    0x65, 0x88, 0x04, 0x00, 0x27, 0x63, 0x08, 0x00, 0x80, 0x7B, 0x08, 0x00, 0x84, 0xF3, 0x1A, 0x00,
    0xBF, 0x11, 0x08, 0x00, 0x01, 0x83, 0xFF, 0x14, 0x79, 0x7B, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0C, 0xFD, 0x09,
    0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x64, 0x00, 0x01, 0x09, 0xFD, 0x08, 0x58, 0x60, 0x1A,
    0x00, 0x00, 0x10, 0x00, 0x10, 0x01, 0x09, 0xFD, 0x08, 0x10, 0x60, 0x1A, 0x00, 0x10, 0x00, 0x10,
    0x00, 0x01, 0x82, 0xFD, 0x14, 0x00, 0x9C, 0x18, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xD2, 0xDC,
    0xE6, 0xF0, 0xFA, 0x04, 0x0E, 0x18, 0xFF, 0x00, 0x00, 0x01, 0x82, 0xFD, 0x14, 0x01, 0x9C, 0xCE,
    0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xD8, 0xE2, 0xEC, 0xF6, 0x00, 0x0A, 0x14, 0xFF, 0x00,
    0x00, 0x01, 0x82, 0xFD, 0x14, 0x02, 0x9C, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xCE, 0xD8,
    0xE2, 0xEC, 0xF6, 0x00, 0x0A, 0x14, 0xFF, 0x00, 0x00, 0x01, 0x87, 0xFD, 0x03, 0x0D, 0x0E, 0x0E,
    0x01, 0x76, 0xFD, 0x31, 0x01, 0x21, 0x54, 0x00, 0x00, 0x61, 0x57, 0x00, 0x00, 0x14, 0x05, 0x0A,
    0x05, 0x00, 0x07, 0x06, 0x0A, 0x04, 0x05, 0x08, 0x09, 0x0B, 0x0C, 0x0D, 0x0E, 0x10, 0x10, 0x10,
    0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
    0x10, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0xFD, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01,
    0x80, 0xFD, 0x06, 0x3C, 0xF0, 0x5F, 0x00, 0x00, 0x00, 0x01, 0x1C, 0xFD, 0x14, 0xFF, 0x88, 0x13,
    0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0xFF, 0xFF,
    0x00, 0x01, 0x38, 0xFE, 0x00, 0x01, 0x5B, 0xFD, 0x02, 0x01, 0x01, 0x01, 0xDD, 0xFD, 0x01, 0x01,
    0x01, 0x1C, 0xFD, 0x14, 0x01, 0x88, 0x13, 0x00, 0x00, 0xD0, 0x07, 0x00, 0x00, 0xFF, 0xFF, 0x04,
    0xFF, 0xFF, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x01, 0x2B, 0xFD, 0x05, 0x10, 0x00, 0x50, 0x00,
    0x96, 0x01, 0x0C, 0xFD, 0x09, 0x01, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x64, 0x00
    };

    Please advise.

    Thank you again and best regards,
    Sorin.
  • Hi,

    What is the stack you are using? and are you using CC256x or CC256xB?
    Could you please provide me firmware logs?
  •     Hi Sundeep,

    I do not use any BLE Stack. I work directly with HCI commands from an AVR xMega (I could not find any BLE Stack for xmega).

    The log for get_local_ver is :
    -
    TX: 01 01 10 00
    RX: 04 0E 0C 01 01 10 06 06 0D 0F 1B

    0d 0F -> Manufacturer name (0d represent TI in Bluetooth assigned numbers site)
    0F 1B -> LMP subversion.

    Please see all the events received from the device at the beginning of my post

    Thank you and best regards,

    Sorin.

  • Hi,

    From the LMP subversion (0x1B0F) it looks like you are using CC256xA device, Could you please try with the Service pack version 2.14.
    see http://processors.wiki.ti.com/index.php/CC256x_Downloads
  •          Hi Sundeep,

    According to the Download Page, there are 2 packages with version 2.14 :

    - for CC2560A Classic Bluetooth ( CC2560A_BT_SP_BTS.zip)

    - for CC2564   Classic Bluetooth and BLE (CC2564 BT BLE SP BTS.zip)

    Is the BLE (CC2564 BT BLE SP BTS.zip) Service Pack good for my device subversion (0x1B0F) ?

    If my device is a CC256xA, does it mean it has only Classic Bluetooth and not also BLE ? (I need BLE for my application)

    Please advise !

    Meanwhile, I've downloaded it and created the header files.

    The array is huge (about 1150 bytes) , i have a Data Memory overflow and try to solve the problem.

    Thank you,

    Sorin.

  • Hi Sundeep,

    According to the Download Page, there are 2 packages with version 2.14 :

    - for CC2560A Classic Bluetooth ( CC2560A_BT_SP_BTS.zip)

    - for CC2564 Classic Bluetooth and BLE (CC2564 BT BLE SP BTS.zip)

    Is the BLE (CC2564 BT BLE SP BTS.zip) Service Pack good for my device subversion (0x1B0F) ?

    If my device is a CC256xA, does it mean it has only Classic Bluetooth and not also BLE ? (I need BLE for my application)

    I've sent the sequence obtained from "bluetooth_init_cc2564_2.14.bts" file contained in CC2564 BT BLE SP BTS.zip and
    the event received is : '04 0E 04 01 0C FD 30'

    No events received after the rest of the HCI commands.

    Please advise !

    Thank you,

    Sorin.
  • Hi,

    If you are using CC2560 then it is only BT, But it looks like you are using CC2564 so it has both BT and BLE.

    See the below table from the data sheet

  •        Hi,

    According to TI documentation "Bluetooth and MSP430™ Audio Reference Design Quick Start Guide"

    - all CC256xA devices have the LMP_subversion = 0x1B0F

    - all CC256xB devices have the LMP_subversion = 0x1B90

    So, due to the fact that my device responded with :

    RX: 04 0E 0C 01 01 10 06 06 0D 0F 1B

    0d 0F -> Manufacturer name (0d represent TI in Bluetooth assigned numbers site)

    0F 1B -> LMP subversion.

    it's a CC256xA, so only classic BT.  We have to change the "Panasonic wrapper"  with another one containing a CC2564 or a CC2564B

    Thanks again and best regards,

    Sorin.

  • Hi Sundeep,
    Where can I find a definitive list of LMP subversions?

    David Henry
  • Hi,

    See the "Read Local Version Information Command" in the Bluetooth specification. This value is implementation dependent.

    For CC256x . LMP subversion for CC256xB is 0x1B90(instead of 0x1B0F for CC256xA)
  • Hi,

    I am currently facing a similar kind of problem as mentioned previously in this post. I am trying to configure CC2564 bluetooth module and make it discoverable to nearby devices. The relevant service pack has been dumped. I am using TM4c123GH6PM as a host to CC2564. I wanted to know format of the vendor specific events, like make discoverable (0xFE06) etc, which were not specified here (processors.wiki.ti.com/.../CC256x_VS_HCI_Commands). The module is not showing up on any nearby devices even though i am sending inquiry scan enable command.
    Kindly help me with this issue.
    Thanks in advance.
  • Hi Venugopal,

    These are standard BT spec commands, and not vendor specific ones - hence you won't find it in the above wiki page.

    First, please verify if you are using the proper service pack. If you are using the CC256x"B" version of device, then make sure that you enable "__SUPPORT_CC256XB_PATCH__" define in the project settings. Otherwise, this is not required.

    Secondly, can you please confirm how you are setting the device in discoverable mode? Which app are you trying for this? How are you enabling page scan? If you are running a sample app, you can use "SetDisoverabilityMode" command. Eventually, it will send the "HCI_Write_Scan_Enable" command to the device. For information on the parameters, please refer to the BT Spec.

    Regards,
    Gigi Joseph.
  • Hi Joseph,

    Thanks a lot for your reply. I am using pan1323etu which has pan1326-CC2564 module. So, i downloaded the relevant service pack from CC2564 downloads (CC2564 BT BLE SP BTS.zip). The zip file has four .bts files among which i am using bluetooth_init_cc2564_2.1.bts. Please guide me if I m going wrong in downloading service pack.

    As of now i am not using any pre-compiled stack but I am simply communicating with uart on TM4C123G microcontroller. For an inquiry command (0x0401) I could receive Inquiry result from the remote device. But the issue is device discovery, as I could not find my module in the list of devices on the remote device.

    Please help me out with this issue in pairing my mobile phone with pan1326 module.

    Thank you

    Best Regards,
    Venugopal
  • Hi Joseph,

    Also kindly let me know where can I find the BT spec commands like SetDiscoverable, MakeBondable., etc,.

    Should i need to code upper layers like L2CAP, GAP over HCI for device discovery? Is it not possible with HCI commands?

    I am simply trying to find the local name of the BT module on a nearby android phone.

    Best Regards,
    Venugopal.
  • Hi Venugopal,

    The best place to look for it is in the BT Spec.
    You can also download the stack and check what HCI Commands are being sent for the above scenario.

    For Eg:

    SetDiscoverable: HCI_Write_Scan_Enable,
    MakeBondable: There is no specific HCI command for this, the stack handles this. If you want to enable SSP, then you should send HCI_Write_Simple_Pairing_Mode


    If you are looking for just device discovery, then you can as well send HCI commands (no need for the stack)
    For a remote device to discover your device, you must enable page scan (via HCI_Write_Scan_Enable command).
    For more informaton on the command parameters, please see the BT Spec.

    Regards,
    Gigi Joseph.
  • Hi Joseph,

    Thanks a lot for the information. Also would you please guide me through the process of selecting and dumping the service pack into the CC2564 module. As I previously mentioned, I have downloaded the zip file (CC2564_BT_BLE_SP_BTS.zip) which has four .bts files. I wanted to know which file to use, are service packs application specific or module specific?

    Best Regards,
    Venugopal
  • Hi Venugopal,

    You should be using the bluetooth_init_cc2564_2.14.bts service pack.

    Regards,
    Gigi Joseph.
  • Hi Joseph,

    Thanks you for letting me know. Along side with TM4C123G, i am using MSP430F5438 development kit with pan 1323etu(CC2564). I am trying to run SPPDemo from TI bluetopia stack. Even though the stack is being initializing on teraterm, I could not find any device on my apple phone when I perform inquiry(inquiry commands from both server and client roles).

    Please let me know the possible mistakes I might be doing and kindly correct the same.

    Best Regards,
    Venugopal
  • Hi Venugopal,

    On the TM4C123G, you should be issuing the "SetDiscoverabilityMode" command (and not Inquiry). Inquiry is used to inquire for other devices that are discoverable. Since you want to discover other devices from phone, you should enable discoverable on the CC256x device.

    Please also ensure that the correct SP is downloaded (__SUPPORT_CC256XB_PATCH__ is not defined)

    Regards,
    Gigi Joseph.
  • Hello Joseph,

    Thank you for the suggestion. I have ordered the MSP430F5348 development board recently. With the help of CCS 6.0.1, I am trying to run SSP Demo for PAN1323etu (CC2564). I could see the bluetooth stack initialization sucess on teraterm, but I could not see any device poping up on my android phone when I issue setDiscoverability command in both server and client setups. Kindly help me out with this issue.

    Also can you suggest me a procedure which involves HCI layer commands for making the pan1323etu discoverable(general), as no devices will be in discoverable state by default. i am trying to code a mini HCI and GAP stack on the host side. Kindly help me out with this issue as well.

    Thanks again for your support and time.

    Best Regards,
    Venugopal
  • Hi Venugopal,

    I'm trying to do an inquiry command with the CC2564 with the 0x0401, but I'm not able to get a response.
    Can you explain me what command that you used and what LAP you used?

    It would be a big help for me!
    Thanks in advance,
    David