This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: How to transmit UUID on ADVDATA

Part Number: CC2640R2F

I want to transmit UUID on simplebroadcaster example

  • Hi Dev,

    You can simply change tha advertData[] variable. You should read about the format of advertisements here: dev.ti.com/.../
  • Thank you Marie, I came across static uint8 advertData[] function in simple_broadcaster.c in application folder of app, and when I change the data there observations can be made. But I cannot send the UUID by this too, the UUID which is mentioned below the GAP_ADTYPE_MANUFACTURER_SPECIFIC I want to transmit this.
  • I want to transmit this information
    0x1A, // length of this data including the data type byte
    GAP_ADTYPE_MANUFACTURER_SPECIFIC, // manufacturer specific adv data type
    0x0D, // Company ID - Fixed
    0x00, // Company ID - Fixed
    0x02, // Data Type - Fixed
    0x15, // Data Length - Fixed
    0x00, // UUID - Variable based on different use cases/applications
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // UUID
    0x00, // Major
    0x01, // Major
    0x00, // Minor
    0x01, // Minor
    0xc5 // Power - The 2's complement of the calibrated Tx Power
  • Hi Dev,

    to do this, you should add BEACON_FEATURE to the list of compiler predefines (Project-> Properties-> Build -> ARM Compiler -> Predefined Symbols.)
  • Thank You Marie.