Skip to content

Instantly share code, notes, and snippets.

@jjmilburn
Last active April 29, 2019 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjmilburn/400e2bbcc6e9a85affe82ab14851acaf to your computer and use it in GitHub Desktop.
Save jjmilburn/400e2bbcc6e9a85affe82ab14851acaf to your computer and use it in GitHub Desktop.
Product MCU - PAYG MCU UART Link
Product MCU - PAYG MCU UART Link
Idle*
uart_from_payg_mcu -> Buffer Message
Buffer Message
message_is_payg_uart -> Process Message
message_is_asp -> Forward Message to Accessory
Process Message
message_processed -> Idle
Forward Message to Accessory
message_forwarded -> Idle
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment