Linux bluetooth development
 help / color / mirror / Atom feed
From: Bluezapper <enigma_enu@yahoo.com>
To: Bluez Users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Bluez source code doubt
Date: Mon, 23 Apr 2007 09:49:30 -0700 (PDT)	[thread overview]
Message-ID: <419284.19431.qm@web43138.mail.sp1.yahoo.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 681 bytes --]

Hi,

I am sorry if this question is silly. I am new to Bluez and C socket programming. I was going through the bluez source code but did not understand the following statements from hcitool.c:

if (hci_read_remote_version(dd, handle, &version, 20000) == 0)

if (hci_read_remote_name(dd, &bdaddr, sizeof(name), name, 25000)== 0)


What are the numbers "25000" or "20000" in these statements and I see that they are different for different statments sometimes compared to less than zero or equal to zero ??


thanks in advance for your replies,

Marco.

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

[-- Attachment #1.2: Type: text/html, Size: 884 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2007-04-23 16:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 16:49 Bluezapper [this message]
2007-04-23 18:33 ` [Bluez-users] Bluez source code doubt Loreno Oliveira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419284.19431.qm@web43138.mail.sp1.yahoo.com \
    --to=enigma_enu@yahoo.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox