-
Notifications
You must be signed in to change notification settings - Fork 23
Description
First of, kudos for great work achieved with this plugin. :-)
I have an issue, though : subscription to certain events looks unavailable (I'm currently using version ^2.2.0 of the plugin).
Namely, in my case, the Battery level events and connection notification events for the Movesense MD sensor.
According to YAML specification, a subscription route exists for both : "/System/Energy/Level" and "/Comm/Ble/Peers" :
- https://bitbucket.org/movesense/movesense-device-lib/src/master/MovesenseCoreLib/resources/movesense-api/system/energy.yaml
- https://bitbucket.org/movesense/movesense-device-lib/src/master/MovesenseCoreLib/resources/movesense-api/comm/ble.yaml
I've tried many combinations of Mds, MdsAsync, subscribe or post to "/Subscription" endpoint, on iOS or Android, etc. and I'm getting an onSubscriptionError every time.
Example :
MdsAsync.subscribe(
Mds.createSubscriptionUri(serial,"/System/Energy/Level"),
'{}',
);
throws an MdsError, code 404, which likely indicates that the API routes don't exist...
Can you confirm that it is the case and whether you intend to implement them in the future ?