Commit 8e5c82d8c8d0010d977ad6fd43a825604d896f4f

Authored by ShvaykaD
Committed by Andrew Shvayka
1 parent d4517683

fix coap callback typo

... ... @@ -302,7 +302,7 @@ public class CoapTransportResource extends AbstractCoapTransportResource {
302 302 attributeSubscriptions.remove(attrSessionId);
303 303 transportService.process(attrSession,
304 304 TransportProtos.SubscribeToAttributeUpdatesMsg.newBuilder().setUnsubscribe(true).build(),
305   - new CoapNoOpCallback(exchange));
  305 + new CoapOkCallback(exchange, CoAP.ResponseCode.DELETED, CoAP.ResponseCode.INTERNAL_SERVER_ERROR));
306 306 }
307 307 closeAndDeregister(sessionInfo);
308 308 break;
... ...