# Module Protocols.OBEX

Description

  The IrDA® Object Exchange Protocol. OBEX is a protocol for sending and receiving binary objects to mobile devices using transports such as IR and Bluetooth.

Typedef Headers

  ``typedef` `mapping`(`HeaderIdentifier`:`string`|`int`|`array`) Protocols.OBEX.`Headers``

Description

  A set of request or response headers. Each HI can be associated with either a single value (int or string, depending on the HI in question) or an array with multiple such values.

Constant SETPATH_BACKUP

  ```final` constant` `int` Protocols.OBEX.`SETPATH_BACKUP``

Description

  A flag for the REQ_SETPATH command indicating that the parent directory should be selected

Constant SETPATH_NOCREATE

  ```final` constant` `int` Protocols.OBEX.`SETPATH_NOCREATE``

Description

  A flag for the REQ_SETPATH command indicating that the selected directory should not be created if it doesn't exist