Gammu internals  1.38.0
irda_w32.h
Go to the documentation of this file.
1 
2 /* MS Platform SDK */
3 
4 #ifndef __irda_w32_h
5 #define __irda_w32_h
6 
7 #define AF_IRDA 26
8 #define SOL_IRLMP 0x00FF
9 #define IRLMP_ENUMDEVICES 0x00000010
10 #define IRLMP_9WIRE_MODE 0x00000016
11 
12 struct sockaddr_irda {
13  unsigned short irdaAddressFamily;
14  unsigned char irdaDeviceID[4];
15  char irdaServiceName[25];
16 };
17 
18 struct irda_device_info {
19  unsigned char irdaDeviceID[4];
20  char irdaDeviceName[22];
21  unsigned char irdaDeviceHints1;
22  unsigned char irdaDeviceHints2;
23  unsigned char irdaCharSet;
24 };
25 
26 struct irda_device_list {
27  ULONG numDevice;
28  struct irda_device_info Device[1];
29 };
30 
31 #endif
32 
33 /* How should editor hadle tabs in this file? Add editor commands here.
34  * vim: noexpandtab sw=8 ts=8 sts=8:
35  */
unsigned short irdaAddressFamily
Definition: irda_w32.h:13
unsigned char irdaDeviceHints2
Definition: irda_w32.h:22
char irdaServiceName[25]
Definition: irda_unx.h:41
unsigned char irdaDeviceHints1
Definition: irda_w32.h:21
unsigned char irdaCharSet
Definition: irda_w32.h:23
u_int32_t irdaDeviceID
Definition: irda_unx.h:40
ULONG numDevice
Definition: irda_w32.h:27