A tool to communicate with some health sensor rings, such as colmi
Fresh reimplementation of what https://github.com/tahnok/colmi_r02_client/ does.
There is another project that supports it: https://codeberg.org/Freeyourgadget/Gadgetbridge/
This command list comes form the project above:
CMD_SET_DATE_TIME 0x01
CMD_BATTERY 0x03
CMD_PHONE_NAME 0x04
CMD_POWER_OFF 0x08
CMD_PREFERENCES 0x0a
CMD_SYNC_HEART_RATE 0x15
CMD_AUTO_HR_PREF 0x16
CMD_GOALS 0x21
CMD_AUTO_SPO2_PREF 0x2c
CMD_PACKET_SIZE 0x2f
CMD_AUTO_STRESS_PREF 0x36
CMD_SYNC_STRESS 0x37
CMD_AUTO_HRV_PREF 0x38
CMD_SYNC_HRV 0x39
CMD_SYNC_ACTIVITY 0x43
CMD_FIND_DEVICE 0x50
CMD_MANUAL_HEART_RATE 0x69
CMD_NOTIFICATION 0x73
CMD_BIG_DATA_V2 0xbc
CMD_FACTORY_RESET 0xff
PREF_READ 0x01
PREF_WRITE 0x02
PREF_DELETE 0x03
NOTIFICATION_NEW_HR_DATA 0x01
NOTIFICATION_NEW_SPO2_DATA 0x03
NOTIFICATION_NEW_STEPS_DATA 0x04
NOTIFICATION_BATTERY_LEVEL 0x0c
NOTIFICATION_LIVE_ACTIVITY 0x12
BIG_DATA_TYPE_SLEEP 0x27
BIG_DATA_TYPE_SPO2 0x2a
SLEEP_TYPE_LIGHT 0x02
SLEEP_TYPE_DEEP 0x03
SLEEP_TYPE_REM 0x04
SLEEP_TYPE_AWAKE 0x05