BLE Connection

To begin interfacing with the Sparrow Link Pulse Generator using the Sparrow Link Hub, use the BLE connection methods to establish a pairing between the Pulse Generator and the Hub. When done, Disconnect the pairing.

Note: After a factory reset or update to the Sparrow Link Pulse Generator, it may take two attempts to connect to the app or Hub. If the first attempt fails, cancel BLE advertising from the Pulse Generator and restart the connection steps.

When accurate timestamps of device interactions are needed, the ConnectSync() call is recommended. This call ensures that the Pulse Generator's internal clock is set to the same date and time settings as the computer connected to the Hub.

Connect

Connect
(
Serial
,
)

Connects the Sparrow Link Hub to the Sparrow Link Pulse Generator.

Steps to connect:

  1. Enable Bluetooth Low Energy (BLE) on the Sparrow Link Pulse Generator by navigating to the BLE screen and selecting ‘OK’ to turn on Bluetooth.
  2. After BLE is enabled, enter the 6-digit number shown on the Pulse Generator screen into the Connect() call, as shown in the example.
Params
Serial
string
required

Wrap the 6-digit serial number (SN) displayed on the Sparrow Link Pulse Generator in quotations. Example:  Connect(“123456”) or Connect(‘123456’)

required
Return Value

ConnectSync

ConnectSync
(
Serial
,
)

Connects the Sparrow Link Hub to the Sparrow Link Pulse Generator and sets the Sparrow Link Pulse Generator system time to match the date and time of your computer.

Steps to connect:

  1. Enable Bluetooth Low Energy (BLE) on the Sparrow Link Pulse Generator by navigating to the BLE screen and selecting ‘OK’ to turn on Bluetooth.
  2. After BLE is enabled, enter the 6-digit number shown on the Pulse Generator screen into the ConnectSync() call as shown in the example.
Params
Serial
string
required

Wrap the 6-digit serial number (SN) displayed on the Sparrow Link Pulse Generator in quotations. Example:  ConnectSync(“123456”) or ConnectSync(‘123456’)

required
Return Value

Disconnect

Disconnect
(
,
)

End the pairing between the Sparrow Link Pulse Generator  and the Sparrow Link Hub.

Params
required
required
Return Value