dnsDeviceDelete

dnsDeviceDelete — removes a device configuration from the dnscan device list.

Synopsis

(dnsDeviceDelete card_id DeviceMacId)
	

Parameters

card_id
The target card ID (0..3).
DeviceMacId
The device MAC ID.

Returns

If successful, then:

(dnsDeviceDelete card_id CMD_DELETE_DEVICE)

or, if an error is detected, then one of:

(error "dnsDeviceDelete DR_ERR_CARD_INVALID (time) invalid card: card_id")
(error "dnsDeviceDelete DR_ERR_NO_CARD (time) card not available")
(error "dnsDeviceDelete DVN_ERR_CMD_ERR_NODEV (time) Cmd: Device not found")
(error "dnsDeviceDelete DVN_ERR_CMD_TIMEOUT (time) Cmd failed (timeout)")

Description

Removes a device configuration from the device list, closing all related client connections.