/********************************** (C) COPYRIGHT ******************************* * File Name : rf_phy.h * Author : WCH * Version : V1.0 * Date : 2018/11/12 * Description : ********************************************************************************* * Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. * Attention: This software (modified or not) and binary are used for * microcontroller manufactured by Nanjing Qinheng Microelectronics. *******************************************************************************/ #ifndef RF_PHY_H #define RF_PHY_H #ifdef __cplusplus extern "C" { #endif #define SBP_RF_START_DEVICE_EVT 1 #define SBP_RF_PERIODIC_EVT 2 #define SBP_RF_RF_RX_EVT 4 //If you add this macro when configured LLEMODE, the first byte received is the raw data, otherwise the RSSI value #define LLE_MODE_ORIGINAL_RX (0x80) extern void RF_Init(void); #ifdef __cplusplus } #endif #endif