[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] Re:ask a question in sdp.c
When l2cap got sdp packet/query, it will indicate SDP by calling
'sdp_receive_data'. Then SDP will do:
if it is sdp server, it passes the packet to 'sdp_server'
to do the processing and reply.(passing is done in kernel mode by
memcpy(db_hdl->data, data, len); reply is done by
'write2stack'(not sure if it's the correct name of the
function) in 'sep_server').
if it is a client, it just pass the data up for user to do processing.
(That is 'bt_send_sdp_data_received(sdp->line, dataPointer, len)' for).
This is my understanging of the stack. Someone may correct me if I am
Centre for Communications Research
University of Bristol
University Gate Tel: +44 117 915 1278
Park Row Fax: +44 117 954 5206
Bristol BS1 5UB
United Kingdom Email: Ran.Zhou@xxxxxxx.uk
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org