static void switch_to_idle_mode()
{
	if (current_state == HW_RADIO_STATE_IDLE)
		return;

	ezradio_change_state(EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_SLEEP);
	current_state = HW_RADIO_STATE_IDLE;
}
void stop_radio(){
#if defined USE_SI4460
    // stop sending signal
    ezradio_change_state(EZRADIO_CMD_CHANGE_STATE_ARG_NEXT_STATE1_NEW_STATE_ENUM_READY);
#elif defined USE_CC1101
    cc1101_interface_strobe(RF_SIDLE);
#endif
}