From 0c3eee52f00d2a15da125ba2c01389a506ab0794 Mon Sep 17 00:00:00 2001 From: Morgan Allen Date: Sat, 28 Jul 2018 23:52:18 -0700 Subject: [PATCH] move test output off ESP_LOG --- test/lora32/main/main.c | 2 +- test/test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/lora32/main/main.c b/test/lora32/main/main.c index 5af63ed..824a5c7 100644 --- a/test/lora32/main/main.c +++ b/test/lora32/main/main.c @@ -95,7 +95,7 @@ static void uart_event_task(void *pvParameters) { } static void handle_lora_receive(uint8_t *data, uint8_t size) { - ESP_LOGI(TAG, "msg: %s", data); + printf("msg: %s", data); } void loop(void *p) { diff --git a/test/test.js b/test/test.js index 3384164..9ef2bc6 100644 --- a/test/test.js +++ b/test/test.js @@ -145,10 +145,10 @@ async.series([ buf += chunk.toString(); - if(buf.indexOf(`LORA32: msg: ${message}`) !== -1) { + if(buf.indexOf(`msg: ${message}`) !== -1) { ports.dev1.removeListener("data", onData); - t.ok("got round-trip message!"); + t.pass("got round-trip message!"); } });