Return-Path: Message-ID: <94e407f00512010820u6d621d8auca86ad91d9a704a7@mail.gmail.com> From: Arpit Rai To: bluez-devel@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11786_10252220.1133454027434" Subject: [Bluez-devel] Definition of hci_conn_info_req Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 2 Dec 2005 00:20:27 +0800 ------=_Part_11786_10252220.1133454027434 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Another basic question.The statement below is a request to establish connection with a remote device,right? struct hci_conn_info_req *cr; cr =3D malloc(sizeof(*cr) + sizeof(struct hci_conn_info)); Now,is &cr->bdaddr supposed to be the remote device bluetooth address? When I convert this value to string and output it, it doesn't give me the correct value for the remote bluetooth device. It returns 08:04:9A:AC:00:00= . Doesn't make sense to me. Regards Arpit ------=_Part_11786_10252220.1133454027434 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi

Another basic question.The statement below is a request to establish connec= tion with a remote device,right?

struct hci_conn_info_req *cr;
cr =3D malloc(sizeof(*cr) + sizeof(struct hci_conn_info));

Now,is &cr->bdaddr supposed to be the remote device bluetooth addres= s?

When I convert this value to string and output it, it doesn't give me the correct value for the remote bluetooth device. It returns 08:04:9A:AC:00:00. Doesn't make sense to me.

Regards
Arpit



------=_Part_11786_10252220.1133454027434-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel