static void touch_inter_control_handler(uint32_t event_pins_low_to_high, uint32_t event_pins_high_to_low) { uint8_t notify_arry[2] = {0x00}; uint32_t err_code; uint16_t len_of_notify = 2; notify_arry[1] =0x55; notify_arry[0] =0x1D; len_of_notify = 1; send_notify_for_order(notify_arry,len_of_notify); } static void send_notify_for_order(uint8_t *notify_arry,uint16_t len_of_notify) { uint32_t err_code; ble_gatts_hvx_params_t hvx_params; hvx_params.handle = m_custom_ff00.uuid_to_handle[2].op_handles.value_handle; hvx_params.offset = 0; hvx_params.p_len = &len_of_notify; hvx_params.type = BLE_GATT_HVX_NOTIFICATION; hvx_params.p_data = notify_arry; err_code = sd_ble_gatts_hvx(m_custom_ff00.conn_handle, &hvx_params); APP_ERROR_CHECK(err_code); }