1 /* 2 * Copyright (C) 2019-2020 Alibaba Group Holding Limited 3 */ 4 5 #ifndef _BT_IBECONS_H_ 6 #define _BT_IBECONS_H_ 7 8 9 typedef struct _beacon_info { 10 uint8_t id[2]; 11 uint8_t type[2]; 12 uint8_t uuid[16]; 13 uint8_t major[2]; 14 uint8_t minor[2]; 15 uint8_t measure_power; 16 } beacon_info; 17 18 19 int ibeacon_start(uint8_t _id[2], uint8_t _uuid[16], uint8_t _major[2], uint8_t _minor[2], uint8_t 20 _measure_power, char *_sd); 21 22 23 24 int ibeacon_stop(void); 25 26 27 28 29 #endif 30