fix coap callback typo
This commit is contained in:
parent
d451768302
commit
8e5c82d8c8
@ -302,7 +302,7 @@ public class CoapTransportResource extends AbstractCoapTransportResource {
|
||||
attributeSubscriptions.remove(attrSessionId);
|
||||
transportService.process(attrSession,
|
||||
TransportProtos.SubscribeToAttributeUpdatesMsg.newBuilder().setUnsubscribe(true).build(),
|
||||
new CoapNoOpCallback(exchange));
|
||||
new CoapOkCallback(exchange, CoAP.ResponseCode.DELETED, CoAP.ResponseCode.INTERNAL_SERVER_ERROR));
|
||||
}
|
||||
closeAndDeregister(sessionInfo);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user