Browse Source

add FIRMWARE_VER_LEVEL to companion PUSH_CODE_LOGIN_SUCCESS

pull/833/head
liamcottle 8 months ago
parent
commit
418ae08b4d
  1. 1
      examples/companion_radio/MyMesh.cpp

1
examples/companion_radio/MyMesh.cpp

@ -515,6 +515,7 @@ void MyMesh::onContactResponse(const ContactInfo &contact, const uint8_t *data,
memcpy(&out_frame[i], &tag, 4);
i += 4; // NEW: include server timestamp
out_frame[i++] = data[7]; // NEW (v7): ACL permissions
out_frame[i++] = data[12]; // FIRMWARE_VER_LEVEL
} else {
out_frame[i++] = PUSH_CODE_LOGIN_FAIL;
out_frame[i++] = 0; // reserved

Loading…
Cancel
Save