Skip to content

There is no CSI data in the CSV file saved by the App #2

@whuryl

Description

@whuryl

Dear Steven, thank you for your work!

We can now get the CSI data from ESP32 and save them to the my-experiment-file.csv file of the computer, for example:

CSI_DATA,STA,74:05:A5:92:11:E1,-52,11,1,7,1,1,1,1,1,0,0,-89,1,6,1,6341572,0,114,0,0,6.71627,612,[114   -96 6 0 0 0 0 0 0 0 0 0 -5 -3 -8 2 -12 6 -16 9 -20 12 -23 12 -27 12 -28 10   -29 8 -28 6 -26 4 -23 2 -19 1 -15 1 -10 2 -6 3 -2 5 2 7 5 10 8 13 10 15 11 18   11 21 10 21 9 22 8 22 0 0 4 17 4 14 3 10 4 6 4 1 6 -3 8 -6 10 -9 13 -12 15   -13 17 -14 17 -14 18 -14 18 -12 17 -11 15 -10 12 -9 9 -9 5 -8 1 -8 -3 -9 -6   -10 -9 -11 -12 -13 -13 -14 -14 -15 0 0 0 0 0 0 0 0 0 0 ]

CSI_DATA,STA,74:05:A5:92:11:E1,-52,11,1,7,1,1,1,1,1,0,0,-89,1,6,1,7347868,0,114,0,0,7.72225,612,[114   -96 6 0 0 0 0 0 0 0 0 0 -31 0 -31 -2 -31 -4 -28 -6 -24 -6 -19 -4 -13 -3 -8 0   -3 4 0 8 3 12 5 16 6 18 7 21 6 23 6 24 5 24 4 24 3 23 2 20 2 16 1 12 2 7 3 3   5 -1 6 -6 0 0 11 -12 13 -14 14 -16 16 -16 16 -15 17 -15 16 -13 14 -12 12 -10   9 -8 5 -7 1 -6 -3 -5 -7 -5 -12 -5 -15 -6 -17 -6 -19 -7 -20 -7 -20 -7 -19 -7   -18 -7 -17 -6 -15 -4 -13 -2 -10 0 0 0 0 0 0 0 0 0 0 0 ]

However, when the ESP32 is connected to the mobile phone, there is no CSI data in the backup_xxx.csv file in the mobile phone. There are only four types of data: type, smartphone_id, timestamp, and current_action. For example:

type smartphone_id timestamp current_action
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'sit'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'transition'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'stand'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'transition'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'sit'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'transition'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'stand'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'transition'
'CURRENT_ACTION' '4b5bb365bd3e491f' 1.63825E+12 'sit'

Now, I need to save the CSI data in the backup_xxx.csv file of the phone. What do I need to do?

The ESP32 CSI Tool Settings are as follows:

PROJECT_NAME: ACTIVE_STA
CONFIG_ESPTOOLPY_MONITOR_BAUD: 115200
CONFIG_ESP_CONSOLE_UART_BAUDRATE: 115200
IDF_VER: v4.3.1-dirty

WIFI_CHANNEL: 6
ESP_WIFI_SSID: WiFi110
ESP_WIFI_PASSWORD: WiFi666666
PACKET_RATE: 100
SHOULD_COLLECT_CSI: 1
SHOULD_COLLECT_ONLY_LLTF: 1
SEND_CSI_TO_SERIAL: 1
SEND_CSI_TO_SD: 0

The APP labeling method we select to TimerMainActivity in ./app/src/main/AndroidManifest.xml

        <activity android:name=".Experiments.TimerMainActivity">
<!--        <activity android:name=".Experiments.PressAndHoldMainActivity">-->
<!--        <activity android:name=".Experiments.ToggleMainActivity">-->
<!--        <activity android:name=".Experiments.ManualInputMainActivity">-->

Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions