Automated fetching products from the host side
by jnesselr 5 years 4 months
Automated fetching products from the host side

This should be the last commit in our paradigm shift. It should
help make everything more stable. At the very least, we can now get
both credit and orders "at the same time" (meaning submitted at the
same time) without them trampling all over each other.
b26a6ea9
Refactored order processing to work with new ACK p...
by jnesselr 5 years 4 months
Refactored order processing to work with new ACK paradigm
6a5bd3b3
Get order for SiteLink sends ACKs correctly now
by jnesselr 5 years 4 months
af309c21
Bumped the Bridge speed back up to 115200
by jnesselr 5 years 4 months
Bumped the Bridge speed back up to 115200

We lowered it to 9600 to reduce the chance of buffer overflows but
now that we're removing the possibility of buffer overflows from
the code itself, it doesn't really mater what speed we send it at.

The only possible concern is bit errors, but I have no error checking
and for now I'm mostly just hoping for the best :)
f994c653
Update order now sends ACK at the correct times
by jnesselr 5 years 4 months
b24ce1f3
Updated Bridge Status to show completion of every ...
by jnesselr 5 years 4 months
Updated Bridge Status to show completion of every command
4a97310d
Adjusting how ACKs work for fetching orders
by jnesselr 5 years 4 months
Adjusting how ACKs work for fetching orders

This is to help prevent buffer overflowing and will be one of several
diffs like it. The basic concept is, if the next piece of the packet,
whether it's the order header, item, etc. would overflow the buffer,
then we wait for an ACK from the other side. Both sides use the same
math so the ACK and wait for ACK on the same schedule.
9a3e1a8f
Improving SiteLink protocol slightly
by jnesselr 5 years 4 months
Improving SiteLink protocol slightly

This diff does two things. First we reduce the size of a product update
by shortening the max length of the name. This ensures that the max product
packet length is 63 bytes.

The second thing it does is not send product updates unless the host requests
it. This is to work around some of the issues with ACKing packets.
4e9697bd
Added cash parameter to update order
by jnesselr 5 years 4 months
fe66562a
Added "Get Credit by Card" functionality
by jnesselr 5 years 4 months
a7366bde
Report a bug