Skip to content

Commit 418ae08

Browse files
committed
add FIRMWARE_VER_LEVEL to companion PUSH_CODE_LOGIN_SUCCESS
1 parent b8394a4 commit 418ae08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/companion_radio/MyMesh.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ void MyMesh::onContactResponse(const ContactInfo &contact, const uint8_t *data,
515515
memcpy(&out_frame[i], &tag, 4);
516516
i += 4; // NEW: include server timestamp
517517
out_frame[i++] = data[7]; // NEW (v7): ACL permissions
518+
out_frame[i++] = data[12]; // FIRMWARE_VER_LEVEL
518519
} else {
519520
out_frame[i++] = PUSH_CODE_LOGIN_FAIL;
520521
out_frame[i++] = 0; // reserved

0 commit comments

Comments
 (0)