Comments (2)
I was incorrect here, a callback is added for all devices but subcriptions are only created when subscribeToDeviceCommands
is called.
EDIT: The ManagedGateway does actually subscribe to all devices, through the following line:
https://github.com/ZoetropeLabs/iot-python/blob/master/src/ibmiotf/gateway.py#L517
This subscribes to client.COMMAND_TOPIC
which is a wildcard for all commands: "iot-2/type/+/id/+/cmd/+/fmt/+"
from iot-python.
Agreed, gateways should follow the same rule as applications, with no default wildcarded subscriptions such as this
from iot-python.
Related Issues (20)
- Upgrade to MQTTv5 HOT 2
- Add black validation to travis build
- Complete documentation HOT 1
- New state APIs appear to allow creation of Device Types HOT 2
- state.draft.schemas.update should support updating schema content
- Schema create/update only support schema content as string
- Extend psutil sample to support disk utilization
- del Connector.destinations[destination.name] throws ApiException despite success HOT 1
- AttributeError: 'ApplicationClient' object has no attribute 'ServiceBindings' HOT 2
- Connection timeout to be increased
- Tokens with some characters in cause authentication errors HOT 1
- Unable to retrieve devices for a type using ApplicationClient / Support len() on Devices object HOT 6
- The Connectors::create function does not pass configuration parameter to REST API
- Running multiple clients throws error HOT 2
- Invalid Event: Received command on invalid topic: iot-2/type/Raspberrypi4B/id/pi-gateway/cmd/reset/fmt/json HOT 1
- Publishing events on behalf of devices HOT 1
- Tests failure due to 'authorization issue' HOT 1
- Set QoS when subscribe
- How can I simply create a device and register it and then connect a send an event payload with the using the token?
- Not compatible with python 3.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-python.