Lines Matching refs:sessionId
210 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, in HandDaemonAuth()
230 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, in HandDaemonAuth()
267 uint32_t unOld = hSession->sessionId; in DaemonSessionHandshake()
268 hSession->sessionId = handshake.sessionId; in DaemonSessionHandshake()
276 (static_cast<HdcDaemonUART *>(clsUARTServ))->OnNewHandshakeOK(hSession->sessionId); in DaemonSessionHandshake()
281 (reinterpret_cast<HdcDaemonUSB *>(clsUSBServ))->OnNewHandshakeOK(hSession->sessionId); in DaemonSessionHandshake()
284 handshake.sessionId = 0; in DaemonSessionHandshake()
301 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, (uint8_t *)failedString.c_str(), in DaemonSessionHandshake()
312 … WRITE_LOG(LOG_INFO, "session %u handshakeOK send back CMD_KERNEL_HANDSHAKE", hSession->sessionId); in DaemonSessionHandshake()
320 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, in DaemonSessionHandshake()
388 hSession->sessionId, command); in FetchCommand()
409 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, payload, 1); in FetchCommand()
419 LogMsg(hSession->sessionId, channelId, MSG_FAIL, "debugging is not allowed"); in FetchCommand()
421 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, &count, 1); in FetchCommand()
459 bool HdcDaemon::ServerCommand(const uint32_t sessionId, const uint32_t channelId, const uint16_t co… in ServerCommand() argument
462 return Send(sessionId, channelId, command, reinterpret_cast<uint8_t *>(bufPtr), size) > 0; in ServerCommand()