From 6b6a2c019f8e275ed06e3733531f3fb41239ffff Mon Sep 17 00:00:00 2001 From: giomba Date: Sun, 14 Apr 2019 15:26:16 +0200 Subject: [PATCH] [product] hardcoded cart address this simply emulates RFID tag which we do not have --- project/product/product.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/product/product.c b/project/product/product.c index 33aff393c..20b48dec7 100644 --- a/project/product/product.c +++ b/project/product/product.c @@ -16,9 +16,9 @@ #define LOG_MODULE "App" #define LOG_LEVEL LOG_LEVEL_INFO -// !! TO INIT WITH CART MAC ADDRESS !! // -static linkaddr_t dest_addr = {{0x00, 0x12, 0x4b, 0x00, 0x0f, 0x82, 0x18, 0x04}}; - +/* Hardcoded MAC Address for cart */ +/* This is used only to emulate the RFID tag */ +static linkaddr_t dest_addr = {{0x00, 0x12, 0x4b, 0x00, 0x0f, 0x24, 0x18, 0x04}}; product_t product_list[] = { { 1, "21/12/19", 1.05 },