This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial Mesh

Hi,

 I have been working with mesh and I'm using the version 4.2 Mesh SDK.As I understand it I should use nrf_mesh_serial_tx() api to send serial message.When I use this api to send message there is 2 unknown characters come up before the message. I am sharing the result of between nrf52 DK and PC. Also I tried make a serial communication between  nrf52 DK and raspberry. I got the same result. Am I doing someting wrong or is this a bug? Additionally, I added the mesh serial to light switch client model and I observed the same results.

 I just wrote the following code to make a simple example and added the result I got on the serial monitor.

 

int main(void)
{
    initialize();
    start();
    hal_led_mask_set(LEDS_MASK, LED_MASK_STATE_OFF);
    hal_led_blink_ms(LEDS_MASK, LED_BLINK_INTERVAL_MS, LED_BLINK_CNT_START);
 
    char data[] = "Help";
    uint32_t result = nrf_mesh_serial_tx(data,sizeof(data));

    for (;;)
    {
      (void)sd_app_evt_wait();

    }
}

Thanking you in advance.

Parents Reply Children
Related