int send_sensor_data(slave_data *slave)
Send sensor data (measurement) to the master via ESP-NOW.
int register_slave(slave_data *slave)
Send the registration packet to the master via ESP-NOW.
int slave_com_init(void)
Initialize slave communication (queue, ESP-NOW, broadcast peer)
int send_theft_alarm(slave_data *slave)
Send theft/tampering alarm to the master via ESP-NOW.