mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
add FIRMWARE_VER_LEVEL to companion PUSH_CODE_LOGIN_SUCCESS
This commit is contained in:
parent
b8394a4e62
commit
418ae08b4d
1 changed files with 1 additions and 0 deletions
|
|
@ -515,6 +515,7 @@ void MyMesh::onContactResponse(const ContactInfo &contact, const uint8_t *data,
|
||||||
memcpy(&out_frame[i], &tag, 4);
|
memcpy(&out_frame[i], &tag, 4);
|
||||||
i += 4; // NEW: include server timestamp
|
i += 4; // NEW: include server timestamp
|
||||||
out_frame[i++] = data[7]; // NEW (v7): ACL permissions
|
out_frame[i++] = data[7]; // NEW (v7): ACL permissions
|
||||||
|
out_frame[i++] = data[12]; // FIRMWARE_VER_LEVEL
|
||||||
} else {
|
} else {
|
||||||
out_frame[i++] = PUSH_CODE_LOGIN_FAIL;
|
out_frame[i++] = PUSH_CODE_LOGIN_FAIL;
|
||||||
out_frame[i++] = 0; // reserved
|
out_frame[i++] = 0; // reserved
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue