Gammu internals
1.38.0
|
#include <winsock2.h>
#include <pshpack1.h>
Go to the source code of this file.
Data Structures | |
struct | _SOCKADDR_BTH |
Macros | |
#define | NAP_BIT_OFFSET (8 * 4) |
#define | SAP_BIT_OFFSET (0) |
#define | GET_BYTE(num, byte) (unsigned int)((num >> (8 * byte)) & 0xff) |
#define | NAP_MASK 0xFFFF00000000LL |
#define | SAP_MASK 0x0000FFFFFFFFLL |
#define | GET_NAP(_bth_addr) ((ULONGLONG) (((_bth_addr) & NAP_MASK) >> NAP_BIT_OFFSET)) |
#define | GET_SAP(_bth_addr) ((ULONGLONG) (((_bth_addr) & SAP_MASK) >> SAP_BIT_OFFSET)) |
#define | AF_BTH 32 |
#define | BTHPROTO_RFCOMM 0x0003 |
Typedefs | |
typedef ULONGLONG | BTH_ADDR |
typedef ULONGLONG * | PBTH_ADDR |
typedef struct _SOCKADDR_BTH | SOCKADDR_BTH |
typedef struct _SOCKADDR_BTH * | PSOCKADDR_BTH |
#define AF_BTH 32 |
Definition at line 30 of file blue_w32.h.
#define BTHPROTO_RFCOMM 0x0003 |
Definition at line 40 of file blue_w32.h.
#define GET_BYTE | ( | num, | |
byte | |||
) | (unsigned int)((num >> (8 * byte)) & 0xff) |
Definition at line 13 of file blue_w32.h.
#define GET_NAP | ( | _bth_addr | ) | ((ULONGLONG) (((_bth_addr) & NAP_MASK) >> NAP_BIT_OFFSET)) |
Definition at line 25 of file blue_w32.h.
#define GET_SAP | ( | _bth_addr | ) | ((ULONGLONG) (((_bth_addr) & SAP_MASK) >> SAP_BIT_OFFSET)) |
Definition at line 26 of file blue_w32.h.
#define NAP_BIT_OFFSET (8 * 4) |
Definition at line 11 of file blue_w32.h.
#define NAP_MASK 0xFFFF00000000LL |
Definition at line 22 of file blue_w32.h.
#define SAP_BIT_OFFSET (0) |
Definition at line 12 of file blue_w32.h.
#define SAP_MASK 0x0000FFFFFFFFLL |
Definition at line 23 of file blue_w32.h.
typedef ULONGLONG BTH_ADDR |
Definition at line 9 of file blue_w32.h.
typedef ULONGLONG * PBTH_ADDR |
Definition at line 9 of file blue_w32.h.
typedef struct _SOCKADDR_BTH * PSOCKADDR_BTH |
typedef struct _SOCKADDR_BTH SOCKADDR_BTH |