[product] hardcoded cart address

this simply emulates RFID tag which we do not have
This commit is contained in:
giomba 2019-04-14 15:26:16 +02:00
parent ccaac68102
commit 6b6a2c019f

View File

@ -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 },