Re: Disabling Relay feature of a node of bluetooth mesh
ashish.shukla@corvi.com <ashish.shukla@...>
Hi Johan, Here is brief about my experimental setup : static void pub_presence(struct k_work *work) { static unsigned char led = 0; static unsigned char trans_id = 0; int err; bt_mesh_model_msg_init(root_models[2].pub->msg, OP_GEN_ONOFF_SET); net_buf_simple_add_u8(root_models[2].pub->msg,led=led^1); net_buf_simple_add_u8(root_models[2].pub->msg,trans_id++); err = bt_mesh_model_publish(&root_models[2]); What I understand is this publishing is over advertising bearer, and NODE1 should not be relaying this packet. But NODE1 relays this packet as well. if (err) { printk("Error in publishing message "); } } -- Warm regards, Ashish Shukla Jr. Embedded Engineer Research & Development Please consider the environment before printing this e-mail or its attachments. Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi
On Thu, Dec 7, 2017 at 6:05 PM, Johan Hedberg <johan.hedberg@...> wrote: Hi Ashish,
|
|