On Mon, Sep 21, 2020 at 02:48 AM, Erik Kaashoek wrote:
Thanks!
I may have missed some of your changes in capitalization.
scanraw returns a stream of bytes
[0] = '{'
[1] = 'x'
[2] = MSB(measured value) binary format
[3] = MSB(measured value) binary format
[4..] = repeats [1]..[3] for each point
[x] = '}'
if the scan is aborted by touching the tinySA screen the tinySA skips the remaining data points and terminates with sending the final '}'
Measured value is level in (dBm+120) times 32
Erik,
? ? ?Correction per your notes to me:
? ? ? ? ?
[2] = MSB(measured value) binary format
? ?Should be:
? ? ? ?
[2] = LSB(measured value) binary format? ?
? ?LSB and MSB are 16-bit values.
- Herb