1 #ifndef __GENIE_SAL_BLE_H__
2 #define __GENIE_SAL_BLE_H__
3 
4 #define GENIE_HAL_BLE_SEND_MAX_DATA_LEN (92)
5 #define GENIE_HAL_BLE_SCAN_TIMEOUT (5000)
6 
7 extern uint8_t g_mesh_log_mode;
8 
9 typedef void (*genie_sal_ble_get_rssi_cb)(unsigned char mac[], int16_t rssi);
10 int genie_sal_ble_get_rssi(uint8_t mac[], genie_sal_ble_get_rssi_cb get_rssi_callback, uint32_t timeout);
11 int genie_sal_ble_send_msg(uint8_t element_id, uint8_t *p_data, uint8_t len);
12 int genie_sal_ble_set_factory_flag(void);
13 int genie_sal_ble_init(void);
14 
15 #endif
16