This C++ code example provides a method for transferring objects or chunks of data from one device to another via the Bluetooth OBEX protocol. These chunks are typically files or other blocks of binary data. This example demonstrates how to run OBEX on top of the Bluetooth RFCOMM protocol, but OBEX can also be used with other transport media, such as IrDA and USB.