Skip to main content

Prerequisites

Before you begin, set up the device as described in Set up the device for Bluetooth MAP functions.

Connect the remote device

To connect a remote device in MAP, run the following command from the obexctl menu:
Parameters
  • <bt_address> is the Bluetooth address of the remote device.
  • <profile_name> is map.
Example To connect to a remote device with <bt_address> 22:22:23:DB:F2:4A, run the following command:
Sample output

List messages in a folder

To list messages in a folder, do the following:
  1. Connect the DUT and the remote device.
  2. Change the current directory to the intended directory. Example If the message folder is at telecom/msg, run the following command from the obexctl menu:
  3. List the messages in the intended folder by running the following command:
    Example To list the inbox messages, run the following command:
    Sample output

Send a message

To send a message, do the following:
  1. Connect the DUT and the remote device.
  2. Change the current directory to the outbox directory. Example To change the directory to outbox, run the following command from the obexctl menu:
  3. Ensure that the message is present in the outbox folder. If the message isn’t present, create one. Example You can create a BMSG file called map_file.msg with the following content:
  4. Send the message by running the following command from the obexctl menu:
    Parameters <message_filename> is the filename of the message you intend to send. Example To send map_file.msg, run the following command:
    Sample output