Innovate-motorsports OT-2 SDK Manuel d'utilisateur Page 68

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 76
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 74 75 76

Commentaires sur ces manuels

Pas de commentaire