Reworked BLE according to v0.11 of the KTag Beacon Specification #2
1 changed files with 0 additions and 4 deletions
|
@ -326,10 +326,6 @@ void BLE_UpdateHelloPacket()
|
|||
{
|
||||
strcpy(device_name, "Anonymous");
|
||||
}
|
||||
size_t len = strlen(device_name);
|
||||
if (len < sizeof(device_name)) {
|
||||
memset(device_name + len, 0x00, sizeof(device_name) - len);
|
||||
}
|
||||
|
||||
Advertising_Data.length = BLE_KTAG_PACKET_TOTAL_SIZE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue