diff --git a/test/lora32/main/main.c b/test/lora32/main/main.c index 7467b83..9e41368 100644 --- a/test/lora32/main/main.c +++ b/test/lora32/main/main.c @@ -97,7 +97,19 @@ static void uart_event_task(void *pvParameters) { } static void handle_lora_receive(uint8_t *data, uint8_t size) { - printf("msg: %s\n", data); + uint8_t j; + + for(uint8_t i = 0; i < size; i += 16) { + for(j = 0; j < 16; j++) { + printf("%02X ", data[i + j]); + } + + for(j = 0; j < 16; j++) { + printf("%s", (char*)data[i + j]); + } + + printf("\n"); + } } void loop(void *p) {