lin
2025-08-21 57113df3a0e2be01232281fad9a5f2c060567981
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/******************************************************************************
 *
 *  Copyright (C) 2020-2021 SeekWave Technology
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *
 ******************************************************************************/
#ifndef __SKW_EXT_H__
#define __SKW_EXT_H__
 
#define BLE_ADV_WAKEUP_ENABLE 1
 
 
 
#define BLE_ADV_WAKEUP_GRP_NUMS 3
 
typedef struct
{
    uint8_t grp_len;
    uint8_t addr_offset;
    uint8_t data[32];
    uint8_t mask[32];
} Wakeup_ADV_Grp_St;
 
typedef struct
{
    uint8_t gpio_no;
    uint8_t level;
    uint8_t data_len;//total len
    uint8_t grp_nums;
    Wakeup_ADV_Grp_St adv_group[BLE_ADV_WAKEUP_GRP_NUMS];
} Wakeup_ADV_Info_St;
 
 
void skw_ext_inotify_thread_init(void);
 
void skw_ext_inotify_thread_exit(void);
 
 
 
#endif