Assigns broadcast endpoint ID to messages to host
Bug: 70158191 Bug: 70339559 Test: Compile and flash on sailfish-userdebug, run CHQTS and verify pass Change-Id: I3f59560e25faa3627dcd803e3cc6d9cbc30c2645
This commit is contained in:
parent
85a3fa9d65
commit
4dc7e049f0
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ int Contexthub::contextHubCb(uint32_t hubId,
|
||||||
|
|
||||||
msg.appName = rxMsg->app_name.id;
|
msg.appName = rxMsg->app_name.id;
|
||||||
msg.msgType = rxMsg->message_type;
|
msg.msgType = rxMsg->message_type;
|
||||||
|
msg.hostEndPoint = static_cast<uint16_t>(HostEndPoint::BROADCAST);
|
||||||
msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message),
|
msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message),
|
||||||
static_cast<const uint8_t *>(rxMsg->message) +
|
static_cast<const uint8_t *>(rxMsg->message) +
|
||||||
rxMsg->message_len);
|
rxMsg->message_len);
|
||||||
|
|
Loading…
Reference in a new issue