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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 67
68
// All in BIG Endian !!!!
typedef struct {
U8 ProtoID[8]; // protocol ID = "IMS Net"
U16 OpCode; // == IMSNET_OPCODE_POLL
U8 VersionH; // 0
U8 VersionL; // protocol version, set to IMSNET_VERSION
} IMSNET_POLL; // HOST BROADCAST to find unit
typedef struct {
U8 ProtoID[8]; // protocol ID = "IMS Net"
U16 OpCode; // == IMSNET_OPCODE_POLLREPLY
U8 VersionH; // 0
U8 VersionL; // protocol version, set to IMSNET_VERSION
U32 Address; // IP Address
U16 Port; // Port for service
U16 Flags; // See Flags above
U32 Info; // When IMSNET_FLAG_INUSE, IP Address of user
} IMSNET_POLLREPLY; // DEVICE REPLY to discovery broadcast
#pragma pack(pop)
See the sample projects, which all use discovery, for further information.
Vista de página 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 74 75 76

Comentários a estes Manuais

Sem comentários