javabluetooth macherel bruno m2pgi - ufrima. 2 sommaire présentation de bluetooth caractéristique...
TRANSCRIPT
![Page 1: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/1.jpg)
JavaBluetoothJavaBluetooth
Macherel BrunoMacherel BrunoM2PGI - UFRIMAM2PGI - UFRIMA
![Page 2: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/2.jpg)
2
SommaireSommaire
Présentation de bluetooth Caractéristique Fonctionnement
Java Bluetooth (JSR-82) Protocoles / Profiles
![Page 3: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/3.jpg)
3
BluetoothBluetooth
Ericson, 1994 Bluetooth Special Interest Group (SIG)
Ericsson, Nokia, Intel, IBM, et Toshiba, Ericsson, Nokia, Intel, IBM, et Toshiba, 19981998
Commercialisation, 2001Commercialisation, 2001 Installation de composantsInstallation de composants Aucune configurationAucune configuration Multiplicité des connexions à des Multiplicité des connexions à des
périphériquespériphériques
![Page 4: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/4.jpg)
4
CaractéristiquesCaractéristiques
Ondes radios : 2400 – 2483,5 MHzOndes radios : 2400 – 2483,5 MHz Débit : 1 Mb/sDébit : 1 Mb/s Portée : 1 à 100m (1 à 100mW)Portée : 1 à 100m (1 à 100mW) Communication par paquetsCommunication par paquets
Encadrés par des blocs de données de Encadrés par des blocs de données de contrôlescontrôles DestinataireDestinataire Fréquence du bloc suivantFréquence du bloc suivant
Débit réel : 864 Kbits/sDébit réel : 864 Kbits/s
![Page 5: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/5.jpg)
5
FonctionnementFonctionnement
Canal d’émission découpé en slot Canal d’émission découpé en slot (625µs)(625µs) 1 paquet = 1 slot (~> 5 slots)1 paquet = 1 slot (~> 5 slots)
Saut de fréquence sur 79 canauxSaut de fréquence sur 79 canaux 1600 sauts/sec1600 sauts/sec
![Page 6: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/6.jpg)
6
255 appareils, 7 communications 255 appareils, 7 communications simultanéessimultanées
![Page 7: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/7.jpg)
7
États pour la station États pour la station esclaveesclave
Phase de découverte
Configuration
Connextion OKFin connextion
ConnectéConfiguration
Problème
![Page 8: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/8.jpg)
8
États pour la station États pour la station maîtremaître
Nouvelle connexion
Configuration
Connexion OK
ConnectéConfiguration OK
Fermeture de la connexion
Perte de lien Erreur de configuration
![Page 9: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/9.jpg)
9
BlueTooth 2BlueTooth 2
Annoncé le 8 novembre 2004Annoncé le 8 novembre 2004 Premiers terminaux intégrant BT2 : Premiers terminaux intégrant BT2 :
courant 2005courant 2005 Pressions de WiFi et ZigBeePressions de WiFi et ZigBee Fonctionnalités annoncéesFonctionnalités annoncées
Débit X 4 voir X 10Débit X 4 voir X 10 Consommation X 1/2Consommation X 1/2
![Page 10: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/10.jpg)
10
Java BluetoothJava Bluetooth
512 Ko512 Ko Service Discovery Protocol (SDP) RFCOMM (type 1 device support) Logical Link Control and Adaptation
Protocol (L2CAP)
![Page 11: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/11.jpg)
11
Java Bluetooth - Java Bluetooth - utilisationutilisation
Peer-to-Peer Networking Kiosk Data transmissions only Protocols:
L2CAP (connection-oriented only) RFCOMM SDP OBject Exchange protocol (OBEX)
Profiles: Generic Access Profile (GAP) Service Discovery Application Profile (SDAP) Serial Port Profile (SPP) Generic Object Exchange Profile (GOEP)
![Page 12: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/12.jpg)
12
Bluetooth protocolsBluetooth protocols
JSR-82
![Page 13: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/13.jpg)
13
Bluetooth profilesBluetooth profiles
JSR-82
![Page 14: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/14.jpg)
14
Structure de l’API Java Structure de l’API Java BluetoothBluetooth
DisoveryDisovery CommunicationCommunication Device managementDevice management
![Page 15: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/15.jpg)
15
Device & Service Device & Service DiscoveryDiscovery
DiscoveryAgent startInquiry() retrieveDevices()
DiscoveryListener servicesDiscovered() deviceDiscovered()
![Page 16: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/16.jpg)
16
Device managementDevice management
Generic Access Profile LocalDevice & RemoteDevice
Security Authentification Encryption Autorization Request for Master Role
![Page 17: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/17.jpg)
17
CommunicationCommunication
RFCOMM protocole
Logical Link Control and Adaptation Protocol (L2CAP)
OBEX protocole
![Page 18: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/18.jpg)
18
CommunicationCommunication
RFCOMM protocole Server
StreamConnectionNotifier service = (StreamConnectionNotifier) Connector.open(
“btspp://localhost:102030405060708090A1B1C1D1D1E100;name=SPPEx”);
StreamConnection con = (StreamConnection) service.acceptAndOpen();
ClientStreamConnection con =
(StreamConnection) Connector.open(“btspp://0050C000321B:5”);
![Page 19: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/19.jpg)
19
CommunicationCommunication
Logical Link Control and Adaptation Protocol Server
L2CAPConnectionNotifier server = (L2CAPConnectionNotifier)
Connector.open(“btl2cap://localhost:3B9FA89520078C303355AAA694238F08;
name=L2CAPEx”);L2CAPConnection con = (L2CAPConnection)server.acceptAndOpen();
ClientL2CAPConnection client = (L2CAPConnection)
Connector.open(“btl2cap://0050CD00321B:1001;ReceiveMTU=512;
TransmitMTU=512”);
![Page 20: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/20.jpg)
20
CommunicationCommunication
OBEX protocole (by IrDA) Opérations :
CONNECT, DISCONNECT PUT, GET SETPATH, ABORT, CREATE-EMPTY, PUT-DELETE
![Page 21: JavaBluetooth Macherel Bruno M2PGI - UFRIMA. 2 Sommaire Présentation de bluetooth Caractéristique Fonctionnement Java Bluetooth (JSR-82) Protocoles](https://reader033.vdocuments.site/reader033/viewer/2022051614/551d9db7497959293b8dbd08/html5/thumbnails/21.jpg)
21
DémoDémo