Hi,
too late for 1.2 but I just updated the constants to be in synch with
current IrOBEX v1.3.
HDR_OBJCLASS moved from 0x4f to 0x51. I renamed this header
HDR_OBJECTCLASS. That will break applications which use this header. The
developer then needs to choose if he meant 0x4f/0xcf (which is
HDR_CREATOR) or HDR_OBJECTCLASS.
I also removed CMD_COMMAND as it is reserved by the specs.
We could be backwards compatible but I really want to break applications
which use HDR_OBJCLASS or CMD_COMMAND. According to the 1.3 specs
neither one should be used anywhere.
cu,
Christian
openobex/include/obex_const.h
> #define OBEX_HDR_HTTP 0x47 /* An HTTP 1.x header */
< #define OBEX_HDR_OBJCLASS 0x4f /* OBEX Object class of object */
> #define OBEX_HDR_CREATOR 0xcf /* indicates the creator of an
object */
> #define OBEX_HDR_WANUUID 0x50 /* uniquely identifies the network
client
> (OBEX server) */
> #define OBEX_HDR_OBJECTCLASS 0x51 /* OBEX Object class of object */
> #define OBEX_HDR_SESSIONPARAM 0x52 /* Parameters used in session
> commands/responses */
> #define OBEX_HDR_SESSIONSEQ 0x93 /* Sequence number used in each OBEX
> packet for reliability */
< #define OBEX_CMD_COMMAND 0x04
> #define OBEX_CMD_SESSION 0x07 /* used for reliable session
support */
> #define OBEX_RSP_NON_AUTHORITATIVE 0x23
> #define OBEX_RSP_RESET_CONTENT 0x25
> #define OBEX_RSP_PARTIAL_CONTENT 0x26
> #define OBEX_RSP_MULTIPLE_CHOICES 0x30
> #define OBEX_RSP_MOVED_PERMANENTLY 0x31
> #define OBEX_RSP_MOVED_TEMPORARILY 0x32
> #define OBEX_RSP_SEE_OTHER 0x33
> #define OBEX_RSP_NOT_MODIFIED 0x34
> #define OBEX_RSP_USE_PROXY 0x35
> #define OBEX_RSP_NOT_ACCEPTABLE 0x46
> #define OBEX_RSP_PROXY_AUTH_REQUIRED 0x47
> #define OBEX_RSP_REQUEST_TIME_OUT 0x48
> #define OBEX_RSP_GONE 0x4a
> #define OBEX_RSP_LENGTH_REQUIRED 0x4b
> #define OBEX_RSP_PRECONDITION_FAILED 0x4c
> #define OBEX_RSP_REQ_ENTITY_TOO_LARGE 0x4d
> #define OBEX_RSP_REQ_URL_TOO_LARGE 0x4e
> #define OBEX_RSP_UNSUPPORTED_MEDIA_TYPE 0x4f
> #define OBEX_RSP_BAD_GATEWAY 0x52
> #define OBEX_RSP_SERVICE_UNAVAILABLE 0x53
> #define OBEX_RSP_GATEWAY_TIMEOUT 0x54
> #define OBEX_RSP_VERSION_NOT_SUPPORTED 0x55
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users