Innovate-motorsports OT-2 SDK Manual de usuario Pagina 68

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 76
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 74 75 76

Comentarios a estos manuales

Sin comentarios