Ticket #11 (assigned enhancement)

Opened 18 months ago

Last modified 18 months ago

BIP obex identifiers

Reported by: hsattler Owned by: zany
Priority: minor Milestone:
Component: openobex-lib Version:
Keywords: Cc:

Description

Hi,

the bluetooth profile "BIP" defines two additional header IDs. Include them in obex_const.h.

HS

Attachments

bip_header_defs.patch (1.3 KB) - added by zany 18 months ago.

Change History

Changed 18 months ago by hsattler

  • type changed from defect to enhancement

Changed 18 months ago by zany

  • owner changed from somebody to zany
  • status changed from new to assigned

From the BIP spec:

  • Img-Handle header ID = 0x30 (null terminated, UTF-16 encoded Unicode text length prefixed with a two-byte unsigned integer)
  • Img-Descriptor header ID = 0x71 (byte sequence, length prefixed with a two-byte unsigned integer)

So we additionally need:

  • #define OBEX_HDR_BIPIMGHANDLE (OBEX_HDR_ID_BIPIMGHANDLE | OBEX_HDR_TYPE_UNICODE )
  • #define OBEX_HDR_BIPIMGDESCR (OBEX_HDR_ID_BIPIMGDESCR | OBEX_HDR_TYPE_BYTES )

More important: is it going to be BIPIMGHANLDE or just IMGHANDLE (the profile is normally not prefixed)

Changed 18 months ago by zany

Note: See TracTickets for help on using tickets.