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.

CC 2541

Other Parts Discussed in Thread: CC2541

Hi,

3 Question in my mind.

1) how do i configure the sensor tag to broadcast my custom string.

2) How do i configure the broadcast frequency

3)How do i Configure the broadcast range(e.g. 5 ft)

  • Hi Ankush,

    Assuming you are using SimpleBLEBroadcaster as base code:

    1. By modifying the variable advertData 

    2. By modifying the constant DEFAULT_ADVERTISING_INTERVAL

    3. In code dynamically by changing the output power with the HCI_EXT_SetTxPowerCmd command. Valid parameters for CC2541 are HCI_EXT_TX_POWER_MINUS_23_DBM, HCI_EXT_TX_POWER_MINUS_6_DBM or HCI_EXT_TX_POWER_0_DBM. If you want really short range, you could also do a poor antenna design... but that's not very efficient.

    If you are using the CC254x as a network processsor, you can check out the TI BLE Vendor Specific HCI Guide document that comes with the stack installer. 

    Best Regards

    Joakim