From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] magic constants in sdptool.c From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <06CCEA2EB1B80A4A937ED59005FA85518805BE@svits26.main.ad.rit.edu> References: <06CCEA2EB1B80A4A937ED59005FA85518805BE@svits26.main.ad.rit.edu> Content-Type: text/plain Message-Id: <1139309295.7633.2.camel@localhost> Mime-Version: 1.0 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: Tue, 07 Feb 2006 11:48:15 +0100 Hi Christopher, > static int cmd_records(int argc, char **argv) > { > ... > uint32_t base[] = { 0x10000, 0x1002e, 0x110b }; > ... > } > > Where do these magic constants come from? these are record handles found in the available devices on the market. Regards Marcel ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C62B4D.4942BA7F" Message-ID: <06CCEA2EB1B80A4A937ED59005FA85518805BE@svits26.main.ad.rit.edu> From: "Christopher E Piggott" To: Subject: [Bluez-devel] magic constants in sdptool.c 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: Mon, 6 Feb 2006 13:43:57 -0500 This is a multi-part message in MIME format. ------_=_NextPart_001_01C62B4D.4942BA7F Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable static int cmd_records(int argc, char **argv) { ... uint32_t base[] =3D { 0x10000, 0x1002e, 0x110b }; ... } =20 Where do these magic constants come from? =20 --Chris =20 -- Christopher Piggott Sr. Staff Engineer Systems Modernization and Sustainment Center Mailstop 78-1220 Rochester Institute of Technology 133 Lomb Memorial Drive Rochester, NY 14523 (585) 475-4664 =20 =20 ------_=_NextPart_001_01C62B4D.4942BA7F Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
static int cmd_records(int argc, char=20 **argv)
{
    ...
    = uint32_t base[]=20 =3D { 0x10000, 0x1002e, 0x110b };
   =20 ...
}
 
Where do these magic constants come=20 from?
 
--Chris
 
--
Christopher = Piggott
Sr. Staff = Engineer
Systems Modernization and = Sustainment=20 Center
Mailstop = 78-1220
Rochester Institute of=20 Technology
133 Lomb Memorial = Drive
Rochester, NY = 14523
(585) = 475-4664
 
 
------_=_NextPart_001_01C62B4D.4942BA7F-- ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel