Add flags parameter to nearby actions

This commit is contained in:
Willy-JL
2023-09-06 03:55:10 +02:00
parent 355f1b9673
commit 37c8357d3e
3 changed files with 267 additions and 268 deletions

View File

@@ -129,7 +129,7 @@ void continuity_generate_packet(const ContinuityMsg* msg, uint8_t* packet) {
break;
case ContinuityTypeNearbyAction:
packet[i++] = 0xc1; // Action Flags
packet[i++] = msg->data.nearby_action.flags; // Action Flags
packet[i++] = msg->data.nearby_action.type;
packet[i++] = (rand() % 256); // Authentication Tag
packet[i++] = (rand() % 256); // ...