5 Replies Latest reply on Feb 12, 2015 10:17 AM by saga_2182186

    Advertisement with Service UUID, Local Name and manufacturing Data

      I am trying to advertise the following data

       

      adv[0].len     = 16+1;

      adv[0].val     = ADV_SERVICE_UUID128_COMP; // (AD_TYPE == 0x07)

      BT_MEMCPY(&adv[0].data, vendor_service_uuid, 16);

       

      adv[1].len     = 10+1;

      adv[1].val     = ADV_LOCAL_NAME_COMP;

      BT_MEMCPY(&adv[1].data[0], local_name, 10);

       

      adv[2].len     = 1+1;

      adv[2].val     = ADV_MANUFACTURER_DATA; // (AD_TYPE == 0xff)

      adv[2].data[0] = variable & 0xFF;

       

      But it only advertises ADV_SERVICE_UUID128_COMP and ADV_LOCAL_NAME_COMP, I can not see the manufacturing data.

       

      The total length here is 17+11+2 = 30 bytes.

       

      Any suggestion on why I can't see the manufacturing data?