@@ -452,26 +452,26 @@ void AppTask::InitServer(intptr_t context)
452
452
453
453
// Add lights 1..3 --> will be mapped to ZCL endpoints 3, 4, 5
454
454
AddDeviceEndpoint (&gLight1 , &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes ),
455
- Span<DataVersion>(gLight1DataVersions ), chip::Span (), 1 );
455
+ Span<DataVersion>(gLight1DataVersions ), chip::CharSpan (), 1 );
456
456
AddDeviceEndpoint (&gLight2 , &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes ),
457
- Span<DataVersion>(gLight2DataVersions ), chip::Span (), 1 );
457
+ Span<DataVersion>(gLight2DataVersions ), chip::CharSpan (), 1 );
458
458
AddDeviceEndpoint (&gLight3 , &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes ),
459
- Span<DataVersion>(gLight3DataVersions ), chip::Span (), 1 );
459
+ Span<DataVersion>(gLight3DataVersions ), chip::CharSpan (), 1 );
460
460
461
461
// Remove Light 2 -- Lights 1 & 3 will remain mapped to endpoints 3 & 5
462
462
RemoveDeviceEndpoint (&gLight2 );
463
463
464
464
// Add Light 4 -- > will be mapped to ZCL endpoint 6
465
465
AddDeviceEndpoint (&gLight4 , &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes ),
466
- Span<DataVersion>(gLight4DataVersions ), chip::Span (), 1 );
466
+ Span<DataVersion>(gLight4DataVersions ), chip::CharSpan (), 1 );
467
467
468
468
// Re-add Light 2 -- > will be mapped to ZCL endpoint 7
469
469
AddDeviceEndpoint (&gLight2 , &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes ),
470
- Span<DataVersion>(gLight2DataVersions ), chip::Span (), 1 );
470
+ Span<DataVersion>(gLight2DataVersions ), chip::CharSpan (), 1 );
471
471
472
472
// Add Temperature Sensor devices --> will be mapped to endpoint 8
473
473
AddDeviceEndpoint (&TempSensor1, &bridgedTempSensorEndpoint, Span<const EmberAfDeviceType>(gBridgedTempSensorDeviceTypes ),
474
- Span<DataVersion>(gTempSensor1DataVersions ), chip::Span (), 1 );
474
+ Span<DataVersion>(gTempSensor1DataVersions ), chip::CharSpan (), 1 );
475
475
}
476
476
477
477
void HandleDeviceTempSensorStatusChanged (DeviceTempSensor * dev, DeviceTempSensor::Changed_t itemChangedMask)
0 commit comments