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.

CCS/CC2640R2F: Simplelink SDK project AoA_receiver How to change the Configuration Parameters of LocPktTab location

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi,

      I want to ask a question on Configuration Parameters,  In Simplelink SDK project  AoA_receiver, If location in the advertise data packet of the bytes contains pLocPktTab can be changed? How to change the Configuration Parameters whited to RF core. Thank you very much.

regards,

Hue

  • Hello,

    It is not possible to change the tone location, currently we use the PDU, please refer to this link for more information.

    dev.ti.com/.../ble_aoa.html

    Best regards,

    David
  • David,
    Thanl you for your help! I want to know that TIcompanty ID and packetID must be set at the third to the fifth bytes of PDU?
    Best regards,
    Hue
  • Hello Hue,

     Yes and this is configured in AoA_open.

        // Set up table for locationing packet definition
        // Which packet Ids should the receiver match on?
        aoa->pLocPktTab[0] = params->pktId0 << 8 | params->pktId1;
        // 1 set of company IDs to match
        aoa->pLocPktTab[1] = 1;
        // Match Texas Instruments
        aoa->pLocPktTab[2] = COMPANY_ID_TEXAS_INSTRUMENTS;

    In other words they need to match. And because this is part of the PDU it will not be distorted by the whitening filter.

      Best regards,

        David

  • Hi David,

     Yes , Thank you for your reply. And let me make my question clearly: TI AOA advertising PDU is in the table below:

    13

    adv0

    0x1E

    adv Len

    14

    adv1

    0xFF

    15

    adv2

    0x0D

    TI companyID

    16bit

    16

    adv3

    0x00

    17

    adv4

    0x04

    AoA packetID

    8bit

    18

    adv5

    0x00

    padding

    6 bytes

    19

    adv6

    0x00

    20

    adv7

    0x00

    21

    adv8

    0x00

    22

    adv9

    0x00

    23

    adv10

    0x00

    24

    adv11

    0xFF

    DF signals

    20 bytes

    25

    adv12

    0xFF

    begin at (1+4+6)byte

    26

    adv13

    0xFF

    27

    adv14

    0xFF

    28

    adv15

    0xFF

    29

    adv16

    0xFF

    30

    adv17

    0xFF

    31

    adv18

    0xFF

    32

    adv19

    0xFF

    33

    adv20

    0xFF

    34

    adv21

    0xFF

    35

    adv22

    0xFF

    36

    adv23

    0xFF

    37

    adv24

    0xFF

    38

    adv25

    0xFF

    39

    adv26

    0xFF

    40

    adv27

    0xFF

    41

    adv28

    0xFF

    42

    adv29

    0xFF

    43

    adv30

    0xFF

      when the AOA_sender's advertising data change like this, how to change the AOA_receiver program。(three bytes was moved)

    13

    adv0

    0x1E

    adv Len

    14

    adv1

    0xFF

    15

    Adv2

    0x00

    16

    Adv3

    0x00

    17

    Adv4

    0x00

    18

    Adv5

    0x0D

    TI companyID

    16bit

    19

    Adv6

    0x00

    20

    Adv7

    0x04

    AoA packetID

    8bit

    21

    Adv8

    0x00

    22

    adv9

    0x00

    23

    adv10

    0x00

    24

    adv11

    0xFF

    DF signals

    20 bytes

    25

    adv12

    0xFF

    begin at (1+4+6)byte

    26

    adv13

    0xFF

    27

    adv14

    0xFF

    28

    adv15

    0xFF

    29

    adv16

    0xFF

    30

    adv17

    0xFF

    31

    adv18

    0xFF

    32

    adv19

    0xFF

    33

    adv20

    0xFF

    34

    adv21

    0xFF

    35

    adv22

    0xFF

    36

    adv23

    0xFF

    37

    adv24

    0xFF

    38

    adv25

    0xFF

    39

    adv26

    0xFF

    40

    adv27

    0xFF

    41

    adv28

    0xFF

    42

    adv29

    0xFF

    43

    adv30

    0xFF

    I want to get your help eagerly, look forward to your reply.

    Best regrads,

    Hue

     

  • Hi Hue,

     If that is really the case, you will need to compensate for those 3 extra bytes. This could be achieved by changing  g_initialPeriod.

    "The g_initialPeriod is delay for GPTimer. The reason for adding the delay is that when radio core notifies the application that an AoA packet is received, the actual tone has not arrived yet. Therefore, there is delay added to the timer start to ensure that the antenna only toggles when the tone arrives.

    The delay number was found in lab measurement. However, this number should not be changed unless you want to start your antenna toggling later".

    Just for our general knowledge, would you mind explaining how did you collect the previous data?

      Thanks,

       David

  • Hi Hue,

    Just wanted to check if you had time to review my previous post.

    Thanks,

    David
  • Hi Hue,

    Do you have any update?

    Thanks,

    David
  • Hi Hue,

    I haven’t heard from you for a couple of weeks so I’m assuming you were able to resolve your issue. If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Regards,

    David