dragino / TrackerD

For Dragino TrackerD, which support GPS+WiFi+BLE+TEMP+HUM+ motion
22 stars 12 forks source link

AT+FTIME value is multiplied by 1000 in the actual config #12

Open bienvuinfo opened 1 year ago

bienvuinfo commented 1 year ago

TrackerD v1.4.4

Entering the command AT+FTIME=150 then checking the actual config with AT+CFG returns AT+FTIME=150000

namejinnameyuan commented 1 year ago

Set the time in seconds, and the milliseconds he uses in ESP32 will be converted

bienvuinfo commented 1 year ago

I want to use AT+CFG to backup the actual device configuration then simply 'replay' the output to restore the config.

AT+FTIME is the only parameter that cannot restored 'as-is' and requires transformation.

It would be very convenient to have the same values.

namejinnameyuan commented 1 year ago

ok, you want AT+FTIME also use MS as the unit?

------------------ 原始邮件 ------------------ 发件人: "dragino/TrackerD" @.>; 发送时间: 2023年4月24日(星期一) 下午4:28 @.>; @.**@.>; 主题: Re: [dragino/TrackerD] AT+FTIME value is multiplied by 1000 in the actual config (Issue #12)

I want to use AT+CFG to backup the actual device configuration then simply 'replay' the output to restore the config.

AT+FTIME is the only parameter that cannot restored 'as-is' and requires transformation.

It would be very convenient to have the same values.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

bienvuinfo commented 1 year ago

Yes, milliseconds. Same unit in AT+CFG and AT+FTIME. Thanks.