Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This service accepts incoming connections and commands. This is the default service for an OBEX server because it is the service that is assumed when the target header does not exist. Common uses for this service include pushing files or data objects or pulling default objects.
Default objects are pulled, or queried, using MIME types. The default vCard is an example of a default object that an inbox may expose through the x-obex/vCard MIME type. Default objects that reside in the inbox's default directory, may be requested by file name.
MIME type handlers register themselves in the registry. At startup, the default inbox creates the MIME type handlers. Getand Putmethods are forwarded to the appropriate handlers as they arrive. If a handler is not available, a lookup is done for the MIME type's file extension. The data is saved to a file in the default folder location. If a Getrequest on an unsupported MIME type is received, the command returns an error.