Hey guys,
Sorry, this is a little embarrassing, but we're still a little confused as to why there are two ways of setting the deviceName; deviceName[] and attDeviceName, below. Any help clearing it up for us? Thank you in advance... sorry, it's probably simple, but having a hard time finding the answer.
Also, any pointers to how we get our own VendorID (other than TI) for an actual released product?
Thanks,
Brian
// GAP - SCAN RSP data (max size = 31 bytes)
static uint8 deviceName[] =
{
// complete name
0x0b, // length of first data structure (11 bytes excluding length byte)
0x09, // AD Type = Complete local name
0x4b, // 'K'
0x65, // 'e'
0x79, // 'y'
0x66, // 'f'
0x6f, // 'o'
0x62, // 'b'
0x64, // 'd'
0x65, // 'e'
0x6d, // 'm'
0x6f, // 'o'
};
// GAP GATT Attributes
static uint8 attDeviceName[GAP_DEVICE_NAME_LEN] = "TI BLE Keyfob";