mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
save work
This commit is contained in:
parent
7fa201b2fa
commit
54484e1a92
@ -324,14 +324,15 @@ void UsbTunnelInterface::handleHidReportRxQueue()
|
||||
|
||||
void UsbTunnelInterface::handleBusAccessServerProtocol(ServiceIdType servId, const uint8_t* requestData, uint16_t packetLength)
|
||||
{
|
||||
uint8_t respData[3];
|
||||
uint8_t respData[3]; // max. 3 bytes are required for a response
|
||||
|
||||
switch (servId)
|
||||
{
|
||||
case DeviceFeatureGet: // Device Feature Get
|
||||
{
|
||||
FeatureIdType featureId = (FeatureIdType)requestData[0];
|
||||
respData[0] = (uint8_t) featureId;
|
||||
respData[0] = (uint8_t) featureId; // first byte in repsonse is the featureId itself again
|
||||
|
||||
switch (featureId)
|
||||
{
|
||||
case SupportedEmiType: // Supported EMI types
|
||||
|
Loading…
Reference in New Issue
Block a user