aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_cmd.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-1/+1
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-19Fix Dead Store (Dead assignement/Dead increment) Warning found by Clangalagoutte1-6/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39481 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-3/+3
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-13/+13
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-26Get rid of check_col, while at it set ENC.etxrab1-263/+260
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39147 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-19From Michael Mann via bug 2794:stig1-1/+1
Fixed display filters with obvious typos. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36713 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-17"Fill" value_strings.etxrab1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34935 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-03Use value_string_ext fcns to access certain value_string arrays;wmeier1-78/+85
Sort several value_string arrays to be in ascending order. Also: Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34766 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-18Extract ogf from the opcodekrj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32860 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-18Dissect Synchronous Connection correctlykrj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32858 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-04Fix a couple of value_stringS to match BT 2.1krj1-97/+99
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30819 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkkrj1-3/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-137/+137
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-18Fix various typos and spelling errors (mostly in text strings)wmeier1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27050 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-17Fix typos and spelling (mostly in text strings) wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27028 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26646 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-23Renamed a local variable to avoid name collisions.stig1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25562 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Rewrote to use g_strlcpy and g_strlcat.stig1-11/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24525 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-03From Shane Kearns (bug 2237):stig1-0/+1
Added support for Symbian OS btsnoop. The bluetooth HCI layer in Symbian OS can be configured to log all packets to a file. The log format, "btsnoop" is based on the RFC1761 "snoop" format - but differences in the header make it incompatible. The btsnoop format supports logging of these formats: "H1" (raw HCI packets without framing) "H4" (HCI UART packets including packet type header) "H5" (HCI 3 wire UART packets including framing) "BCSP" (HCI bluecore serial protocol including framing) "H1" and "H4" are section numbers in the original v1 bluetooth specifications, but still used colloquially - wireshark's existing support for Linux bluez HCI logs uses the "H4" name. In practice, the "H1" format is used for H5,BCSP and USB HCI logs, as the HCI packet logs are mainly useful for debugging higher layers, bluetooth profiles and bluetooth applications. From me: Deleted some unused prototypes. Mark an unused parameter. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24263 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-02Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).stig1-11/+11
If we get some truncated strings we probably overwrote some buffers... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24249 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-23From Allan M. Madsen:jake1-245/+1241
Wireshark is only supporting a very old and deprecated version of the Bluetooth specification (1.1). The Bluetooth SIG recently ratified version 2.1 of the Bluetooth specification and a lot of enhancements have been added to the specification. The HCI dissectors needs a major update to match these changes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22924 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-04warning fix: declare some functions staticjmayer1-6/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18335 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-14bluetooth hci event dissectorsahlberg1-16/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18145 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-10from Christoph Scholz's bluetooth patchsahlberg1-0/+1933
add dissection of HCI Command protocol to ethereal git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18122 f5534014-38df-0310-8fa8-9805f1628bb7