Communications

The class communications protocol contains the details of implementing the wireless communication so that all of the hovercrafts and controllers that were constructed could work interchangeably.




State Charts



LOBBYIST

LOBBYIST Main

This state machine was created by the communications committee for all the hovercrafts to implement to facilitate bug-free interoperability.
It handles the decision making structure for incoming data packets and actuates the hovercraft's peripherals accordingly.


LOBBYIST Receive

LobbyistReceive receives data for the hovercraft (LOBBYIST) that was sent by the controller (PAC) via UART.


LOBBYIST Transmit

LOBBYISTTransmit handles sending data to the PAC via UART.


PAC

PAC Main

This state machine was created by the communications committee for all the controllers to implement to facilitate bug-free interoperability.


PAC Receive

PACReceive receives data for controller (PAC) that was sent by the hovercraft (LOBBYIST) via UART.


PAC Transmit

PACTransmit handles the data transmission to the hovercraft via UART.


PAC Service

PACService uses the I/O and received data to carry out actions for the controller.



LOBBYIST Modules






PAC Modules