Hello exports,
I want to design a GUI for our own, but I have some difficulties in analyzing the obj data. the command I sent is as follows:
sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 1 0
adcCfg 2 1
adcbufCfg -1 0 0 1 0
profileCfg 0 77 7 7 58 0 0 68 1 256 5500 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
frameCfg 0 0 32 1 100 1 0
lowPower 0 0
guiMonitor -1 1 0 0 0 0 0
cfarCfg -1 0 2 8 4 4 0 5120
cfarCfg -1 1 0 8 4 4 0 5120
peakGrouping -1 1 0 0 1 224
multiObjBeamForming -1 1 0.5
calibDcRangeSig -1 0 -5 8 256
extendedMaxVelocity -1 0
clutterRemoval -1 0
compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 0 1.5 0.2
sensorStart
I want the decive send only one frame,and send only one kind of data,for example,the detectedObjects, save the data from data UART port by Serial assistant, every time it received differrent number of Bytes because the device detected differrent number of objects,right?
But I just cannot get a specific number of bytes for every objects. from my perspective, the data includes: header, which takes 40 bytes, tlv,which takes 12 bytes, data, when send the detectedObjects, it takes 16 bytes for each object(numDetetedObj, xyzQFormat, rangeIdx, dopplerIdx, peakVal, x,y,z) , Paddings,which is all "0F" for just the purpose of making total packet length multiple of MMWDEMO_OUTPUT_MSG_SEGMENT_LEN, is it right ? But in this understanding, my test sometimes succeeded, some times failed, why? I've post two texts above for your reference.
Thank you .data_224.TXTdata_352.TXT