Bluetooth Transforms are no longer supported.
With the SMS profile, you can send a short message (text message) from the Local device by using the Remote Device/Remote Phone. To connect with the SMS profile, the remote device should first be paired with the local device. So to test the SMS profile, use the Pair/Unpair Transform along with the SMS Transform. In the Pair/Unpair Transform, specify the Bluetooth address of the remote device.
Prerequisite
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).
Creating a Harness for the Bluetooth SMS Connector using MxTransIt
1.Create an MxVDev project for Bluetooth SMS testing.
2.If necessary, select Simulation->Edit Harness from the MxVDev main menu to open MxTransIt.
3.To connect with the SMS profile, the local device has to pair first. Select the Bluetooth PairUnpair Transform from the MxTransIt Toolbox.
4.Set the properties of the Bluetooth PairUnpair Transform.
5.Add the Bluetooth SMS Transform to the Harness by double-clicking in the Toolbox.
Export the Ports
1.Right-click on the BluetoothTransform PairUnpair Transform and export the ports.
2.Right-click on the BluetoothSMS Transform and export the ports as shown below.
Step 3: After selecting Export ports Export ports form will displayed as shown below
4.Select the required ports from the list of available ports
5.Click OK to export all selected ports to MxVDev.
6.Click to save the harness.
Ports
Inport |
|
SendSMS |
This is a message Signal used to send the SMS with a Mobile Number and SMS Body. In MxVDev, double-click on the Signal to display this dialog and create a transition. |
SMS Testing
1.Pair the local PC with the remote device (mobile phone) using Pair command as discussed in Pair/Unpair–Testing.
2.Create a Scenario and TestCase using the SendSMS Signal.
3.Create a transition containing the message on the SendSMS Signal.
4.Run the Scenario.
The receiver (the phone with specified number) receives the SMS.
In the sample TestCase below, an SMS is transmitted at time 1 seconds.