device_state_id -> 4, keepalive -> 0 where necessary