cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG232 MESH UniCast has cause some device can't received data

WWang.15
Associate

Dear ST,

our customer using the BlueNRG2 implement MESH transparent transmission,

but,when we transmission data via Unicast,somedevice can't received data.

my code snippet as below,

i create 9 device node and using BlueNRG MESH app to join the mesh network.

and then when i send Update string from UART,

it will be BluenrgMesh_SetRemoteData and unicast address from 0-18 send packet,

finally has some device not can't received data.

does any one can solved my question?

thx

if(!strncmp(Rcvd_String, "Update", 6))
{
          //Upper_Update_Process(Rcvd_String, stringSize);  
          MOBLEUINT8 generic_Level_Buff[9]={0};              
          uint8_t i =0;
          //MOBLEUINT8 generic_Level_Buff[9];
          generic_Level_Buff[0] = (MOBLEUINT8)6/*data[0]*/;
          generic_Level_Buff[1] = (MOBLEUINT8)'A';
          generic_Level_Buff[2] = (MOBLEUINT8)'A';
          generic_Level_Buff[3] = (MOBLEUINT8)'B';
          generic_Level_Buff[4] = (MOBLEUINT8)'B';
          generic_Level_Buff[5] = (MOBLEUINT8)'C';
          generic_Level_Buff[6] = (MOBLEUINT8)'C';
          for(;i<18;i++)
          {
            BluenrgMesh_SetRemoteData(i, 0x01, GENERIC_BJJA/*GENERIC_LEVEL_SET_UNACK*/ , 
                                generic_Level_Buff,7, MOBLE_FALSE, MOBLE_FALSE);
            //BluenrgMesh_SetRemoteData((i),0x01,0x8203,generic_Level_Buff,2, MOBLE_FALSE, MOBLE_FALSE);
            Clock_Wait(100);
          }
          printf("[weli]master mode send data from %s,line:%d\r\n",__FUNCTION__,__LINE__);

Weli

Beijing Jia An Electronic Technology Co., Ltd.

0 REPLIES 0