w3c / automotive-viss2

MIT License
9 stars 15 forks source link

Server subscriptionId doesn't decrease on unsubscribe #11

Closed MagnusGun closed 3 years ago

MagnusGun commented 3 years ago
Server: {"action":"subscribe","requestId":"246","subscriptionId":"1"}
Server: {"action":"subscription","subscriptionId":"1", "data":{"path":"Vehicle.Cabin.Door.Row1.Right.IsOpen", "dp":{"value":"220", "ts":"2021-11-18T16:43:52Z"}}}
...
Server: {"action":"unsubscribe","requestId":"246"}
Server: {"action":"subscribe","requestId":"246","subscriptionId":"2"}
Server: {"action":"subscription","subscriptionId":"2", "data":{"path":"Vehicle.Cabin.Door.Row1.Right.IsOpen", "dp":{"value":"153", "ts":"2021-11-18T16:48:02Z"}}}
...
Server: {"action":"unsubscribe","requestId":"246"}
Server: {"action":"subscribe","requestId":"246","subscriptionId":"3"}
Server: {"action":"subscription","subscriptionId":"3", "data":{"path":"Vehicle.Cabin.Door.Row1.Right.IsOpen", "dp":{"value":"730", "ts":"2021-11-18T16:50:13Z"}}}
MagnusGun commented 3 years ago

closing this issue after discussion with @UlfBj