Files in the sample application

File

Description

AppScreen.java

screen that contains menu items that list the Bluetooth® enabled devices that the application is connected to and a menu item to begin listening for incoming connection requests

BluetoothDemo.java

application, which includes the main method that starts the application and displays the AppScreen screen

SSPScreen.java

  • screen that implements the BluetoothSerialPortListener interface
  • contains all the functions to listen to incoming connection requests, connect to an incoming client request, and send data to the Bluetooth enabled server device
  • also provides functions to connect to a Bluetooth enabled server device and to read messages received from the Bluetooth enabled client device
Next topic: System requirements
Previous topic: Featured interfaces

Was this information helpful? Send us your comments.