use regId to send data.