Tool/software:
Hello, I have a question.
I am currently using the CC2640R2F central example, and the target I am trying to connect is a device based on the CC2640R2F peripheral.
This is the scan structure of the Bluetooth peripheral.
static uint8 advertData[32] =
{
8, // length of this data
GAP_ADTYPE_LOCAL_NAME_COMPLETE,
'G','F','M','-','4','0','0',
};
// Scan Response Data
static uint8_t scanRspData[] =
{
0x02, // length of this data
GAP_ADTYPE_FLAGS,
GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,
// 25 byte beacon advertisement data
// Preamble: Company ID - 0x000D for TI, refer to www.bluetooth.org/.../company-identifiers
// Data type: Beacon (0x02)
// Data length: 0x15
// UUID: 00000000-0000-0000-0000-000000000000 (null beacon)
// Major: 1 (0x0001)
// Minor: 1 (0x0001)
// Measured Power: -59 (0xc5)
0x15, // length of this data including the data type byte
GAP_ADTYPE_MANUFACTURER_SPECIFIC, // manufacturer specific adv data type
0x4c, // Company ID - Fixed --> 0x4c (IOS)
0x00, // Company ID - Fixed
0x02, // Data Type - Fixed
0x15, // Data Length - Fixed
0x00, // UUID - Variable based on different use cases/applications
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x01, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID
0x00, // UUID 24
0x00, // UUID
0x00, // UUID
0x00, // UUID
};
The problem is that the central device is not scanning the peripheral devices. Is there a way to fix this?