Skip to content

Commit 1f5cf6a

Browse files
committed
document tasks to improve the library
1 parent f0ae802 commit 1f5cf6a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,12 @@ A summary of one way to use the application API goes like this:
5353
- make a command line app that lists the available devices, and runs the 2 tests on whichever device the user selects
5454
- move the matching of current configuration of sensors to a different API layer. This simplifies the
5555
the implementation for the Vendors, and it also provides a simplier API for Application developers
56+
- update the API to support checking if a device is attached without actually opening it, also this API
57+
should support opening multiple devices of the same type attached to the same computer. Perhaps it would work to
58+
have the DeviceFactory return a list of devices which aren't opened. These devices can then be queried to see
59+
if they are actually available(they might be in use by us or some other program). And they can be opened. It is also nice
60+
though to work without the device factory. So it might be best to introduce a 'Library' style object for each device.
61+
So a GoIOLibrary sigleton can be created and this can be used to list the GoIO devices. The DeviceFactory can use this.
62+
- boil DeviceService down to just logging and user messages, the rest of the methods can be removed or made static, they
63+
are legacy for Waba support
64+
- Move DeviceFactory out of this library and make the creation of devices more like 'new SomethingDevice(deviceService, optional_type)'

0 commit comments

Comments
 (0)