You Are Here:

Community: Wiki

This page was last modified on 15 February 2008, at 23:34.

API Bluetooth

From Forum Nokia Wiki

Original: Bluetooth API

A Java APIs for Bluetooth (JSR 82) é um pacote opcional que permite a comunicação utilizando a tecnologia sem fio Bluetooth. Essa especificação foi criada para funcionar em cima do GCF (Generic Connection Framework) do Java ME.

Estrutura de aplicações Bluetooth utilizando Java ME (MIDP/CLDC):

Image:btooth_stack.jpg

A JSR 82 é formada por dois pacotes:

  • javax.bluetooth - Contém toda parte de busca por dispositivos, pesquisa por serviços, protocolo de comunicação L2CAP e RFCOMM, ou seja, todo o core.
  • javax.obex - Esse pacote é opcional dentro da própria API, porém com a MSA (Mobile Service Architecture), ele passará a ser obrigatório quando for implementado a JSR 82 no dispositivo. Contém a parte relativa ao protocolo de comunicação OBEX (Object Exchange), que está uma camada acima do RFCOMM.

Veja o exemplo Bluetooth Chat HelloWorld.

Links

Especificação JCP:

http://jcp.org/en/jsr/detail?id=82

Mobile & Embedded Community JSR-82 Wiki Page:

http://wiki.java.net/bin/view/Mobileandembedded/BluetoothResources

Sun:

http://developers.sun.com/techtopics/mobility/midp/articles/bluetooth2/

Nokia:

http://forum.nokia.com/main/resources/technologies/connectivity/documentation.html#java

SonyEricsson:

http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_java_gps_receiver_bluetooth.jsp http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_bluetooth_sketchboard.jsp http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_tips_java_1202.jsp

Vário exemplos e artigos para Bluetooth (JSR 82):

http://www.benhui.net/modules.php?name=Bluetooth

Outras ajudas:

http://www.webpronews.com/topnews/2004/12/13/introduction-to-bluetooth-and-jme http://www.microjava.com/articles/techtalk/bluetooth

Projetos:

Marge, Java Bluetooth Framework - http://marge.dev.java.net/

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fThemesE3aHomeE5fScreenX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ