You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki: http://wiki.buglabs.net



Specifications

From BUG Wiki

Jump to: navigation, search

Contents

Documentation for Current Products


What Do These Pages Contain?

Product Specifications

These sections contain descriptions of base and module capabilities.


Hardware Documentation

Check these sections for downloadable hardware design specifications, layout diagrams, schematics, BOMs, and related files.


Software Documentation

Drivers

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-2.6.27.2/include/linux directory.)


OSGi Services

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:


Web Services

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.