From 0c983b9e1ac7cd9e6302a53fc250202aa2a0f20c Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 15 Oct 2015 23:31:53 +0200 Subject: [PATCH] pretify cli --- test/pts/ble_central_test.c | 197 +++++++++++++++++++++++------------- 1 file changed, 126 insertions(+), 71 deletions(-) diff --git a/test/pts/ble_central_test.c b/test/pts/ble_central_test.c index fc19193cd..cf6e2cfc6 100644 --- a/test/pts/ble_central_test.c +++ b/test/pts/ble_central_test.c @@ -769,83 +769,135 @@ uint16_t value_handle = 1; uint16_t attribute_size = 1; int scanning_active = 0; +int num_rows = 0; +int num_lines = 0; +const char * rows[100]; +const char * lines[100]; +const char * empty_string = ""; +const int width = 70; + +void reset_screen(void){ + // free memory + int i = 0; + for (i=0;i