public byte[] configureCmd(String setting, Bundle configInfo) { byte[] result; try { Log.d(TAG, "configuring"); result = sensorDriver.configureCmd(setting, configInfo); Log.d(TAG, "configured"); } catch (ParameterMissingException pme) { pme.printStackTrace(); result = null; } return result; }
@Override public List<SensorParameter> getDriverParameters() throws RemoteException { return sensorDriver.getDriverParameters(); }
public byte[] stopCmd() { return sensorDriver.stopCmd(); }
@Override public byte[] encodeDataToSendToSensor(Bundle dataToFormat) throws RemoteException { return sensorDriver.sendDataToSensor(dataToFormat); }
public SensorDataParseResponse getSensorDataV2( long maxNumReadings, List<SensorDataPacket> rawData, byte[] remainingBytes) { // Log.d(TAG," sensor driver get dataV2"); return sensorDriver.getSensorData(maxNumReadings, rawData, remainingBytes); }
public byte[] getSensorDataCmd() { return sensorDriver.getSensorDataCmd(); }