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.

CCS/CC2650: Multi-role not advertising

Part Number: CC2650
Other Parts Discussed in Thread: CC2540, CC2640

Tool/software: Code Composer Studio

Hi, 

I need to modify the multi-role example (github.com/.../ble_examples-2.2).

My first test is:

- CC2650 Launch Pad

- Multi-role example original

Advertising OK

Second test

- CC2650 Launch Pad

- Multi-role example modified to advertise 26 bytes

NOT ADVERTISING

I have a new clean installation of CCS 6.2 and stack 2.02.01.18. No other stacks installed. CCS 6.2 with ARM compiler 5.2.6

Could you please tell me how can I make this work?

The only part of code I changed is the following:

// GAP - Advertisement data (max size = 31 bytes, though this is
// best kept short to conserve power while advertisting)
uint8 advertData[] =
{

// Flags; this sets the device to use limited discoverable
// mode (advertises for 30 seconds at a time) instead of general
// discoverable mode (advertises indefinitely)
0x02, // length of this data
GAP_ADTYPE_FLAGS,
DEFAULT_DISCOVERABLE_MODE | GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,


0x16, // length of this data (22 bytes)
0xFF, // Manufacturer specific
0x41,
1, 
0,0,0,0,0,0, 
0, 
0,0,0,0,0,0,0,0,0,0,0,0

};