ESPHome  2024.11.0
Data Structures | Enumerations
esphome::seeed_mr24hpc1 Namespace Reference

Data Structures

class  CustomModeNumber
 
class  CustomSetEndButton
 
class  CustomUnmanTimeNumber
 
class  ExistenceBoundarySelect
 
class  ExistenceThresholdNumber
 
class  MotionBoundarySelect
 
class  MotionThresholdNumber
 
class  MotionToRestTimeNumber
 
class  MotionTriggerTimeNumber
 
class  MR24HPC1Component
 
class  RestartButton
 
class  SceneModeSelect
 
class  SensitivityNumber
 
class  UnderlyOpenFunctionSwitch
 
class  UnmanTimeSelect
 

Enumerations

enum  FrameState {
  FRAME_IDLE, FRAME_HEADER2, FRAME_CTL_WORD, FRAME_CMD_WORD,
  FRAME_DATA_LEN_H, FRAME_DATA_LEN_L, FRAME_DATA_BYTES, FRAME_DATA_CRC,
  FRAME_TAIL1, FRAME_TAIL2
}
 
enum  PollingState {
  STANDARD_FUNCTION_QUERY_PRODUCT_MODE = 0, STANDARD_FUNCTION_QUERY_PRODUCT_ID, STANDARD_FUNCTION_QUERY_FIRMWARE_VERSION, STANDARD_FUNCTION_QUERY_HARDWARE_MODE,
  STANDARD_FUNCTION_QUERY_SCENE_MODE, STANDARD_FUNCTION_QUERY_SENSITIVITY, STANDARD_FUNCTION_QUERY_UNMANNED_TIME, STANDARD_FUNCTION_QUERY_HUMAN_STATUS,
  STANDARD_FUNCTION_QUERY_HUMAN_MOTION_INF, STANDARD_FUNCTION_QUERY_BODY_MOVE_PARAMETER, STANDARD_FUNCTION_QUERY_KEEPAWAY_STATUS, STANDARD_QUERY_CUSTOM_MODE,
  STANDARD_FUNCTION_QUERY_HEARTBEAT_STATE, CUSTOM_FUNCTION_QUERY_EXISTENCE_BOUNDARY, CUSTOM_FUNCTION_QUERY_MOTION_BOUNDARY, CUSTOM_FUNCTION_QUERY_EXISTENCE_THRESHOLD,
  CUSTOM_FUNCTION_QUERY_MOTION_THRESHOLD, CUSTOM_FUNCTION_QUERY_MOTION_TRIGGER_TIME, CUSTOM_FUNCTION_QUERY_MOTION_TO_REST_TIME, CUSTOM_FUNCTION_QUERY_TIME_OF_ENTER_UNMANNED,
  UNDERLY_FUNCTION_QUERY_HUMAN_STATUS, UNDERLY_FUNCTION_QUERY_SPATIAL_STATIC_VALUE, UNDERLY_FUNCTION_QUERY_SPATIAL_MOTION_VALUE, UNDERLY_FUNCTION_QUERY_DISTANCE_OF_STATIC_OBJECT,
  UNDERLY_FUNCTION_QUERY_DISTANCE_OF_MOVING_OBJECT, UNDERLY_FUNCTION_QUERY_TARGET_MOVEMENT_SPEED
}
 
enum  OutputSwitch { OUTPUT_SWITCH_INIT, OUTPUT_SWITCH_ON, OUTPUT_SWTICH_OFF }
 

Enumeration Type Documentation

◆ FrameState

Enumerator
FRAME_IDLE 
FRAME_HEADER2 
FRAME_CTL_WORD 
FRAME_CMD_WORD 
FRAME_DATA_LEN_H 
FRAME_DATA_LEN_L 
FRAME_DATA_BYTES 
FRAME_DATA_CRC 
FRAME_TAIL1 
FRAME_TAIL2 

Definition at line 36 of file seeed_mr24hpc1.h.

◆ OutputSwitch

Enumerator
OUTPUT_SWITCH_INIT 
OUTPUT_SWITCH_ON 
OUTPUT_SWTICH_OFF 

Definition at line 80 of file seeed_mr24hpc1.h.

◆ PollingState

Enumerator
STANDARD_FUNCTION_QUERY_PRODUCT_MODE 
STANDARD_FUNCTION_QUERY_PRODUCT_ID 
STANDARD_FUNCTION_QUERY_FIRMWARE_VERSION 
STANDARD_FUNCTION_QUERY_HARDWARE_MODE 
STANDARD_FUNCTION_QUERY_SCENE_MODE 
STANDARD_FUNCTION_QUERY_SENSITIVITY 
STANDARD_FUNCTION_QUERY_UNMANNED_TIME 
STANDARD_FUNCTION_QUERY_HUMAN_STATUS 
STANDARD_FUNCTION_QUERY_HUMAN_MOTION_INF 
STANDARD_FUNCTION_QUERY_BODY_MOVE_PARAMETER 
STANDARD_FUNCTION_QUERY_KEEPAWAY_STATUS 
STANDARD_QUERY_CUSTOM_MODE 
STANDARD_FUNCTION_QUERY_HEARTBEAT_STATE 
CUSTOM_FUNCTION_QUERY_EXISTENCE_BOUNDARY 
CUSTOM_FUNCTION_QUERY_MOTION_BOUNDARY 
CUSTOM_FUNCTION_QUERY_EXISTENCE_THRESHOLD 
CUSTOM_FUNCTION_QUERY_MOTION_THRESHOLD 
CUSTOM_FUNCTION_QUERY_MOTION_TRIGGER_TIME 
CUSTOM_FUNCTION_QUERY_MOTION_TO_REST_TIME 
CUSTOM_FUNCTION_QUERY_TIME_OF_ENTER_UNMANNED 
UNDERLY_FUNCTION_QUERY_HUMAN_STATUS 
UNDERLY_FUNCTION_QUERY_SPATIAL_STATIC_VALUE 
UNDERLY_FUNCTION_QUERY_SPATIAL_MOTION_VALUE 
UNDERLY_FUNCTION_QUERY_DISTANCE_OF_STATIC_OBJECT 
UNDERLY_FUNCTION_QUERY_DISTANCE_OF_MOVING_OBJECT 
UNDERLY_FUNCTION_QUERY_TARGET_MOVEMENT_SPEED 

Definition at line 49 of file seeed_mr24hpc1.h.