HI i,m working with csr1010
i had a problem as in sending broadcasting message each node
pleae look at blow
---------------------------------------------------------------------------------------------
CsreshSetMessageTTL(CSR_MESH_MESSAGE_CONTROL , 2);
buff[0] = 0x10;
buff[1] = 0x02;
buff[2] = 0x01;
buff[3] = g_dimming_level_1 ;
buff[4] = g_dimming_time;
buff[5] =g_mode;
StreamSendDataBlock(0x0000,&buff[0],6);
CsrMeshSetMessageTTL(CSR_MESH_MESSAGE_CONTROL , 1);
TimerCreate(800,NULL ,NULL ) ;
buff[0] = 0x10;
buff[1] = 0x02;
buff[2] = 0x01;
buff[3] = g_dimming_level_2;
buff[4] = g_dimming_time;
buff[5] =g_mode;
StreamSendDataBlock(0x0000,&buff[0],6);
CsrMeshSetMessageTTL(CSR_MESH_MESSAGE_CONTROL , 0);
-----------------------------------------------------------------------------------------------------
have there anything wrong with this code?? i was faced with two problems .
first. after association with two device. if transmit message is well like that 'Device_1 -> Device_2' but 'Device_2 -> Device_1' Not
likewise if 'Device_2 -> Device_1' is well but not 'Device_1 -> Device_2' that happens often.
second. some time good behavior for a period of time while the message sending stops both after some time.