Commit Graph

10 Commits

Author SHA1 Message Date
giomba 35f5041b7f [cart + cash] partial product arrays
when you cash out, instead of sending many packets, you can aggregate multiple products in the same packet, doing an array; thus you have better power efficiency, and less delay; so both Anastasi and Marcelloni would be very proud of us
2019-05-07 21:39:28 +02:00
natalija.zlatkova@gmail.com 25f28c16c2 fixed error message type 59 and added product ack in order to allow reliable communication 2019-04-21 19:09:50 +02:00
natalija.zlatkova@gmail.com 09e80d9f7f prezzo a 32 bit modific 2019-04-16 15:55:40 +02:00
natalija.zlatkova@gmail.com 2debde0b5f prezzo a 32 bit 2019-04-16 15:49:56 +02:00
giomba ccaac68102 [cash] pointer issue basket_address + ids as uint32_t
- basket_address held the pointer to a value that is replaced for every new packet coming from the network layer, so the value itself it should be copied, not the pointer; this lead to board reset when dereferencing it
- product_id and customer_id are on 32 bits (no supermarket has less than 256 products and/or customers), otherwise I think it would fail
2019-04-14 15:23:27 +02:00
giomba 0343edb42c [cash] minor fix due to a copypasta error 2019-04-13 09:28:54 +02:00
natalija.zlatkova@gmail.com 90ea7bb4c1 deleted adress field in basket structure 2019-04-12 16:41:39 +02:00
Daniela aafd37dd59 Cassa and Supermarket updated 2019-04-12 16:30:01 +02:00
natalija.zlatkova@gmail.com 3393ab5877 modified version that saves up memory 2019-04-12 16:20:00 +02:00
natalija.zlatkova@gmail.com 55f248f517 first version cassa 2019-04-06 17:34:46 +02:00