Skip to content

Commit

Permalink
Merge pull request #27 from MykolaSolyanko/update_vchan_protocol
Browse files Browse the repository at this point in the history
Update vchanapi
al1img authored Dec 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 0c72a0f + 66e1d5f commit a301d64
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions vchanmanager/include/vchanapi.h
Original file line number Diff line number Diff line change
@@ -11,8 +11,7 @@
#include <stddef.h>
#include <stdint.h>

enum AosVChanSource
{
enum AosVChanSource {
AOS_VCHAN_SM,
AOS_VCHAN_IAM,
};
@@ -22,11 +21,14 @@ enum AosVChanSource
*/

#pragma pack(push, 1)
struct VChanMessageHeader
{
struct VChanMessageHeader {
uint32_t mSource;
uint32_t mDataSize;
uint8_t mSha256[32];
uint64_t mRequestID;
int32_t mErrno;
int32_t mAosError;
char mMethodName[256];
uint8_t mSha256[32];
};
#pragma pack(pop)

0 comments on commit a301d64

Please sign in to comment.