1 /* 2 * Copyright (C) 2015-2018 Alibaba Group Holding Limited 3 */ 4 5 #ifndef __AWSS_BEACON_ANNOUNCE_H__ 6 #define __AWSS_BEACON_ANNOUNCE_H__ 7 8 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */ 9 extern "C" { 10 #endif 11 12 #if defined(AWSS_SUPPORT_DISCOVER) 13 int aws_discover_send_beacon(void); 14 int aws_discover_callback(uint8_t *mgmt_header, int len, int link_type, 15 struct parser_res *res, signed char rssi); 16 #endif 17 18 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */ 19 } 20 #endif 21 #endif 22