Partager via


SDP_TYPE (Compact 2013)

3/26/2014

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

Syntax

typedef enum {
  SDP_TYPE_NIL,
  SDP_TYPE_UINT,
  SDP_TYPE_INT,
  SDP_TYPE_UUID,
  SDP_TYPE_STRING,
  SDP_TYPE_BOOLEAN,
  SDP_TYPE_SEQUENCE,
  SDP_TYPE_ALTERNATIVE,
  SDP_TYPE_URL,
  SDP_TYPE_CONTAINER 
} 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 value.
  • 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 a sequence, basic types such as SDP_TYPE_INT or SDP_TYPE_UUID, or more containers.

Requirements

Header

bthapi.h

See Also

Reference

Bluetooth Application Development Enumerations
ISdpStream::RetrieveElementInfo