Home
last modified time | relevance | path

Searched refs:nextReqHdr (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_mp_server.cpp182 auto nextReqHdr = sendObject->GetNextRespHeader(); in HandleGetRequest() local
183 if (nextReqHdr == nullptr) { in HandleGetRequest()
184 OBEX_LOG_ERROR("nextReqHdr is null!"); in HandleGetRequest()
185 nextReqHdr = ObexHeader::CreateResponse(ObexRspCode::INTERNAL_SERVER_ERROR); in HandleGetRequest()
187 int ret = session.SendResponse(*nextReqHdr); in HandleGetRequest()
192 if (nextReqHdr->GetFieldCode() != static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in HandleGetRequest()
H A Dobex_session.cpp133 auto nextReqHdr = sendObject_->GetNextRespHeader(); in ProcessSendSrmResponse() local
134 if (nextReqHdr == nullptr) { in ProcessSendSrmResponse()
135 OBEX_LOG_ERROR("ProcessSendSrmResponse: nextReqHdr is null!"); in ProcessSendSrmResponse()
139 nextReqHdr = ObexHeader::CreateResponse(ObexRspCode::INTERNAL_SERVER_ERROR); in ProcessSendSrmResponse()
141 int ret = SendResponse(*nextReqHdr); in ProcessSendSrmResponse()
146 if (nextReqHdr->GetFieldCode() == static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in ProcessSendSrmResponse()
149 } else if (nextReqHdr->GetFieldCode() == static_cast<uint8_t>(ObexRspCode::SUCCESS)) { in ProcessSendSrmResponse()
155 OBEX_LOG_ERROR("ProcessSendSrmResponse: SRM MODE END WITH RESPCODE 0x%02X", nextReqHdr->GetFieldCode()); in ProcessSendSrmResponse()

Completed in 2 milliseconds