johnnynine
Active Member
1. I see the SDK has many container types... OneWireContainer01 , OneWireContainer02, OneWireContainer03...
If a user of my software asks for a driver for their one-wire temperature probe, how do I know which container to use? I do see that there is a TemperatureContainer subclass or interface that has several container classes implementing it, but is there some spreadsheet somewhere or some way to know which containers to use for which products?
2. Also, this is off topic but can the following be called more than once before calling freePort()?
[codebox]com.dalsemi.onewire.OneWireAccessProvider.getAdapter(_adapterName, _serialPortName);[/codebox]
In other words can I have 2 object instances (or 2 applications) running at the same time, both calling getAdapter() to access different devices on the adapter?
Or can there be only one getAdapter() --> freePort() session for any serial port at a time?
Thanks,
Johnny
If a user of my software asks for a driver for their one-wire temperature probe, how do I know which container to use? I do see that there is a TemperatureContainer subclass or interface that has several container classes implementing it, but is there some spreadsheet somewhere or some way to know which containers to use for which products?
2. Also, this is off topic but can the following be called more than once before calling freePort()?
[codebox]com.dalsemi.onewire.OneWireAccessProvider.getAdapter(_adapterName, _serialPortName);[/codebox]
In other words can I have 2 object instances (or 2 applications) running at the same time, both calling getAdapter() to access different devices on the adapter?
Or can there be only one getAdapter() --> freePort() session for any serial port at a time?
Thanks,
Johnny