sdp.3 (6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70) | sdp.3 (a4b187fa33f1856b9c0293b900d36b4c797b459d) |
---|---|
1.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 59 unchanged lines hidden (view full) --- 68.Fn SDP_PUT8 "b" "cp" 69.Fn SDP_PUT16 "s" "cp" 70.Fn SDP_PUT32 "l" "cp" 71.Fn SDP_PUT64 "l" "cp" 72.Fn SDP_PUT128 "l" "cp" 73.Ft void * 74.Fn sdp_open "bdaddr_t const *l" "bdaddr_t const *r" 75.Ft void * | 1.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 59 unchanged lines hidden (view full) --- 68.Fn SDP_PUT8 "b" "cp" 69.Fn SDP_PUT16 "s" "cp" 70.Fn SDP_PUT32 "l" "cp" 71.Fn SDP_PUT64 "l" "cp" 72.Fn SDP_PUT128 "l" "cp" 73.Ft void * 74.Fn sdp_open "bdaddr_t const *l" "bdaddr_t const *r" 75.Ft void * |
76.Fn sdp_open_local "void" | 76.Fn sdp_open_local "char const *control" |
77.Ft int32_t 78.Fn sdp_close "void *xs" 79.Ft int32_t 80.Fn sdp_error "void *xs" 81.Ft int32_t 82.Fn sdp_search "void *xs" "uint32_t plen" "uint16_t const *pp" "uint32_t alen" "uint32_t const *ap" "uint32_t vlen" "sdp_attr_t *vp" 83.Ft char const * const 84.Fn sdp_attr2desc "uint16_t attr" --- 44 unchanged lines hidden (view full) --- 129.Fn sdp_open 130function should point to a non 131.Dv NULL 132remote BD_ADDR. 133Remote BD_ADDR can not be 134.Dv NG_HCI_BDADDR_ANY . 135The 136.Fn sdp_open_local | 77.Ft int32_t 78.Fn sdp_close "void *xs" 79.Ft int32_t 80.Fn sdp_error "void *xs" 81.Ft int32_t 82.Fn sdp_search "void *xs" "uint32_t plen" "uint16_t const *pp" "uint32_t alen" "uint32_t const *ap" "uint32_t vlen" "sdp_attr_t *vp" 83.Ft char const * const 84.Fn sdp_attr2desc "uint16_t attr" --- 44 unchanged lines hidden (view full) --- 129.Fn sdp_open 130function should point to a non 131.Dv NULL 132remote BD_ADDR. 133Remote BD_ADDR can not be 134.Dv NG_HCI_BDADDR_ANY . 135The 136.Fn sdp_open_local |
137function takes no arguments and opens a connection to a local SDP server. | 137function takes path to the control socket and opens a connection to a local 138SDP server. 139If path to the control socket is 140.Dv NULL 141then default 142.Pa /var/run/sdp 143path will be used. |
138.Pp 139The 140.Fn sdp_close 141function terminates active SDP session and deletes SDP session object. 142The 143.Vt xs 144parameter should point to a valid SDP session object created with 145.Fn sdp_open --- 164 unchanged lines hidden --- | 144.Pp 145The 146.Fn sdp_close 147function terminates active SDP session and deletes SDP session object. 148The 149.Vt xs 150parameter should point to a valid SDP session object created with 151.Fn sdp_open --- 164 unchanged lines hidden --- |