Handle incoming delete messages
This commit is contained in:
@@ -590,6 +590,27 @@ static payload_order_t informational_i_order_v1[] = {
|
||||
{VENDOR_ID_V1, 0},
|
||||
};
|
||||
|
||||
/**
|
||||
* Message rule for INFORMATIONAL_V1 from responder.
|
||||
*/
|
||||
static payload_rule_t informational_r_rules_v1[] = {
|
||||
/* payload type min max encr suff */
|
||||
{NOTIFY_V1, 0, MAX_NOTIFY_PAYLOADS, FALSE, FALSE},
|
||||
{NOTIFY_V1, 0, MAX_NOTIFY_PAYLOADS, TRUE, FALSE},
|
||||
{DELETE_V1, 0, MAX_DELETE_PAYLOADS, TRUE, FALSE},
|
||||
{VENDOR_ID_V1, 0, MAX_VID_PAYLOADS, TRUE, FALSE},
|
||||
};
|
||||
|
||||
/**
|
||||
* payload order for INFORMATIONAL_V1 from responder.
|
||||
*/
|
||||
static payload_order_t informational_r_order_v1[] = {
|
||||
/* payload type notify type */
|
||||
{NOTIFY_V1, 0},
|
||||
{DELETE_V1, 0},
|
||||
{VENDOR_ID_V1, 0},
|
||||
};
|
||||
|
||||
/**
|
||||
* Message rule for QUICK_MODE from initiator.
|
||||
*/
|
||||
@@ -737,6 +758,10 @@ static message_rule_t message_rules[] = {
|
||||
countof(informational_i_rules_v1), informational_i_rules_v1,
|
||||
countof(informational_i_order_v1), informational_i_order_v1,
|
||||
},
|
||||
{INFORMATIONAL_V1, FALSE, TRUE,
|
||||
countof(informational_r_rules_v1), informational_r_rules_v1,
|
||||
countof(informational_r_order_v1), informational_r_order_v1,
|
||||
},
|
||||
{QUICK_MODE, TRUE, TRUE,
|
||||
countof(quick_mode_i_rules), quick_mode_i_rules,
|
||||
countof(quick_mode_i_order), quick_mode_i_order,
|
||||
|
||||
Reference in New Issue
Block a user