3 Replies Latest reply on Jan 24, 2017 8:35 PM by hima

    How to overwrite the PSOC Creator generated code

    asha_ca_7833_1608416

      Hi,

         

      On CY8CKIT-042-BLE -- created new project and added the BLE Temperature Measurement to it. Built, loaded, and ran via the PSOC Creator. I can see the advertisement "Thermometer" on my Samsung phone.  I than wanted to modify this name in BLE.c, table

         

      CYBLE_GAPP_DISC_DATA_T cyBle_discoveryData =

         

      {

         

      { 0x02u, 0x01u, 0x06u, 0x0Cu, 0x09u, 0x54u, 0x68u,

         

      0x65u, 0x72u, 0x6Du, 0x6Fu, 0x6Du, 0x65u, 0x74u, 0x65u,

         

      0x72u, 0x03u, 0x02u, 0x09u, 0x18u, 0x00u, 0x00u, 0x00u,

         

      0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u }, /* uint8 advertising_data[CYBLE_MAX_ADV_DATA_LEN] */

         

      0x14u, /* uint8 adv_data_length */

         

      };

         

       but this is a generated file.  How can I overwrite this so that I can have another name?

         

      Thanks,

         

      Asha