diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-01-08 00:53:22 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-01-08 00:53:22 -0800 |
commit | 195eb65225af0755391f82a51f6ab8deec43cd89 (patch) | |
tree | cb6b4727b391d0172f5f184445d597cfaf8734f9 /monitor/lmp.c | |
parent | 47ae1a0d28d5e4b7afb2b3f964278f00be694ffd (diff) | |
download | bluez-195eb65225af0755391f82a51f6ab8deec43cd89.tar.gz |
monitor: Add todo helper for missing LMP operations
Diffstat (limited to 'monitor/lmp.c')
-rw-r--r-- | monitor/lmp.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/monitor/lmp.c b/monitor/lmp.c index 59193d6df..e9cff734c 100644 --- a/monitor/lmp.c +++ b/monitor/lmp.c @@ -340,3 +340,17 @@ void lmp_packet(const void *data, uint8_t size) lmp_data->func(data + off, size - off); } + +void lmp_todo(void) +{ + int i; + + printf("LMP operations with missing decodings:\n"); + + for (i = 0; lmp_table[i].str; i++) { + if (lmp_table[i].func) + continue; + + printf("\t%s\n", lmp_table[i].str); + } +} |