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!"); } });