DRB Agent

DRB Agent is used to control and validate Bluetooth Low Energy (BLE) operations, including advertising, scanning, pairing, connecting to BLE devices, and exchanging data, to verify BLE-based communication and functionality.

DRB Agent Blocks

1. DRB Set Resistance

The block shall configure the DRB agent to set a fixed resistance value.

Properties

Inputs

Parameter Name

Description

Resistance Value

The resistance value to be applied by the DRB agent.

DRB Set Resistance - input parameter.

Outputs

Output Code

Description

0

Resistance set successfully.

1

Unable to set resistance.

-1

Invalid or out of range.

DRB Set Resistance - output parameter.

2. DRB Ramp

The block shall gradually change the resistance from a start resistance point to an end resistance point over a specified cycle time.

Properties

Inputs

Parameter Name

Description

Start Resistance point

Initial resistance value.

End Resistance point

Final resistance value.

Cycle Time

Total time duration to complete the ramp from start to end.

DRB Ramp - input parameter.

Outputs

Output Code

Description

0

BLE scan completed

1

BLE scan failed

-1

Invalid BLE scan request

DRB Ramp - output parameter.

Output Possibilities Configuration

3. DRB Toggle

The block shall toggle between two states based on defined start and end time points, with specified ON and OFF durations for a given total duration.

Properties

Inputs

Parameter Name

Description

Start Point Time

Time at which the toggle operation begins.

End Point Time

Time at which the toggle operation ends.

ON Duration

Duration for which the output remains in ON state.

OFF Duration

Duration for which the output remains in OFF state.

ON Duration

Total time for which the toggle operation is executed.

DRB Toggle - input parameter.

Outputs

Output Code

Description

0

Toggle operation completed successfully.

1

Toggle operation failed.

-1

Time values or durations are invalid or inconsistent.

2

Operation stopped before reaching end point time.

DRB Toggle - output parameter.