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

BLE Mesh Project with BLE_NUS

Hello,

I'm using the sample project from this post.

Following the steps and using nRF52DK, one for server and one for client. I've modified the server count from 3 to 1 in client project .

#define SERVER_COUNT (<<1>>)

The provisioning is success, the server side will get the response and show

RX: [aop: 0x00C3]

on the J-Link RTT Viewer when I press button 3,but there is no response in server side when I press button0.

I don't have any idea how to solve this problem, could you give me some hints? Thanks.

P.S. The following image is the log of client side. image description

[Updated on 2017/10/18]

Based on Hung Bui's comment, I tried to get the unicast address by dsm_local_unicast_addresses_get() function. I get the same unicast address "1" when I press button 0 or 3.

image description

Still can NOT solve the problem...

Parents
  • Hello Hung Bui, Got it, I thought wrong before. The unicast address and the publish address what I got are the same which are 0x10. The addresses are matched, maybe it's not the main problem. I'm thinking maybe I should check the "simple_on_off_client_set()" function first, because the function "simple_on_off_client_set_unreliable()" works but "simple_on_off_client_set()" doesn't. Anyway, thanks for your help again.

Reply
  • Hello Hung Bui, Got it, I thought wrong before. The unicast address and the publish address what I got are the same which are 0x10. The addresses are matched, maybe it's not the main problem. I'm thinking maybe I should check the "simple_on_off_client_set()" function first, because the function "simple_on_off_client_set_unreliable()" works but "simple_on_off_client_set()" doesn't. Anyway, thanks for your help again.

Children
No Data
Related