Hi,
In the demo project advertising is specified in the "simpleBLEPeripheral.c" as:
static uint8 advertData[B_MAX_ADV_LEN] =
{
0x02, // length of this data
0x01, // AD Type = Flags
0x05, // Limited Discoverable (advertises for 30 seconds at a time)
// and BR/EDR Not Supported
};
What is the data format of these fields? I found the Flag field definition in the Bluetooth spec. but the last field (0x05) I haven't found.
Can I change the advertise time? I tried to change it to 0x04 and 0x06, but that resulted in a indefinite advertise time.
Regards,
Niels