?? goep_8h.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: goep.h File 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>goep.h File Reference</h1>Interface to the Generic Object Exchange Profile (GOEP) library. <a href="#_details">More...</a><p><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct_g_o_e_p___i_n_i_t___c_f_m___t.html">GOEP_INIT_CFM_T</a><dl class="el"><dd class="mdescRight">This message returns the result of a geopInit attempt. <a href="struct_g_o_e_p___i_n_i_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___c_h_a_n_n_e_l___i_n_d___t.html">GOEP_CHANNEL_IND_T</a><dl class="el"><dd class="mdescRight">This message returns the result of a GoepGetChannel call. <a href="struct_g_o_e_p___c_h_a_n_n_e_l___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___c_o_n_n_e_c_t___i_n_d___t.html">GOEP_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message indicated that a remote GOEP client is attempting to connect to a server. <a href="struct_g_o_e_p___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___c_o_n_n_e_c_t___c_f_m___t.html">GOEP_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">This message returns the result of a GoepConnect attempt. <a href="struct_g_o_e_p___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___a_u_t_h___r_e_q_u_e_s_t___i_n_d___t.html">GOEP_AUTH_REQUEST_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when the remote server requests authentication during connection. <a href="struct_g_o_e_p___a_u_t_h___r_e_q_u_e_s_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___a_u_t_h___r_e_s_u_l_t___i_n_d___t.html">GOEP_AUTH_RESULT_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when the remote client returns the result of authentication during connection. <a href="struct_g_o_e_p___a_u_t_h___r_e_s_u_l_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">GOEP_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message returns the result of a GoepDisconnect attempt. <a href="struct_g_o_e_p___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___p_u_t___c_o_m_p_l_e_t_e___i_n_d___t.html">GOEP_LOCAL_PUT_COMPLETE_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when the final packet has been sent. <a href="struct_g_o_e_p___l_o_c_a_l___p_u_t___c_o_m_p_l_e_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___p_u_t___d_a_t_a___r_e_q_u_e_s_t___i_n_d___t.html">GOEP_LOCAL_PUT_DATA_REQUEST_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when more data has been requested. <a href="struct_g_o_e_p___l_o_c_a_l___p_u_t___d_a_t_a___r_e_q_u_e_s_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___g_e_t___s_t_a_r_t___i_n_d___t.html">GOEP_LOCAL_GET_START_IND_T</a><dl class="el"><dd class="mdescRight">This message is receieved when a GET request starts. <a href="struct_g_o_e_p___l_o_c_a_l___g_e_t___s_t_a_r_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___g_e_t___d_a_t_a___i_n_d___t.html">GOEP_LOCAL_GET_DATA_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when more of the data requested has arrived. <a href="struct_g_o_e_p___l_o_c_a_l___g_e_t___d_a_t_a___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___g_e_t___c_o_m_p_l_e_t_e___i_n_d___t.html">GOEP_LOCAL_GET_COMPLETE_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a GET requested has completed. <a href="struct_g_o_e_p___l_o_c_a_l___g_e_t___c_o_m_p_l_e_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___s_t_a_r_t___i_n_d___t.html">GOEP_REMOTE_PUT_START_IND_T</a><dl class="el"><dd class="mdescRight">This message is receieved when a Remote PUT request starts. <a href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___s_t_a_r_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___d_a_t_a___i_n_d___t.html">GOEP_REMOTE_PUT_DATA_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when more of the data requested has arrived. <a href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___d_a_t_a___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___c_o_m_p_l_e_t_e___i_n_d___t.html">GOEP_REMOTE_PUT_COMPLETE_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a Remote PUT requested has completed. <a href="struct_g_o_e_p___r_e_m_o_t_e___p_u_t___c_o_m_p_l_e_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___s_t_a_r_t___i_n_d___t.html">GOEP_REMOTE_GET_START_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a remote client initiates a GET request. <a href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___s_t_a_r_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___m_o_r_e___d_a_t_a___r_e_q_u_e_s_t___i_n_d___t.html">GOEP_REMOTE_GET_MORE_DATA_REQUEST_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when the remote host has requested more data. <a href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___m_o_r_e___d_a_t_a___r_e_q_u_e_s_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___c_o_m_p_l_e_t_e___i_n_d___t.html">GOEP_REMOTE_GET_COMPLETE_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when GET completes. <a href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___c_o_m_p_l_e_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___d_e_l_e_t_e___c_f_m___t.html">GOEP_DELETE_CFM_T</a><dl class="el"><dd class="mdescRight">This message is received when a Delete completes. <a href="struct_g_o_e_p___d_e_l_e_t_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___d_e_l_e_t_e___i_n_d___t.html">GOEP_DELETE_IND_T</a><dl class="el"><dd class="mdescRight">This message is receieved when a remote client starts a PUT request to delete an object. <a href="struct_g_o_e_p___d_e_l_e_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___s_e_t___p_a_t_h___c_f_m___t.html">GOEP_SET_PATH_CFM_T</a><dl class="el"><dd class="mdescRight">This message returns the result of a GoepSetPath attempt. <a href="struct_g_o_e_p___s_e_t___p_a_t_h___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___s_e_t___p_a_t_h___i_n_d___t.html">GOEP_SET_PATH_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a remote client issues a SET PATH request. <a href="struct_g_o_e_p___s_e_t___p_a_t_h___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___g_e_t___a_p_p___h_e_a_d_e_r_s___i_n_d___t.html">GOEP_GET_APP_HEADERS_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a remote client issues a SET PATH request. <a href="struct_g_o_e_p___g_e_t___a_p_p___h_e_a_d_e_r_s___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___l_o_c_a_l___g_e_t___s_t_a_r_t___h_d_r_s___i_n_d___t.html">GOEP_LOCAL_GET_START_HDRS_IND_T</a><dl class="el"><dd class="mdescRight">This message is receieved when a GET request starts which contains App. Specific Headers. <a href="struct_g_o_e_p___l_o_c_a_l___g_e_t___s_t_a_r_t___h_d_r_s___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___s_t_a_r_t___h_d_r_s___i_n_d___t.html">GOEP_REMOTE_GET_START_HDRS_IND_T</a><dl class="el"><dd class="mdescRight">This message is received when a remote client initiates a GET request which contains App. Specific Headers.. <a href="struct_g_o_e_p___r_e_m_o_t_e___g_e_t___s_t_a_r_t___h_d_r_s___i_n_d___t.html#_details">More...</a><br></dl></ul><h2>Set Path flag bits</h2><ul><li>#define <a class="el" href="goep_8h.html#a2">GOEP_PATH_PARENT</a> (1<<0)<dl class="el"><dd class="mdescRight">Instruct the GOEP library to change folder to the parent of the current folder. <a href="#a2"></a><br></dl><li>#define <a class="el" href="goep_8h.html#a3">GOEP_PATH_NOCREATE</a> (1<<1)<dl class="el"><dd class="mdescRight">Don't create a folder if the required SETPATH folder does not exist. <a href="#a3"></a><br></dl></ul><h2>Defines</h2><ul><li>#define <a class="el" href="goep_8h.html#a0">GOEP_SIZE_DIGEST</a> 16<dl class="el"><dd class="mdescRight">Size of a MD5 Digest String. <a href="#a0"></a><br></dl><li>#define <a class="el" href="goep_8h.html#a1">GOEP_SIZE_MD5_STRING</a> 32<dl class="el"><dd class="mdescRight">Maximum size of a MD5 String. Used for the Realm string in the request and the UserID in the response. Longer realms will be truncated to this. <a href="#a1"></a><br></dl><li>#define <a class="el" href="goep_8h.html#a4">GOEP_MESSAGE_BASE</a> 0x6a00<dl class="el"><dd class="mdescRight">Upstream Messages for the GOEP Library. <a href="#a4"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef __goepState <a class="el" href="goep_8h.html#a5">GOEP</a></ul><h2>Enumerations</h2><ul><li>enum <a class="el" href="goep_8h.html#a70">goep_serv_role</a> { <br> <a class="el" href="goep_8h.html#a70a6">goep_Client</a>, <br> <a class="el" href="goep_8h.html#a70a7">goep_Server</a><br> }<dl class="el"><dd class="mdescRight">The GOEP service role. <a href="#a70">More...</a><br></dl><li>enum <a class="el" href="goep_8h.html#a71">goep_serv_class</a> { <br> <a class="el" href="goep_8h.html#a71a8">goep_OBEX</a> = 0x1105, <br> <a class="el" href="goep_8h.html#a71a9">goep_FTP</a> = 0x1106, <br> <a class="el" href="goep_8h.html#a71a10">goep_PBAP_PCE</a> = 0x112e, <br> <a class="el" href="goep_8h.html#a71a11">goep_PBAP_PSE</a> = 0x112f<br> }<dl class="el"><dd class="mdescRight">The GOEP service classes. <a href="#a71">More...</a><br></dl><li>enum <a class="el" href="goep_8h.html#a72">goep_lib_status</a> { <br> <a class="el" href="goep_8h.html#a72a12">goep_success</a>, <br> <a class="el" href="goep_8h.html#a72a13">goep_failure</a>, <br> <a class="el" href="goep_8h.html#a72a14">goep_invalid_command</a>, <br> <a class="el" href="goep_8h.html#a72a15">goep_invalid_parameters</a>, <br> <a class="el" href="goep_8h.html#a72a16">goep_connect_unauthorised</a>, <br> <a class="el" href="goep_8h.html#a72a17">goep_host_abort</a>, <br> <a class="el" href="goep_8h.html#a72a18">goep_local_abort</a>, <br> <a class="el" href="goep_8h.html#a72a19">goep_remote_disconnect</a>, <br> <a class="el" href="goep_8h.html#a72a20">goep_server_unsupported</a>, <br> <a class="el" href="goep_8h.html#a72a21">goep_server_invalid_serv</a>, <br> <a class="el" href="goep_8h.html#a72a22">goep_connection_refused</a>, <br> <a class="el" href="goep_8h.html#a72a23">goep_setpath_notfound</a>, <br> <a class="el" href="goep_8h.html#a72a24">goep_setpath_unauthorised</a>, <br> <a class="el" href="goep_8h.html#a72a25">goep_get_badrequest</a>, <br> <a class="el" href="goep_8h.html#a72a26">goep_get_forbidden</a>, <br> <a class="el" href="goep_8h.html#a72a27">goep_get_notfound</a>, <br> <a class="el" href="goep_8h.html#a72a28">goep_transport_failure</a>, <br> <a class="el" href="goep_8h.html#a72a29">goep_connect_cancelled</a>, <br> <a class="el" href="goep_8h.html#a72a30">goep_end_of_status_list</a><br> }<dl class="el"><dd class="mdescRight">The GOEP status. <a href="#a72">More...</a><br></dl><li>enum <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> { <br> <a class="el" href="goep_8h.html#a73a31">goep_svr_resp_OK</a>, <br> <a class="el" href="goep_8h.html#a73a32">goep_svr_resp_Continue</a>, <br> <a class="el" href="goep_8h.html#a73a33">goep_svr_resp_BadRequest</a>, <br> <a class="el" href="goep_8h.html#a73a34">goep_svr_resp_Forbidden</a>, <br> <a class="el" href="goep_8h.html#a73a35">goep_svr_resp_Unauthorized</a>, <br> <a class="el" href="goep_8h.html#a73a36">goep_svr_resp_NotFound</a>, <br> <a class="el" href="goep_8h.html#a73a37">goep_svr_resp_PreConFail</a>, <br> <a class="el" href="goep_8h.html#a73a38">goep_svr_resp_ServUnavailable</a>, <br> <a class="el" href="goep_8h.html#a73a39">goep_svr_resp_end_of_list</a><br> }<dl class="el"><dd class="mdescRight">Response codes sent back to a remote client from a local server. <a href="#a73">More...</a><br></dl></ul><h2>Functions</h2><ul><li>void <a class="el" href="goep_8h.html#a40">GoepInit</a> (<a class="el" href="struct_task_data.html">Task</a> theAppTask, const <a class="el" href="goep_8h.html#a70">goep_serv_role</a> role, const <a class="el" href="goep_8h.html#a71">goep_serv_class</a> servClass)<dl class="el"><dd class="mdescRight">Initialise the GOEP Library. <a href="#a40"></a><br></dl><li>void <a class="el" href="goep_8h.html#a41">GoepGetChannel</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">Get an RFCOMM channel to use with this GOEP Instance. <a href="#a41"></a><br></dl><li>void <a class="el" href="goep_8h.html#a42">GoepConnect</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, const <a class="el" href="structbdaddr.html">bdaddr</a> *bdAddr, <a class="el" href="csrtypes_8h.html#a8">uint8</a> rfc_channel, <a class="el" href="csrtypes_8h.html#a4">uint16</a> maxPacketSize, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_target, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *target)<li>void <a class="el" href="goep_8h.html#a43">GoepConnectAuthChallenge</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *nonce, <a class="el" href="csrtypes_8h.html#a8">uint8</a> options, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_realm, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *realm)<li>void <a class="el" href="goep_8h.html#a44">GoepConnectAuthResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *digest, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_userid, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *userid, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *nonce)<li>void <a class="el" href="goep_8h.html#a45">GoepConnectResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result, <a class="el" href="csrtypes_8h.html#a4">uint16</a> maxPacketSize)<li>void <a class="el" href="goep_8h.html#a46">GoepDisconnect</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">Close an GOEP Connection with a server. <a href="#a46"></a><br></dl><li>void <a class="el" href="goep_8h.html#a47">GoepSetPath</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> flags, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_folder, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *folder)<dl class="el"><dd class="mdescRight">Set the current folder. <a href="#a47"></a><br></dl><li>void <a class="el" href="goep_8h.html#a48">GoepRemoteSetPathResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result)<li>void <a class="el" href="goep_8h.html#a49">GoepDelete</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name)<dl class="el"><dd class="mdescRight">Delete an Object. <a href="#a49"></a><br></dl><li>void <a class="el" href="goep_8h.html#a50">GoepRemoteDeleteResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result)<dl class="el"><dd class="mdescRight">Respond to a Delete request from a client. <a href="#a50"></a><br></dl><li>void <a class="el" href="goep_8h.html#a51">GoepLocalPutFirst</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *packet, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totalLen, <a class="el" href="csrtypes_8h.html#a9">bool</a> onlyPacket)<dl class="el"><dd class="mdescRight">Put the first packet of an object. <a href="#a51"></a><br></dl><li>void <a class="el" href="goep_8h.html#a52">GoepLocalPutFirstType</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *packet, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totalLen, <a class="el" href="csrtypes_8h.html#a9">bool</a> onlyPacket)<dl class="el"><dd class="mdescRight">Put the first packet of an object. <a href="#a52"></a><br></dl><li>void <a class="el" href="goep_8h.html#a53">GoepLocalPutNextPacket</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *packet, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Put the next packet of a multi-packet object. <a href="#a53"></a><br></dl><li>void <a class="el" href="goep_8h.html#a54">GoepLocalPutFirstSource</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, <a class="el" href="source___8h.html#a0">Source</a> src, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totalLen, <a class="el" href="csrtypes_8h.html#a9">bool</a> onlyPacket)<dl class="el"><dd class="mdescRight">Put the first packet of an object. <a href="#a54"></a><br></dl><li>void <a class="el" href="goep_8h.html#a55">GoepLocalPutFirstTypeSource</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, <a class="el" href="source___8h.html#a0">Source</a> src, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totalLen, <a class="el" href="csrtypes_8h.html#a9">bool</a> onlyPacket)<dl class="el"><dd class="mdescRight">Put the first packet of an object. <a href="#a55"></a><br></dl><li>void <a class="el" href="goep_8h.html#a56">GoepLocalPutNextPacketSource</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_packet, <a class="el" href="source___8h.html#a0">Source</a> src, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Put the next packet of a multi-packet object. <a href="#a56"></a><br></dl><li>void <a class="el" href="goep_8h.html#a57">GoepLocalGetFirstPacket</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type)<dl class="el"><dd class="mdescRight">Start a GET transaction and wait for the first packet. <a href="#a57"></a><br></dl><li>void <a class="el" href="goep_8h.html#a58">GoepLocalGetAck</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">Acknowledge the reception if this packet and get the next one. <a href="#a58"></a><br></dl><li>void <a class="el" href="goep_8h.html#a59">GoepRemotePutResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result)<li>void <a class="el" href="goep_8h.html#a60">GoepRemotePutResponseAck</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">Acknowledge the receiption of a Remote PUT packet and request the next one. <a href="#a60"></a><br></dl><li>void <a class="el" href="goep_8h.html#a61">GoepRemoteGetResponse</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totLen, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_data, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *data, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Send the first response to a Remote Get request. <a href="#a61"></a><br></dl><li>void <a class="el" href="goep_8h.html#a62">GoepRemoteGetResponsePkt</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_data, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *data, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Send a subsequent response to a Remote Get request. <a href="#a62"></a><br></dl><li>void <a class="el" href="goep_8h.html#a63">GoepRemoteGetResponseSource</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totLen, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_data, <a class="el" href="source___8h.html#a0">Source</a> src, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Send the first response to a Remote Get request. <a href="#a63"></a><br></dl><li>void <a class="el" href="goep_8h.html#a64">GoepRemoteGetResponsePktSource</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_data, <a class="el" href="source___8h.html#a0">Source</a> src, <a class="el" href="csrtypes_8h.html#a9">bool</a> lastPacket)<dl class="el"><dd class="mdescRight">Send a subsequent response to a Remote Get request. <a href="#a64"></a><br></dl><li>void <a class="el" href="goep_8h.html#a65">GoepAbort</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">Abort the current multi-packet transaction. <a href="#a65"></a><br></dl><li>void <a class="el" href="goep_8h.html#a66">GoepPacketComplete</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep)<dl class="el"><dd class="mdescRight">The packet received has been processed and is no longer needed. <a href="#a66"></a><br></dl><li>void <a class="el" href="goep_8h.html#a67">GoepSendAppSpecificPacket</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> len_used)<dl class="el"><dd class="mdescRight">Send a packet containing Application Specific Headers. <a href="#a67"></a><br></dl><li>void <a class="el" href="goep_8h.html#a68">GoepLocalGetFirstPacketHeaders</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type)<dl class="el"><dd class="mdescRight">Start a GET transaction using application specific headers. <a href="#a68"></a><br></dl><li>void <a class="el" href="goep_8h.html#a69">GoepRemoteGetResponseHeaders</a> (<a class="el" href="goep_8h.html#a5">GOEP</a> *goep, <a class="el" href="goep_8h.html#a73">goep_svr_resp_codes</a> result, <a class="el" href="csrtypes_8h.html#a3">uint32</a> totLen, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_name, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *name, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size_type, const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *type)<dl class="el"><dd class="mdescRight">Send the first response to a Get, including application specific headers. <a href="#a69"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Interface to the Generic Object Exchange Profile (GOEP) library. <p>This is the base profile for FTP Server, FTP Client and the Object Push Profile (OPP) Libraries.<p>Library Dependecies : connection,region,service, bdaddr<p>Library variants:- goep - GOEP with no debug output goep_print - GOEP with debug output goep_print_decode - GOEP with debug output and packet decoding<hr><h2>Define Documentation</h2><a class="anchor" name="a0" doxytag="goep.h::GOEP_SIZE_DIGEST" ></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"> #define GOEP_SIZE_DIGEST 16 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Size of a MD5 Digest String. <p> </td> </tr></table><a class="anchor" name="a1" doxytag="goep.h::GOEP_SIZE_MD5_STRING" ></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"> #define GOEP_SIZE_MD5_STRING 32 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Maximum size of a MD5 String. Used for the Realm string in the request and the UserID in the response. Longer realms will be truncated to this. <p> </td> </tr></table><a class="anchor" name="a2" doxytag="goep.h::GOEP_PATH_PARENT" ></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"> #define GOEP_PATH_PARENT (1<<0) </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Instruct the GOEP library to change folder to the parent of the current folder.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -