Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] androd/client: Extend history line size and depth
@ 2014-09-05 12:48 Grzegorz Kolodziejczyk
  2014-09-05 12:48 ` [PATCH 2/2] android/client: Check if hex string is byte format Grzegorz Kolodziejczyk
  2014-09-05 13:29 ` [PATCH 1/2] androd/client: Extend history line size and depth Szymon Janc
  0 siblings, 2 replies; 4+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-09-05 12:48 UTC (permalink / raw)
  To: linux-bluetooth

For some commands current history line size isn't enough to store it
complete. For complex/long run, extended history depth can be helpful.
---
 android/client/history.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/client/history.c b/android/client/history.c
index 3dae27a..ca4664c 100644
--- a/android/client/history.c
+++ b/android/client/history.c
@@ -24,8 +24,8 @@
 
 /* Very simple history storage for easy usage of tool */
 
-#define HISTORY_DEPTH 20
-#define LINE_SIZE 100
+#define HISTORY_DEPTH 40
+#define LINE_SIZE 200
 static char lines[HISTORY_DEPTH][LINE_SIZE];
 static int last_line = 0;
 static int history_size = 0;
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-05 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 12:48 [PATCH 1/2] androd/client: Extend history line size and depth Grzegorz Kolodziejczyk
2014-09-05 12:48 ` [PATCH 2/2] android/client: Check if hex string is byte format Grzegorz Kolodziejczyk
2014-09-05 13:28   ` Szymon Janc
2014-09-05 13:29 ` [PATCH 1/2] androd/client: Extend history line size and depth Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox