There is no indication (that I can find) as to who sent me the eMail regarding my occasional visits to this forum. I do come and browse at times, and want to keep my name on your list. However, I am not far enough along in my understanding of code to participate except for an occasional "dummies" post which I can usually answer for myself.
Please, if it's necessary for your attendance records, continue to remind me that you are still here and I shall run over and let you know I'm still interested in the forum, or better yet, when I come here I'll sign in rather than just browse.
Hello,
I am writing a Log Unifier program. That is, I have a system that produces logs:
my.log, my.log.1, my.log.2, my.log.3...
I want on each iteration to store the number of lines I've read from a certain file, so that on the next iteration - I can continue reading on from that place.
... (1 Reply)
sdptool(1) General Commands Manual sdptool(1)NAME
sdptool -- control and interrogate SDP servers
SYNOPSIS
sdptool [options] {command} [command parameters ...]
DESCRIPTION
sdptool provides the interface for performing SDP queries on Bluetooth devices, and administering a local sdpd.
COMMANDS
The following commands are available. In all cases bdaddr specifies the device to search or browse. If local is used for bdaddr, then the
local sdpd is searched.
Services are identified and manipulated with a 4-byte record_handle (NOT the service name). To find a service's record_handle, look for
the "Service RecHandle" line in the search or browse results
search [--bdaddr bdaddr] [--tree] [--raw] [--xml] service_name
Search for services..
Known service names are DID, SP, DUN, LAN, FAX, OPUSH, FTP, HS, HF, HFAG, SAP, NAP, GN, PANU, HCRP, HID, CIP, A2SRC, A2SNK,
AVRCT, AVRTG, UDIUE, UDITE and SYNCML.
browse [--tree] [--raw] [--xml] [bdaddr]
Browse all available services on the device specified by a Bluetooth address as a parameter.
records [--tree] [--raw] [--xml] bdaddr
Retrieve all possible service records.
add [ --handle=N --channel=N ]
Add a service to the local sdpd.
You can specify a handle for this record using the --handle option.
You can specify a channel to add the service on using the --channel option.
del record_handle
Remove a service from the local sdpd.
get [--tree] [--raw] [--xml] [--bdaddr bdaddr] record_handle
Retrieve a service from the local sdpd.
setattr record_handle attrib_id attrib_value
Set or add an attribute to an SDP record.
setseq record_handle attrib_id attrib_values
Set or add an attribute sequence to an SDP record.
OPTIONS --help Displays help on using sdptool.
EXAMPLES
sdptool browse 00:80:98:24:15:6D
sdptool browse local
sdptool add DUN
sdptool del 0x10000
BUGS
Documentation needs improving.
AUTHOR
Maxim Krasnyansky <maxk@qualcomm.com>. Man page written by Edd Dumbill <ejad@debian.org>.
SEE ALSO sdpd(8)sdptool(1)