Skip to end of metadata
Go to start of metadata

This article describes how to run a demonstration of a simple TransferJet link between two HDPs using the Obex protocol. You will need two HDP platforms with the latest BSP software and TransferJet Demonstration application.

HDP mode assignment

The HDP mode assignment is controlled through DIP SW4 with the tabulated assignment settings allowing either Flexible or Reactive mode.  Where an automatic connection is established, the service selection will be made by the device with service selection precedence as indicated in the table.  Otherwise, the mode selection will be controlled by the initiating device.

 

DIP SW4HDP Mode
Assignment 
Other Device
Compatibility
Automatic
Connection
Service
Selection Precedence
OnFlexible

Reactive

YesHDP
ProactiveYesOther Device
OffReactiveReactiveNoInitiating Device
FlexibleYesOther Device
ProactiveYesOther Device

 

Only the following combinations of DIP SW4 settings are permitted across two separate HDP boards: On/Off, Off/Off or Off/On.

Supported service modes

 

GUI Mode IndicatorFunctionsDescription
NoneAny

Mode shall transition to Obex Client if a connection is initiated.

Mode shall transition to Obex Server if a connection is solicited .

Obex ClientSend File
Send Video
Send Performance 
Mode shall transition to None once connection is dropped,
Obex Server

Receive File
Receive Video
Receive Performance 

Mode shall transition to None once connection is dropped.

 

Steps

Proceed with the following:

  1. Ensure a coupler is fitted to connector J1 on each HDP
  2. Plug in a HDMI monitor to J17 or a Freescale MCIMX28LCD LCD display into J2. You must have selected the appropriate output in u-boot to support the display you wish to use i.e., HDMI or LCD.
  3. Ensure one of the supported combinations of HDP modes are selected via DIP SW4 on each board i.e., On/Off, Off/Off or Off/On.
  4. Power up both HDPs and wait for the boot process to complete and the TransferJet application (with the speed dial) to be displayed on the screen.
    • In the case of Off/Off, the selected service is determined by the board that initiates a connection following pressing SW1 i.e., initially both boards will show their mode as "None".  The initiating board will then be assigned as "Obex Client" and the other board will be assigned as "Obex Server".
    • Otherwise, the assignment is such that On=>Obex Client, Off=>Obex Server.
  5. There are three coloured blocks at the bottom of the display labelled “Performance”, “Connected”, and “Video”. These are described in the table below.
  6. To initiate a TransferJet speed test, ensure the couplers are almost touching and briefly press button SW1 on a board with a mode assignment of "None" or "Obex Client". The speed dial shows the net data rate across the link
    • To end the speed test briefly press button SW1 on the same board
  7. To initiate a TransferJet video transfer demonstration, instead, press button SW1 for more than half a second and release. A video will run on the local display, which is being transferred across the link and with a brief delay shown on the remote display.
    • To end the video transfer press button SW1 for more than half a second on the same board

SW1 functions

Assigned ModeOperationAction

None / Obex Client

Short Press (<0.4s)

Toggle performance test data transmission on/off

If performance is toggled on, switch display to speed-o-meter

Long Press (>0.4s)

Toggle video data transmission on/off

If video is toggled on, switch display to video

V2.0.4 Longer Press (>2.0s)Initiate file transfer of all files from "outgoing" directory on inserted USB drive media.
Obex Server Short Press (<0.4s)Navigate to speed-o-meter display
Long Press (>0.4s)Navigate to video display

 

SW3 functions

ModeOperationAction
AnyV2.0.4 Short Press

Toggle screen vertical orientation

 

GUI Status/Control Buttons

ButtonRedGreen
PerformanceNot sending/receivingSending/receiving
ConnectedNot connectedConnected
VideoStoppedPlaying

 

V2.0.4 Receiving files from TransferJet dongle enabled devices

It is possible to receive files on an HDP board from another device such as a Windows PC or Android Mobile that has the TransferJet dongle and Toshiba file transfer software installed.  In order to do this, you will require a USB flash drive with a folder created in its root directory called incoming.  This directory is used to store files received from other devices.

Firstly, insert the USB flash drive into the USB port on the HDP board.  The status display will indicate detection of a valid storage device by changing the USB Drive status from Empty to Inserted.

Now, initiate the send files function on your TransferJet enabled device and bring the device's TransferJet dongle into range of the RF coupler attached to the HDP board fitted with a USB flash drive.  Once in range, the file transfer will start automatically and a "File receive" dialog box will pop-up indicating the name of the file being saved to the USB drive and its size.

 

 

Once all file transfers have completed the dialog box will disappear.

V2.0.4 Sending files to TransferJet dongle enabled devices

It is possible to send files from an HDP board to another device such as a Windows PC or Android Mobile that has the TransferJet dongle and Toshiba file transfer software installed.  In order to do this, you will require a USB flash drive with a folder created in its root directory called outgoing.  This directory is used to store files to be sent from the HDP to other devices so, before you start, populate this directory with any files you wish to transfer.

Then, insert the USB flash drive into the USB port on the HDP board.  The status display will indicate detection of a valid storage device by changing the USB Drive status from Empty to Inserted.

Now, initiate the send files function on your HDP by pressing and holding SW1 for at least two seconds and bring the receiving device's TransferJet dongle into range of the RF coupler attached to the HDP board fitted with a USB flash drive.  Once in range, the file transfer will start automatically and a "File send" dialog box will pop-up indicating the name of the file being sent from the USB drive.

 

Once all file transfers have completed the dialog box will disappear.

Example demo arrangement using LCD display

hdp_demo_setup

Vertical display orientation

Icon

If you are unable to achieve a side-by-side arrangement as depicted above (e.g., coupler cable length is too short) then it is possible to position the boards such that both J1 connectors are facing one another. This may inevitably lead to the vertical display orientations being flipped relative to one another. Refer to Vertically flipping the video display to overcome this.