Ejemplo n.º 1
0
/**
 ****************************************************************************************
 * @brief 			app_sps_enable(void) Sends enable message(s) when the connection is made.
 * @param[in] 	void
 * @return 			none
 ****************************************************************************************
 */
void app_sps_enable(void)
{
#if (BLE_SPS_SERVER) // enable the sps device so it can send notification message
		app_sps_server_enable();
#endif
		
#if (BLE_SPS_CLIENT) //enable sps host to set the device in discovery mode to search for the proper handles
		app_sps_client_enable();
#endif
}
Ejemplo n.º 2
0
/**
 ****************************************************************************************
 * @brief 		app_sps_enable(void) Sends enable message(s) when the connection is made.
 * @param[in] 	void
 * @return 		none
 ****************************************************************************************
 */
void app_sps_enable(void)
{
    app_sps_server_enable();
}