add device announce code