Partager via


SDP_TYPE (Windows Embedded CE 6.0)

1/6/2010

This enumeration defines the type of an attribute in a record created through a byte stream.

Syntax

typedef enum {
  SDP_TYPE_NIL = 0x00,
  SDP_TYPE_UINT = 0x01,
  SDP_TYPE_INT = 0x02,
  SDP_TYPE_UUID = 0x03,
  SDP_TYPE_STRING = 0x04,
  SDP_TYPE_BOOLEAN = 0x05,
  SDP_TYPE_SEQUENCE = 0x06,
  SDP_TYPE_ALTERNATIVE = 0x07,
  SDP_TYPE_URL = 0x08,
  SDP_TYPE_CONTAINER = 0x20
} SDP_TYPE;

Elements

  • SDP_TYPE_NIL
    Type is nothing.
  • SDP_TYPE_UINT
    Type is an unsigned integer.
  • SDP_TYPE_INT
    Type is an integer.
  • SDP_TYPE_UUID
    Type is an unsigned user identifier.
  • SDP_TYPE_STRING
    Type is a string.
  • SDP_TYPE_BOOLEAN
    Type is a Boolean.
  • SDP_TYPE_SEQUENCE
    Type is a sequence of elements.
  • SDP_TYPE_ALTERNATIVE
    Type is an alternative value.
  • SDP_TYPE_URL
    Type is a universal resource locator address.
  • SDP_TYPE_CONTAINER
    Type is a container of more containers, a sequence, or basic types such as SDP_TYPE_INT or SDP_TYPE_UUID.

Requirements

Header bthsdpdef.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth Application Development Enumerations
ISdpStream::RetrieveElementInfo