pub fn get_device_motion_events<Conn, A>(
    conn: &Conn,
    start: Timestamp,
    stop: A,
    device_id: u8
) -> Result<Cookie<'_, Conn, GetDeviceMotionEventsReply>, ConnectionError>where
    Conn: RequestConnection + ?Sized,
    A: Into<Timestamp>,