From BUG Wiki
Documentation for Current Products
What Do These Pages Contain?
These sections contain descriptions of base and module capabilities.
Check these sections for downloadable hardware design specifications, layout diagrams, schematics, BOMs, and related files.
The drivers for each module handle basic functions, such as booting and resetting the module and controlling the red and green status LEDs for each module, as well as functions specific to the particular module.
You can access the .h files directly from the BUG SVN. Navigate to the bug/branches directory, then to the appropriate revision. From there, navigate to the include/linux directory. (For example, at the time of this writing, the module drivers can be found in the bug/branches/R1.4/R1.4.3/bug-linux-184.108.40.206/include/linux directory.)
These sections provide direct links to documentation for the relevant OSGi services. Each service is an interface with its own methods. Method documentation for all OSGi services (from BUG and from other users) is available in the javadocs. Navigate to the release of the BUG javadocs, then to the appropriate package for the services related to each particular module. The package names follow the format com.buglabs.bug.module.[NAME].pub.
For more information about OSGi Services, check out these links:
- What is OSGi?
- BUG OSGi Guide
- Properties of Concierge, the OSGi framework implementation used by BUG
- Adjusting Concierge Log Level
- Accessing the OSGi Console
- More OSGi Background Knowledge
To check all of the web services on a bug, go to http://[BUG ADDRESS]/service. If multiple web services of the same name are present, they will be differentiated by the addition of numbers to their names. For example, if two Acceleration web services are available, they might be named Acceleration and Acceleration2, and would be accessed at http://[BUG ADDRESS]/service/Acceleration and http://[BUG ADDRESS]/service/Acceleration2, respectively.
- * When using a real BUG, replace [BUG ADDRESS] with 10.10.10.10 (or your alias).
- * When using a Virtual BUG, replace [BUG ADDRESS] with localhost:8082.