iotthings | spring boot netty rabbitmq my baits shiro aop | Websocket library
kandi X-RAY | iotthings Summary
kandi X-RAY | iotthings Summary
iotthing 是目前自己学习的 物联网的 Demo. netty 相关书籍 链接:提取码:nwa1.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Bind to server
- Start register to server
- Bind the server
- Get server info
- Login to Excel
- Export Excel data to an Excel file
- Writes the titles to Excel sheet
- Write rows to Excel format
- Get resulule result
- Send Mailer
- Send a message to RabbitMQ
- Handles a command
- Get a string representation of the statistics
- Send inline inline
- Update shiro filter
- Converts a hexadecimal string to a byte array
- Get the AuthenticationInfo object
- Send attachments
- Create datasource
- Encodes the message
- Event handler method
- Start the server
- Add handler resolvers
- Runs server
- Decodes a JSON message
- Runs the tool
iotthings Key Features
iotthings Examples and Code Snippets
Community Discussions
Trending Discussions on iotthings
QUESTION
I registered a device using the api and now I see this:
How do I move from WAITING_ON_CONNECTION to a different state?
Update
When I do the following:
curl -v -u bob@iotthings.com:iotthings \
-H 'Accept: application/vnd.com.nsn.cumulocity.deviceCredentials+json; charset=UTF-8; ver=0.9' \
-H 'Content-type: application/vnd.com.nsn.cumulocity.deviceCredentials+json; charset=UTF-8; ver=0.9' \
-X POST \
-d '{"id":"0000000017b769d5"}' \
http://iotthingscumulocity.cumulocity.com/devicecontrol/deviceCredentials/
I get a 403 status.. with this text:
{"error":"security/Forbidden","info":"https://www.cumulocity.com/guides/reference-guide/#error_reporting","message":"Access is denied"}%
I know I do not have any auth problems, because the following works fine and I get the device on the dashboard:
curl -v -u Imran@iotthings.com:iotthings \
-H 'Accept: application/vnd.com.nsn.cumulocity.managedObject+json; charset=UTF-8; ver=0.9' \
-H 'Content-type: application/vnd.com.nsn.cumulocity.managedObject+json; charset=UTF-8; ver=0.9' \
-X POST \
-d '{"c8y_IsDevice":{},"name":"77889"}' \
http://iotthingscumulocity.cumulocity.com/inventory/managedObjects
So.. Is there anything I need to do to avoid getting the 403 error? I started with the normal permissions for a demo account, and I added all other permissions as well - I still keep getting the 403.
...ANSWER
Answered 2018-Feb-19 at 06:42A client needs to query for the credentials using the bootstrap user. Once that happened the entry can be accepted and afterwards if the device queries again it will get the credentials.
http://cumulocity.com/guides/rest/device-integration/#step-0-request-device-credentials
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iotthings
You can use iotthings like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the iotthings component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page