diff --git a/os/board/rtl8721csm/src/component/common/bluetooth/realtek/sdk/example/ble_scatternet/ble_tizenrt_scatternet_app.c b/os/board/rtl8721csm/src/component/common/bluetooth/realtek/sdk/example/ble_scatternet/ble_tizenrt_scatternet_app.c index 81c2c38010..4db56ce81c 100644 --- a/os/board/rtl8721csm/src/component/common/bluetooth/realtek/sdk/example/ble_scatternet/ble_tizenrt_scatternet_app.c +++ b/os/board/rtl8721csm/src/component/common/bluetooth/realtek/sdk/example/ble_scatternet/ble_tizenrt_scatternet_app.c @@ -485,18 +485,18 @@ int ble_tizenrt_scatternet_handle_upstream_msg(uint16_t subtype, void *pdata) case BLE_TIZENRT_MSG_START_ADV: { ret = le_adv_start(); - if(GAP_CAUSE_SUCCESS == ret) - dbg("[Upstream] Start Adv Success \n"); - else - dbg("[Upstream] Start Adv Fail !! 0x%x \n", ret); + if(GAP_CAUSE_SUCCESS == ret) + debug_print("[Upstream] Start Adv Success \n"); + else + dbg("[Upstream] Start Adv Fail !! 0x%x \n", ret); } break; case BLE_TIZENRT_MSG_STOP_ADV: ret = le_adv_stop(); - if(GAP_CAUSE_SUCCESS == ret) - dbg("[Upstream] Stop Adv Success \n"); - else - dbg("[Upstream] Stop Adv Fail !! 0x%x \n", ret); + if(GAP_CAUSE_SUCCESS == ret) + debug_print("[Upstream] Stop Adv Success \n"); + else + dbg("[Upstream] Stop Adv Fail !! 0x%x \n", ret); break; case BLE_TIZENRT_MSG_DISCONNECT: { @@ -735,13 +735,13 @@ void ble_tizenrt_scatternet_app_handle_dev_state_evt(T_GAP_DEV_STATE new_state, } else { - dbg("GAP adv stopped \n"); + debug_print("GAP adv stopped \n"); } ble_tizenrt_scatternet_gap_dev_state.gap_adv_sub_state = new_state.gap_adv_sub_state; } else if (new_state.gap_adv_state == GAP_ADV_STATE_ADVERTISING) { - dbg("GAP adv start \n"); + debug_print("GAP adv start \n"); } ble_tizenrt_scatternet_gap_dev_state.gap_adv_state = new_state.gap_adv_state; }