public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] bluez hcid v3.31 main.conf
@ 2008-05-22 23:09 David Stockwell
  2008-05-22 23:16 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: David Stockwell @ 2008-05-22 23:09 UTC (permalink / raw)
  To: BlueZ development


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

On startup, hcid attempts to load_config(CONFIGDIR "main.conf").  However, main.conf is missing.  This may have been a recent change in that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR "hcid.conf".

When I attempt to substitute HCID_CONFIG_FILE to load_config, load_config chokes on what is in that file.

So, what is/should be contained in main.conf?  Is the correct, or what should it be?  (In general, using a "magic filename" like "main.conf" is not a great practice, and perhaps makes the code base harder to maintain, especially when a #define with a similar purpose already exists in the headers...)

Thanks in advance,

David Stockwell

BTW, to those who are going to be there, enjoy Helsinki...one of the few places I have not yet been!

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] bluez hcid v3.31 main.conf
  2008-05-22 23:09 [Bluez-devel] bluez hcid v3.31 main.conf David Stockwell
@ 2008-05-22 23:16 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-05-22 23:16 UTC (permalink / raw)
  To: BlueZ development

Hi David,

> On startup, hcid attempts to load_config(CONFIGDIR "main.conf").   
> However, main.conf is missing.  This may have been a recent change  
> in that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR "hcid.conf".
>
> When I attempt to substitute HCID_CONFIG_FILE to load_config,  
> load_config chokes on what is in that file.
>
> So, what is/should be contained in main.conf?  Is the correct, or  
> what should it be?  (In general, using a "magic filename" like  
> "main.conf" is not a great practice, and perhaps makes the code base  
> harder to maintain, especially when a #define with a similar purpose  
> already exists in the headers...)

the main.conf contains settings for plugin loading. The file name is  
not set in stone yet. Simply ignore that error :)

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-22 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 23:09 [Bluez-devel] bluez hcid v3.31 main.conf David Stockwell
2008-05-22 23:16 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox