Innovate-motorsports OT-2 SDK Manual do Utilizador Página 49

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 48
49
Command ‘b’ Get Last MTS Packet passed
Sent: 1 bytes
{
U8 Cmd; // ‘b’
}
Responds: Variable (2 bytes minimum)
{
U8 Len; // Length of data to follow
U8 Sequence; // Sequence Counter, incremented
// each time an MTS packet is
// passed
// Optional
{
U8 Packet[Len-1]; // MTS Packet (if any)
}
}
Notes: If there is no MTS hardware attacked, you will
get ‘0x01 0x00’ (1 byte, sequence 0). Otherwise, you will
get a changing sequence, followed by a raw MTS packet.
Command ‘s’ Exit Expert Mode
Sent: 1 byte
{
U8 Cmd; // ‘s’
}
Responds: None
Notes: This command returns you to Setup Mode.
Command 0xFF Don’t hang up on me!
Sent: 1 bytes
{
U8 Cmd; // 0xFF
}
Responds: 1 byte
{
U8 Result; // should be 0xFF
}
Notes: This command merely gives you a way to thwart the Expert
Mode watchdog timer. In general, you should avoid even
needing it. But, here it is, just in case…
Vista de página 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 75 76

Comentários a estes Manuais

Sem comentários