Skip to content

Function: defineDeviceProfile() ​

ts
function defineDeviceProfile(profile): DeviceProfile;

Defined in: netconf/src/devices/device.ts:221

Define a device profile in TypeScript, for behaviour a JSON profile can't describe. Use it as connect({ profile }) or in autoDetect([...]).

Parameters ​

profile ​

DeviceProfile

Returns ​

DeviceProfile

Released under the MIT Licence.