beep_timeout
beep_state.timeout_id = timeout(beep_timeout, NULL,
extern void beep_timeout(void *arg);