|
Re: More Bluetooth questions...: msg#00052java.sun.kvm
Hi, > (1) getFriendlyName does not seem to work for remote devices, only for your > own local device. I am using the boolean true value for alwaysAsk. Anyone > know how to get this working? Well, when you create your client connection (the one that will acceptAndOpen(), you can use this kind of URL: String url = "btspp://localhost:" + service_UUID + ";name=" + player_name; Then to search it properly: UUID[] u = new UUID[1]; u[0] = new UUID( service_UUID, false ); int attrbs[] = {0x0100}; // name // ... disc_agent.searchServices( attrbs, u, ( RemoteDevice ) devices. nextElement(), serv_listener ); Then when you get a service record: String player_name = ( String ) foundServiceRecord. getAttributeValue( 0x0100 ).getValue(); > (2) There is a slight latency when sending data continually over RFCOMM, is > the latency *significantly* reduced if I move to L2CAP? Dunno exactly, but sounds like the latency will be very close to the one using RFCOMM.. /David =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | More Bluetooth questions..., Peter Rogers |
|---|---|
| Next by Date: | Re: More Bluetooth questions..., Stephen Crane |
| Previous by Thread: | More Bluetooth questions..., Peter Rogers |
| Next by Thread: | Re: More Bluetooth questions..., Stephen Crane |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |