rcore_xbridge
[Drivers]
Collaboration diagram for rcore_xbridge:
- Compile-time dependencies
- none
- Provides
- Requires
- none
- Configuration requests
- PLAYER_WSN_REQ_POWER (to be implemented)
- PLAYER_WSN_REQ_DATATYPE
- PLAYER_WSN_REQ_DATAFREQ (to be implemented)
- Configuration file options
- port (integer)
- Default: 5555
- TCP port to which the XBridge data gets broadcasted.
- node (integer tupple)
- These are the calibration values for -1G/+1G for the ADXL210 accelerometer sensor (see the appropriate data sheet on how to obtain it). Each sepparate board *MUST* be calibrated! Only usable when requesting data in converted metric units mode.
- The tuple means: [node_id group_id calibration_negative_1g_x_axis calibration_positive_1g_x_axis calibration_negative_1g_y_axis calibration_positive_1g_y_axis calibration_negative_1g_z_axis calibration_positive_1g_z_axis ]
- converted (integer)
- Default: 1. Possible values: 0, 1, 2. (0=RAW, 1=m/s^2, 2=G)
- Fill the data buffer with converted engineering units (1,2) or RAW (0) values.
- readppacket (integer)
- Default: 8.
- How many readings does the Particle send in one packet? (using multiple readings per packet, will increase the sample rate). Note: Use 0 as a special value for enabling the standard TeCo SSIMP mode (multiple tuples).
- Example
driver ( name "rcore_xbridge" provides ["wsn:0"] port 5555 # Calibrate node 0 from group 125 (default) with X={419,532} and Y={440,552} node [0 125 419 532 440 552 0 0] # Calibrate node 2 from group 125 (default) with X={447,557} and Y={410,520} node [2 125 447 557 410 520 0 0] # Use converted engineering units (G) converted 2 )