adsSyncReadWriteReq

Writes data synchronously into an ADS server and receives data back from the ADS device.

long adsSyncReadWriteReq(
  AmsAddr        lj_AmsAddr,
  long           lj_indexGroup,
  long           lj_indexOffset,
  long           lj_lengthRead,
  JNIByteBuffer  lj_pDataRead,
  long           lj_lengthWrite,
  JNIByteBuffer  lj_pDataWrite
);

Parameter

Return value

long: returns the error state of the function.