SlideShare una empresa de Scribd logo
1 de 19
[object Object]
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Check Bluetooth API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bluetooth Stack ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bluetooth Profiles ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bluetooth Profiles ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bluetooth Devices and Network ,[object Object],[object Object],[object Object],[object Object]
Bluetooth API- Organization ,[object Object],[object Object]
Bluetooth/OBEX API- Packages Packages Name Description javax.bluetooth.*; Core Bluetooth API, such as Discovery, L2CAP, and device and data interfaces and classes. javax.obex.*; Core Object Exchange (OBEX) APIs. Support is optional.
JSR 82-enable MIDlet ,[object Object]
Bluetooth API & GCF
Using Bluetooth API
Bluetooth Client & Server
Initializing the Bluetooth Application(Client) ... private  LocalDevice  localDevice ; // local Bluetooth Manager  private  DiscoveryAgent  discoveryAgent ; // discovery agent  ... /** * Initialize */  public void btInit() throws BluetoothStateException {  localDevice  = null;  discoveryAgent  = null; // Retrieve the local device to get to the Bluetooth Manager  localDevice  = LocalDevice.getLocalDevice();  // Retrieve the discoveryAgent to start inquiry discoveryAgent  = localDevice.getDiscoveryAgent(); // Servers set the discoverable mode to GIAC discoveryAgent .startInquiry(DiscoveryAgent.GIAC, this); } ...
Discover Bluetooth Enable Device(Client) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Get BT Services(Client) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example(Client) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],header.setHeader(HeaderSet.LENGTH,new Long(data.length)); HeaderSet headerset = clientSession.connect(header);  Operation operation = clientSession.put(header);  OutputStream outStream = operation.openDataOutputStream();  outStream.write(data);  outStream.close(); operation.close(); clientSession.disconnect(null); conn.close(); } catch (Exception ex) {   ex.printStackTrace();  }   } }
Bluetooth(Server) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]

Más contenido relacionado

Destacado

SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to JavaSMIJava
 
SMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMIJava
 
Jsr75 sup
Jsr75 supJsr75 sup
Jsr75 supSMIJava
 
Jsr120 sup
Jsr120 supJsr120 sup
Jsr120 supSMIJava
 
Jsr135 sup
Jsr135 supJsr135 sup
Jsr135 supSMIJava
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDPSMIJava
 
Push registrysup
Push registrysupPush registrysup
Push registrysupSMIJava
 

Destacado (7)

SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
SMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIMSMI - Introduction to JSR 75 PIM
SMI - Introduction to JSR 75 PIM
 
Jsr75 sup
Jsr75 supJsr75 sup
Jsr75 sup
 
Jsr120 sup
Jsr120 supJsr120 sup
Jsr120 sup
 
Jsr135 sup
Jsr135 supJsr135 sup
Jsr135 sup
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
Push registrysup
Push registrysupPush registrysup
Push registrysup
 

Similar a JSR 82 (bluetooth obex)

Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01nagapriyanka
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileSamiul Hoque
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01ramaswamireddy challa
 
Automated location tracking_using_bluetooth
Automated location tracking_using_bluetoothAutomated location tracking_using_bluetooth
Automated location tracking_using_bluetoothabyaz
 
JSR-82 Bluetooth tutorial
JSR-82 Bluetooth tutorialJSR-82 Bluetooth tutorial
JSR-82 Bluetooth tutorialSoham Sengupta
 
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGADesign and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGAAneesh Raveendran
 
A brief overview of BLE on Android
A brief overview of BLE on AndroidA brief overview of BLE on Android
A brief overview of BLE on AndroidLuka Bašek
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...mfrancis
 
Esp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_enEsp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_enShubham Jaiswal
 
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & ProtocolsAmazon Web Services
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Yongyoon Shin
 
Bharath Ram Chandrasekar_Tele 6603_SDN &NFV
Bharath Ram Chandrasekar_Tele 6603_SDN &NFVBharath Ram Chandrasekar_Tele 6603_SDN &NFV
Bharath Ram Chandrasekar_Tele 6603_SDN &NFVBharath Ram Chandrasekar
 
Connect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low EnergyConnect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low EnergyGabor Paller
 
HyWAI Web Bluetooth API
HyWAI Web Bluetooth APIHyWAI Web Bluetooth API
HyWAI Web Bluetooth APIJonathan Jeon
 

Similar a JSR 82 (bluetooth obex) (20)

Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable Mobile
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
Automated location tracking_using_bluetooth
Automated location tracking_using_bluetoothAutomated location tracking_using_bluetooth
Automated location tracking_using_bluetooth
 
Corba model ppt
Corba model pptCorba model ppt
Corba model ppt
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
JSR-82 Bluetooth tutorial
JSR-82 Bluetooth tutorialJSR-82 Bluetooth tutorial
JSR-82 Bluetooth tutorial
 
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGADesign and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
 
A brief overview of BLE on Android
A brief overview of BLE on AndroidA brief overview of BLE on Android
A brief overview of BLE on Android
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
 
Esp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_enEsp32 bluetooth networking_user_guide_en
Esp32 bluetooth networking_user_guide_en
 
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
 
Bluetooth.pptx
Bluetooth.pptxBluetooth.pptx
Bluetooth.pptx
 
Socket Programming w/ C# - IK
Socket Programming w/ C# - IKSocket Programming w/ C# - IK
Socket Programming w/ C# - IK
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
 
Bharath Ram Chandrasekar_Tele 6603_SDN &NFV
Bharath Ram Chandrasekar_Tele 6603_SDN &NFVBharath Ram Chandrasekar_Tele 6603_SDN &NFV
Bharath Ram Chandrasekar_Tele 6603_SDN &NFV
 
Connect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low EnergyConnect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low Energy
 
Profile_Prateek
Profile_PrateekProfile_Prateek
Profile_Prateek
 
Zig bee (8)
Zig bee (8)Zig bee (8)
Zig bee (8)
 
HyWAI Web Bluetooth API
HyWAI Web Bluetooth APIHyWAI Web Bluetooth API
HyWAI Web Bluetooth API
 

JSR 82 (bluetooth obex)

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Bluetooth/OBEX API- Packages Packages Name Description javax.bluetooth.*; Core Bluetooth API, such as Discovery, L2CAP, and device and data interfaces and classes. javax.obex.*; Core Object Exchange (OBEX) APIs. Support is optional.
  • 10.
  • 14. Initializing the Bluetooth Application(Client) ... private LocalDevice localDevice ; // local Bluetooth Manager private DiscoveryAgent discoveryAgent ; // discovery agent ... /** * Initialize */ public void btInit() throws BluetoothStateException { localDevice = null; discoveryAgent = null; // Retrieve the local device to get to the Bluetooth Manager localDevice = LocalDevice.getLocalDevice(); // Retrieve the discoveryAgent to start inquiry discoveryAgent = localDevice.getDiscoveryAgent(); // Servers set the discoverable mode to GIAC discoveryAgent .startInquiry(DiscoveryAgent.GIAC, this); } ...
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.