java me - Is there possible for communicate between piconet to another piconet -
in previous question posted in how communicate mobile devices using bluetooth in j2me have asked question based on bluetooth. got ideas implementing client server communication. here ask question based on communication between piconet piconet. possible? master device has communicate slave in piconet master , slave piconet slave of own piconet.
can please give me guideline , articles problem.
please me..
thankx in advance
in bluetooth, master initiates communications slave. @ baseband level master polls slave. however, @ application (api) level, abstracted away allowing both master send slave , slave send master.
the situation describe scatternet. bluetooth specification allows scatternet occur. bluetooth stack using may impose restrictions on whether scatternet allowed and, more generally, master/slave configurations allowed (e.g., number of concurrent slaves allowed).
you'll find that, when interacting devices, role switch requested prevent scatternets. example, remote device (master) may initiate connection cell phone (slave); once connection established, cell phone requests role switch, becoming master. allows phone remain master in connections , prevents scatternets forming. depending on api, role switch may transparent application. won't know happened without air trace protocol analyzer. notice performance hit, slave cannot transmit master can (since slave not "drive" connection).
jsr-82 not allow request role switch, per se. if @ servicerecord.getconnectionurl(int, boolean)
, see can require device master (by passing true
) or can allow master or slave mode (by passing false
).
the bluetooth specification (available here) place start understand how piconets , scatternets work. should refer jsr-82 documentation and, if possible, stack's documentation better feel of stack-specific limitations may present.
Comments
Post a Comment