Activate + interpret many more DIAG LOG messages for GPRS
diff --git a/src/config.c b/src/config.c
index 90887bb..237eb82 100644
--- a/src/config.c
+++ b/src/config.c
@@ -25,7 +25,7 @@
uint8_t data[0];
} __attribute((packed));
-struct msgb *gen_log_config_set_mask(uint32_t last_item)
+struct msgb *gen_log_config_set_mask(uint32_t equip_id, uint32_t last_item)
{
struct msgb *msg = msgb_alloc(MAX_PACKET, "Diag Tx");
struct diag_log_config_set_mask *dlcsm;
@@ -35,7 +35,7 @@
dlcsm = (struct diag_log_config_set_mask *) msg->l2h;
dlcsm->hdr.msg_type = DIAG_LOG_CONFIG_F;
dlcsm->hdr.operation = LOG_CONFIG_SET_MASK_OP;
- dlcsm->equip_id = 5;
+ dlcsm->equip_id = equip_id;
dlcsm->last_item = last_item;
msg->l3h = msgb_put(msg, dlcsm->last_item/8);