Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(A) Not all sensor commands are described. #2

Open
UweR70 opened this issue Dec 7, 2022 · 6 comments
Open

(A) Not all sensor commands are described. #2

UweR70 opened this issue Dec 7, 2022 · 6 comments

Comments

@UweR70
Copy link

UweR70 commented Dec 7, 2022

HS2A43A = SKU:SEN0395

Minimum these four commands are not documented, explained nor implemented in the here provided ".h" / ".cpp" files:

  1. "getSensitivity"
  2. "getRange"
  3. "getLatency"
  4. "getLedMode 1"

Firing also them results in the following:

"...
22:15:01.768 -> load:0x40080400,len:6388
22:15:01.768 -> entry 0x400806b4
22:15:01.907 -> Start
22:15:01.907 ->
22:15:02.898 ->
22:15:02.962 -> (1) >> sensorStop
22:15:02.962 -> (2) >> sensor stopped already
22:15:02.962 -> (3) >> Error
22:15:02.995 -> (4) >> leapMMW:/>factoryReset 0x45670123 0xCDEF89AB 0x956128C6 0xDF54AC89
22:15:02.995 -> (5) >> factory reset complete
22:15:02.995 -> (6) >> Done
22:15:02.995 -> (7) >> leapMMW:/>sensorCfgStart 1
22:15:02.995 -> (8) >> Done
22:15:02.995 -> (9) >> leapMMW:/>detRangeCfg -1 0 4
22:15:02.995 -> (10) >> Done
22:15:02.995 -> (11) >> leapMMW:/>outputLatency -1 0 0
22:15:02.995 -> (12) >> Done
22:15:02.995 -> (13) >> leapMMW:/>getSensitivity
22:15:02.995 -> (14) >> Response 7
22:15:02.995 -> (15) >> Done
22:15:02.995 -> (16) >> leapMMW:/>getRange
22:15:03.038 -> (17) >> Response 0.000 0.600
22:15:03.038 -> (18) >> Done
22:15:03.038 -> (19) >> leapMMW:/>getLatency
22:15:03.038 -> (20) >> Response 0.025 0.000
22:15:03.038 -> (21) >> Done
22:15:03.038 -> (22) >> leapMMW:/>getLedMode 1
22:15:03.038 -> (23) >> Response 1 0
22:15:03.038 -> (24) >> Done
22:15:03.038 -> (25) >> leapMMW:/>saveCfg 0x45670123 0xCDEF89AB 0x956128C6 0xDF54AC89
22:15:03.038 -> (26) >> save cfg complete
22:15:03.038 -> (27) >> Done
..."

So they exist and they are interpreted correctly, but they are not documented.

My requirements and questions:

  1. Please explain also them in your product wiki!

  2. What are about the "set..." variants?

  3. Which other commands are implemented but not described in your product web site / wiki ?

@dbouchabou
Copy link

hi,
where did you find these commands ? did you find a documentation ? i'm intereted

@UweR70
Copy link
Author

UweR70 commented Dec 12, 2022

@dbouchabou
I figured out that SKU:SEN0395 is equal HS2A43A.
The above shown commands are the result of a deep dive internet search ;-)
And no, there is no complete documentation / or I did not find it. - and that´s why I also requested to add them to the product wiki.

@UweR70
Copy link
Author

UweR70 commented Dec 28, 2022

No reaction after three weeks?
Lame and shame!

三周后没有反应?
蹩脚又可耻!

@UweR70
Copy link
Author

UweR70 commented Feb 8, 2023

No reaction after two month?
Lame and shame!

两个月后还没有反应?
蹩脚又可耻!

@UweR70
Copy link
Author

UweR70 commented Mar 9, 2023

No reaction after three month?
Lame and shame!

三个月后没有反应?
蹩脚又可耻!

@dennis777
Copy link

@UweR70 How did you even manage to write to the sensor or read? I plugged the Arduino in and tried to send some sensorStop / sensorStart commands in the serial monitor and I got back no response... I dont understand how to program sensor with UART

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants