Compare commits
No commits in common. "6b24947f04706ef07f5c8c84bcca2c6e38ecb576" and "580c9f4e680007aa776ee3a549f4bc6f47a6fef7" have entirely different histories.
6b24947f04
...
580c9f4e68
@ -96,27 +96,3 @@ bool is_ble_modem_on(void)
|
|||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ble_modem_allow_sleep(bool allowSleep)
|
|
||||||
{
|
|
||||||
tls_bt_status_t ret = tls_bt_ctrl_sleep(allowSleep);
|
|
||||||
|
|
||||||
if(TLS_BT_STATUS_SUCCESS != ret)
|
|
||||||
{
|
|
||||||
TLS_BT_APPL_TRACE_ERROR("%s, tls_bt_ctrl_sleep ret:%d"NEW_LINE, __FUNCTION__, ret);
|
|
||||||
}
|
|
||||||
|
|
||||||
return TLS_BT_STATUS_SUCCESS == ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ble_modem_wakeup(void)
|
|
||||||
{
|
|
||||||
tls_bt_status_t ret = tls_bt_ctrl_wakeup();
|
|
||||||
|
|
||||||
if(TLS_BT_STATUS_SUCCESS != ret)
|
|
||||||
{
|
|
||||||
TLS_BT_APPL_TRACE_ERROR("%s, tls_bt_ctrl_wakeup ret:%d"NEW_LINE, __FUNCTION__, ret);
|
|
||||||
}
|
|
||||||
|
|
||||||
return TLS_BT_STATUS_SUCCESS == ret;
|
|
||||||
}
|
|
||||||
|
@ -29,8 +29,4 @@ bool ble_modem_off(void);
|
|||||||
*/
|
*/
|
||||||
bool is_ble_modem_on(void);
|
bool is_ble_modem_on(void);
|
||||||
|
|
||||||
bool ble_modem_allow_sleep(bool allowSleep);
|
|
||||||
|
|
||||||
bool ble_modem_wakeup(void);
|
|
||||||
|
|
||||||
#endif //BLE_MODEM_H
|
#endif //BLE_MODEM_H
|
||||||
|
@ -146,16 +146,6 @@ void tls_pmu_sdio_isr_register(tls_pmu_irq_callback callback, void *arg);
|
|||||||
*/
|
*/
|
||||||
void tls_pmu_clk_select(u8 bypass);
|
void tls_pmu_clk_select(u8 bypass);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Starts the internal 32K oscillator calibration cycle.
|
|
||||||
*
|
|
||||||
* @param None
|
|
||||||
*
|
|
||||||
* @return None
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void tls_pmu_clk_calibrate(void);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function is used to start pmu timer0
|
* @brief This function is used to start pmu timer0
|
||||||
|
Loading…
Reference in New Issue
Block a user