MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / SetProductId

Method SetProductId

cpp/src/platform/HidController.cpp:98–110  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Set the USB product ID search value. The HID port must be closed for the setting to be accepted. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

96// Set the USB product ID search value. The HID port must be closed for the setting to be accepted.
97//-----------------------------------------------------------------------------
98bool HidController::SetProductId
99(
100 uint32 const _productId
101)
102{
103 if( m_bOpen )
104 {
105 return false;
106 }
107
108 m_productId = _productId;
109 return true;
110}
111
112//-----------------------------------------------------------------------------
113// <HidController::SetSerialNumber>

Callers 1

SetProductDetailsMethod · 0.45

Calls

no outgoing calls

Tested by 1

SetProductDetailsMethod · 0.36