... text ...
For function reference and examples we assume, that we imported systeminformation as follows:
const si = require('systeminformation');
Detected Thunderbold Devices
All functions in this section return a promise or can be called with a callback function (parameter cb in the function reference)
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
|---|---|---|---|---|---|---|---|
| si.thunderbolt(cb) | [{...}] | X | X | X | thunderbolt information | ||
| name | X | X | controller / bus name | ||||
| uuid | X | X | X | unique id | |||
| bus | X | X | X | bus number | |||
| type | X | X | X | e.g. 'hub', 'device' | |||
| speed | X | X | X | link speed (Gb/s) | |||
Example
[
{
name: 'Thunderbolt USB4 Bus 0',
uuid: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
bus: 0,
type: 'hub',
speed: 120
}
]
|
|||||||