📄 structhfp__init__params.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BlueLab: hfp_init_params Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>hfp_init_params Struct Reference</h1>Configuration parameters passed into the hfp profile library in order for an Hfp profile instance to be created and initialised. <a href="#_details">More...</a><p><h2>Data Fields</h2><ul><li><a class="el" href="hfp_8h.html#a139">hfp_profile</a> <a class="el" href="structhfp__init__params.html#o0">supported_profile</a><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o1">supported_features</a><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o2">priority</a><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o3">size_service_record</a><li><a class="el" href="csrtypes_8h.html#a8">uint8</a> * <a class="el" href="structhfp__init__params.html#o4">service_record</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Configuration parameters passed into the hfp profile library in order for an Hfp profile instance to be created and initialised. <p>The library client (usually the application) must specify the profile to be supported. In the case of hands free it must also specify the set of supported features for that profile instance. Optionally, the client may also supply a service record. If the service_record pointer is set to null the default service record provided by the hfp library is used. If however the pointer is non null, this client supplied service record is used. The hfp library will still insert the correct rfcomm channel number into the service record but it will perform no other error checking on the record provided. The client provided service record may be fairly large so the hfp library will not attempt to take a local copy of the data. For the moment the hfp library assumes that the service record pointer is in const or that the client will not free the pointer for the lifetime of the application. <p><hr><h2>Field Documentation</h2><a class="anchor" name="o0" doxytag="hfp_init_params::supported_profile" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="hfp_8h.html#a139">hfp_profile</a> <a class="el" href="structhfp__init__params.html#o0">hfp_init_params::supported_profile</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Either headset or handsfree profile. </td> </tr></table><a class="anchor" name="o1" doxytag="hfp_init_params::supported_features" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o1">hfp_init_params::supported_features</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>See supported features flags above. </td> </tr></table><a class="anchor" name="o2" doxytag="hfp_init_params::priority" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o2">hfp_init_params::priority</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="o3" doxytag="hfp_init_params::size_service_record" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structhfp__init__params.html#o3">hfp_init_params::size_service_record</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Length of the service record provided by the client. </td> </tr></table><a class="anchor" name="o4" doxytag="hfp_init_params::service_record" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a8">uint8</a>* <a class="el" href="structhfp__init__params.html#o4">hfp_init_params::service_record</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Service record provided by the client. This is used when the application does not want to use the default service record provided by the hfp library. </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="hfp_8h.html">hfp.h</a></ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -