Compare commits
1 Commits
dev
...
dev-ai-con
| Author | SHA1 | Date |
|---|---|---|
|
|
a168fb659c |
|
|
@ -1 +1,3 @@
|
|||
* @hyson710 @gzh-terry @chengkai15 @huangyulong3 @zhongzhijie1 @zhangyuan376
|
||||
# AI contest 2026 branch — reviews restricted to the contest team.
|
||||
# Do NOT copy this file to other branches.
|
||||
* @open-vela/dev-ai-contest-reviewer
|
||||
|
|
|
|||
|
|
@ -56,12 +56,8 @@ void scan_record_parse(scan_record_t* record, const uint8_t* eir_data, uint8_t e
|
|||
data_len = field_len - 1;
|
||||
|
||||
switch (eir_data[1]) {
|
||||
case BT_EIR_UUID16_INCOMPLETE:
|
||||
case BT_EIR_UUID16_COMPLETE:
|
||||
case BT_EIR_SVC_DATA_16:
|
||||
if (data_len >= 2) {
|
||||
record_parse_uuid16(record, data, data_len);
|
||||
}
|
||||
record_parse_uuid16(record, data, data_len);
|
||||
break;
|
||||
|
||||
/* TODO: handle other eir data */
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define BT_EIR_UUID16_INCOMPLETE 0x02 // 16-bit UUID, more available
|
||||
#define BT_EIR_UUID16_COMPLETE 0x03 // 16-bit UUID, all listed
|
||||
#define BT_EIR_SVC_DATA_16 0x16 // 16-bit UUID
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue