#define PKT_HCI_EVENT 0x01
#define PKT_SENT_ACL_DATA 0x02
#define PKT_RECV_ACL_DATA 0x03
-#define PKT_INFO 0xFB
+#define PKT_POWER 0xFB
+#define PKT_NOTE 0xFC
#define PKT_NEW_CONTROLLER 0xFE
static const value_string type_vals[] = {
{ PKT_HCI_EVENT, "HCI Event" },
{ PKT_SENT_ACL_DATA, "Sent ACL Data" },
{ PKT_RECV_ACL_DATA, "Recv ACL Data" },
- { PKT_INFO, "Info" },
+ { PKT_POWER, "Power" },
+ { PKT_NOTE, "Note" },
{ PKT_NEW_CONTROLLER, "New Controller" },
{ 0, NULL }
};
} else {
/* PacketLogger data */
switch (pl_type) {
- case PKT_INFO:
+ case PKT_POWER:
+ case PKT_NOTE:
case PKT_NEW_CONTROLLER:
proto_tree_add_item (packetlogger_tree, hf_info, next_tvb, 0, len, FALSE);
- col_set_str (pinfo->cinfo, COL_INFO, tvb_format_stringzpad_wsp (next_tvb, 0, len));
+ col_add_fstr (pinfo->cinfo, COL_INFO, "%s", tvb_format_stringzpad_wsp (next_tvb, 0, len));
break;
default:
call_dissector (data_handle, next_tvb, pinfo, tree);
/* Verify this file belongs to us */
if (!((8 <= pl_hdr.len) && (pl_hdr.len < 65536) &&
- (type < 0x04 || type == 0xFB || type == 0xFE || type == 0xFF)))
+ (type < 0x04 || type == 0xFB || type == 0xFC || type == 0xFE || type == 0xFF)))
return 0;
/* No file header. Reset the fh to 0 so we can read the first packet */