The Message Access Profile (MAP) defines the features and procedures that shall be used by devices that exchange message objects. It is based on a Client-Server interaction model where the Client initiates the transactions. In general MAP is used to combine the messaging capabilities of a messaging server device and the user interface capabilities of a client device for notifying, browsing, reading, deleting, generation and sending of messages. This profile is embedded in HFP. For testing, use the HFP Transform and connect to the remote device.
Prerequisites
To use this Transform, the BlueSoleil Application should be installed. The BlueSoleil service must be running prior to creating and starting a Bluetooth project. Activating BlueSoleil can be done simply by plugging in the Bluetooth USB Network Adapter (dongle).
MxSuite software should be run in Administrator mode.
On the MSE device, the folder structure shown below should present.
In the message folder structure, the message file extension should be ".msg". The message file should be written in the format is given below.
Note : Create the folder structure in “C:\Users\Public\Documents\MicroMaxBluetooth\Bluetooth\MAP“. The folder structure should be present as mentioned above. For example file contains the sample folder structure.
BEGIN:BMSG
VERSION:1.0
STATUS:READ
TYPE:SMS_GSM
FOLDER:telecom/msg/inbox
BEGIN:VCARD
VERSION:2.1
N:
TEL:MD-SILKROUT
END:VCARD
BEGIN:BENV
BEGIN:VCARD
VERSION:2.1
N:
END:VCARD
BEGIN:BBODY
CHARSET:UTF-8
LENGTH:158
BEGIN:MSG
Hello This is Message.
END:MSG
END:BBODY
END:BENV
END:BMSG
Creating a Harness for the MAP Profile testing using MxTransIt
1.Run MxVDev with Administrator mode.
2.Create an MxVDev project for Bluetooth MAP testing.
3.If necessary, select Simulation->Edit Harness from the MxVDev main menu to open MxTransIt.
4.To connect with the MAP profile, the local device has to pair first. Select the Bluetooth PairUnpair Transform from the MxTransIt Toolbox.
5.Set the properties of the Bluetooth PairUnpair Transform.
6.Since MAP is embedded in the HFP profile, add the BluetoothHFP Transform to the Harness by double-clicking in the Toolbox.
MAP Testing
1.Pair the local PC with the remote device using Pair/Unpair Device Signal as discussed in Pair/Unpair–Testing.
2.Connect the HFP profile as discussed in HFP Testing. (Note: Don’t generate an incoming call.)
After connecting the HFP profile, you can see the messages of the Local PC from the Remote device (for example, a hands-free device).
Note: The Remote device should have the application which can perform MAP Profile Client services.
The figure below shows accessing of messages from a Remote device.
Note: Using the BlueSoleil Emulator you can see the messages by right-clicking on the “Bluetooth Message” icon.