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.

CC2652R: The data format

Part Number: CC2652R

Hi,

A customer wants communicate with CC2652 via UART, to configure it and get the AOA information. He already got the data that master returned back to PC[monitoring the pin RXD & TXD of CC2652], but he didn''t know the meaning.

Please check the attachment for data, how to resolve these data, especially FE 00 00 39 00 39?

PC to master:
FE 00 00 39 00 39 

FE 00 00 39 00 39 
FE 00 00 39 20 19 
FE 00 00 39 00 39 
FE 00 00 39 00 39 
FE 00 00 39 00 39 
FE 00 00 39 00 39 
FE 00 00 39 20 19 
FE 00 00 39 00 39 
FE 00 00 39 00 39 
FE 00 00 39 00 39 
FE 00 00 39 04 3D 
FE 00 00 39 04 3D 
FE 00 00 39 04 3D 
FE 00 00 39 04 3D 
FE 00 00 39 04 3D 
FE 09 00 39 03 00 75 39 1E B0 6F 80 50 00 6E 
FE 0D 00 39 13 01 00 00 00 01 01 01 10 01 03 00 01 02 36 
FE 06 00 39 14 00 00 01 01 00 14 3F 




master to PC:

FE\00C\000\079\000\084\000\002\000\005\0	88\04B\01E\0B0\06F\080\0	08\07C\0

FE\00C\000\079\000\084\000\002\000\005\0	88\04B\01E\0B0\06F\080\0	08\07C\0
FE\000\000\059\020\079\0
FE\00C\000\079\000\084\000\002\000\005\0	88\04B\01E\0B0\06F\080\0	08\07C\0
FE\00C\000\079\000\084\000\002\000\005\0	88\04B\01E\0B0\06F\080\0	08\07C\0
FE\00C\000\079\000\084\000\002\000\005\0	88\04B\01E\0B0\06F\080\0	08\07C\0

FE\00C\000\079\000\084\000\002\000\005\0			88\04B\01E\0B0\06F\080\008\07C\0
FE\000\000\059\020\079\0
FE\00C\000\079\000\084\000\002\000\005\0			88\04B\01E\0B0\06F\080\008\07C\0
FE\00C\000\079\000\084\000\002\000\005\0			88\04B\01E\0B0\06F\080\008\07C\0
FE\00C\000\079\000\084\000\002\000\005\0			88\04B\01E\0B0\06F\080\008\07C\0
FE\001\000\079\004\000\07C\0
FE\018\000\059\004\013\000\0					75\039\01E\0B0\06F\080\0	B8\00E\00A\008\052\054\04C\053\053\06C\061\076\065\002\001\006\0BE\0
FE\001\000\059\005\000\05D\0
FE\001\000\079\004\000\07C\0
FE\018\000\059\004\013\000\0					75\039\01E\0B0\06F\080\0	B9\00E\00A\008\052\054\04C\053\053\06C\061\076\065\002\001\006\0BF\0
FE\001\000\059\005\000\05D\0
FE\001\000\079\004\000\07C\0
FE\018\000\059\004\013\000\0					75\039\01E\0B0\06F\080\0	BC\00E\00A\008\052\054\04C\053\053\06C\061\076\065\002\001\006\0BA\0
FE\001\000\059\005\000\05D\0
FE\001\000\079\004\000\07C\0
FE\018\000\059\004\013\000\0					75\039\01E\0B0\06F\080\0	BC\00E\00A\008\052\054\04C\053\053\06C\061\076\065\002\001\006\0BA\0
FE\001\000\059\005\000\05D\0
FE\001\000\079\004\000\07C\0
FE\018\000\059\004\013\000\0					75\039\01E\0B0\06F\080\0	BA\00E\00A\008\052\054\04C\053\053\06C\061\076\065\002\001\006\0BC\0
FE\001\000\059\005\000\05D\0
FE\001\000\079\003\000\07B\0
FE\01B\000\059\002\000\000\04A\006\086\03A\0A0\000\00C\000\000\00C\0FF\0FF\0FF\0FF\01F\06D\015\0EC\000\0	75\039\01E\0B0\06F\080\0	96\0
FE\003\000\059\003\000\000\000\059\0
FE\001\000\079\013\000\06B\0
FE\001\000\079\014\000\06C\0		   
FE\007\000\059\023\000\000\0		76\000\0BD\001\020\097\0
FE\007\000\059\023\000\000\0		76\000\0BF\001\007\0B2\0
	          
FE\007\000\059\023\000\000\0		76\000\0C7\001\013\0DE\0
FE\007\000\059\023\000\000\0		76\000\0BD\001\01F\0A8\0

FE\007\000\059\023\000\000\0		76\000\0C1\001\006\0CD\0
FE\007\000\059\023\000\000\0		76\000\0C7\001\012\0DF\0

FE\007\000\059\023\000\000\0		76\000\0BE\001\01E\0AA\0
FE\007\000\059\023\000\000\0		76\000\0C0\001\005\0CF\0

BR,

Viki Shi

  • I have assigned an expert to comment.

  • Hi Viki Shi,

    I suggest your customer to review the python examples we provide within the SDK (\tools\ble5stack\rtls_agent). This python show how to interpret the UART data stream. I also suggest to run a couple of times the examples using the provided python scripts, this will help to get more familiar with the main commands.

    To answer your specific question, here are some of the commands I recognized in the log:

    • FE:00:00:39:00:39 corresponds to the command RTLS_CMD_IDENTIFY (this is sent by the PC to identify the address and the roles of the attached nodes - the answer sent by the nodes contains this sequence too).
    • FE:00:00:39:20:19 corresponds to the command RTLS_CMD_RESET_DEVICE
    • FE:00:00:39:04:3D corresponds to the command RTLS_CMD_SCAN (the master is asked to launch a BLE scan)
    • FE:09:00:39:03:00:XX:XX:XX:XX:XX:XX:XX:XX:XX corresponds to the command RTLS_CMD_CONNECT
    • FE:0D:00:39:13:01:..... corresponds to the command RTLS_CMD_AOA_SET_PARAMS
    • FE:06:00:39:.... corresponds to the command RTLS_CMD_AOA_ENABLE

    I hope this will help,

    Kind regards,