30 lines
494 B
C
30 lines
494 B
C
#ifndef BLE_MODEM_H
|
|
#define BLE_MODEM_H
|
|
|
|
#include "wm_type_def.h"
|
|
|
|
/**
|
|
* @brief Turns the BLE modem on
|
|
*
|
|
* @return true on success
|
|
* @return false on failure
|
|
*/
|
|
bool ble_modem_on(void);
|
|
|
|
/**
|
|
* @brief Turns the BLE modem off
|
|
*
|
|
* @return true on success
|
|
* @return false on failure
|
|
*/
|
|
bool ble_modem_off(void);
|
|
|
|
/**
|
|
* @brief Find out if the modem is turned on or not
|
|
*
|
|
* @return true if turned on
|
|
* @return false if turned off
|
|
*/
|
|
bool is_ble_modem_on(void);
|
|
|
|
#endif //BLE_MODEM_H
|