Here's the problem with continuous press.
You need to send a signal to keep the car "pushing".
What if there is a bug where "push" = off, is still registered as ON, anywhere in the firmware, middleware, or application layer.
@voip-ninja and I gonna have to slap a fool if they using UDP instead of TCP for the summon feature.
Dropped packets is catastrophic here versus a telephone call.
Not sure what protocol they use. I trust EAP with my kids in the car, but I have NEVER enabled summon on any of my cars.
I do this stuff for a living. TCP > than UDP for this type of application, not TCP >= UDP. Stateful vs stateless protocols are different for a reason.
You want to swim in my pool you should bring bigger flippers.
I'm dual certified by NUMI and PADI, so I'll jump in.
(Some of this is background for people not familiar with networking)
TCP is a protocol that sits on top of Internet Protocol (IP) datagrams, UDP is a protocol which also uses IP datagrams. It is not a different type of packet, nor is not more likely to arrive.
TCP assures data gets there eventually and in the order sent (leaving the low level driver) assuming the connection still exists.
Using TCP does not mean the packet is guaranteed to get there, only that (due to the protocol) the sender will retry if it is not acknowledged. Any safety connection state information has to have a fail safe timer since there is nothing to send a "connection dropped" flag, if the connection drops (beyond the networking layer timeouts).
Summon gains nothing by using TCP. In fact, it would actually be worse since you could hit your max packet window waiting for an old 'forward' packet to get resent while you have 30 'STOP' packets in the buffer. Whereas with a UDP setup, every n mS a new packet with the currently desired direction would be sent (for paranoia, add a counter/ time stamp to avoid a delayed by routing packet from overwriting the real command). If the car does not get a new packet in max_delay time, it stops automatically.
If you want to send a document, use TCP.
If you want to send 200 bytes of data that replaces the 200 bytes of data you just sent, use UDP.
Using UDP with some features of TCP (which the counter is) is the best approach for summon.