element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Industrial Automation
  • Technologies
  • More
Industrial Automation
Blog Connect to AVNET iotconnect.io with Python IoTConnectSDK and BLE - part 6: Register as a Gateway Device
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Industrial Automation to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 14 Oct 2021 7:34 PM Date Created
  • Views 725 views
  • Likes 1 like
  • Comments 0 comments
  • iotconnect
  • iiot
  • smartedge
  • raspberry_pi
  • iotconnect.io
Related
Recommended

Connect to AVNET iotconnect.io with Python IoTConnectSDK and BLE - part 6: Register as a Gateway Device

Jan Cumps
Jan Cumps
14 Oct 2021

AVNET's iotconnect.io cloud platform is an online service that you can use to send data to, and then show it on a dashboard. In this blog series I'm learning the Python SDK and integrating BLE devices.

In this post: the SDK is revamped and now shows how to register the kit as a real cloud gateway device, with child devices.

image

 

What is a Gateway Device?

 

In the first 5 posts, the SmartEdge IIOT Gateway was used as a simple cloud device.

It was a fixed entity that knew how to connect to the cloud, how to get sensor data, and how to exchange that.

 

With the new example that Avnet made for this gateway and the OnSemi RSL10 family, they have promoted the kit to a gateway device.

A gateway is responsible to collect data from other devices that may not be able to connect to the cloud. And is responsible for exchanging that with the cloud.

 

image

image source: iotconnect.io help page for device registration

 

There's flexibility with Gateway devices that's harder to achieve with normal devices.

Once it knows about a device it has to support, it can support a number of them.

Let's say that it supports OnSemi sensor kits and camera kits (it does and I have them, that's why I take this example image).

If you choose so, the kit is able to pull data of these kits (or ask them to take a photo) without registering. As long as they are in range, they can be polled.

The gateway can automate the registry of these devices, and include their metrics on your cloud.

This is your decision. You can make a design that only polls from known entities.

 

image

image source: iotconnect.io help page for device registration

 

A Gateway Device on iotconnect.io

 

When the Avnet example runs the first time, it automatically upgrades your kit's online registration from a standard cloud device to a gateway.

It uses a rest API to perform these activities.

By default, also a virtual child device is registered. This virtual device represents a software service running on your gateway.

It's a great way to showcase the Gateway principle if you don't have access to one of the OnSemi evaluation kits.

 

image

image source: iotconnect.io portal showing my gateway and the virtual client device that's automatically registered by the gateway.

 

It's a good example, exchanging useful information of the IIOT Gateway.

It tells the cloud what child device types it knows, if a device of those types has ever connected, and versions of their plug-in software.

It also sends data about its own software version.

image

image source: iotconnect.io portal showing the last metrics of the virtual client device

 

It is an example, but this could be something you use in your own company, to support management of your flock of things.

There are two other device types registered on the gateway: an OnSemi RSL10 SmartSense kit and an RSL10 Camera kit.

These are also defined as allowed children on the cloud and can be integrated with your portal. More on that later.

 

image

image source: rsl10 example portal showing the results of a request to the RSL10 Camera kit to take a photo

 

In the next posts, I'll review how this kit registered itself as Gateway, and how the integration with the OnSemi camera kit is designed.

For the Python and BLE lovers.

 

 

The Python SDK with On Semiconductor RSL10 BLE article seriesIndustry
part 1: overview and goal
part 2: WiFi Provisioning
part 3: Adding a Module (RSL10)
part 4: Talk BLE to the On Semi RSL10 Sensor Kit
part 5: A Cloud User Experience Example
part 6: Register as a Gateway Device
part 7: Register a Gateway and Client Devices
part 8: Get BLE Image from Camera and Send to Cloud
The NODE-Red SDK article seriesIndustry
part 1: overview and goal
register a Thing and connect to IoTConnect.io cloud
part 2: create an account and log on to the portal
part 3: set up the thing and its interface in the cloud
part 4: set up Node-RED and first exchange
interact with IoTConnect.io cloud
part 5: online dashboard
part 6: rules and alerts
part 7: messages and commands from the cloud
safer connections with certificates
part 8a: safer connect with Self Signed Certificates
part 8b: safer connect with CA certificatesY
commercial and industrial scale: outsource certificate generation and programming to subcontractors and suppliers
part 9a: Outsource Certificate Signing in IIoT Supply ChainY
part 9b: IIoT supply chain and Certificates - Create Ca Root certificate, Load to IoTConnect Cloud and ValidateY
part 9c: IIoT supply chain and Certificates - Create an Intermediate CA Certificate for your SubcontractorY
part 9d: IIoT supply chain and Certificates - Subcontractor Generates a Thing Certificate for Your DeviceY
part 9e: IIoT supply chain and Certificates - Test!Y
commercial and industrial scale: Trusted Platform Module (TPM) Authentication
part 10: Trusted Platform Module (TPM) SecurityY
Infineon SLx9670 Trusted Platform Module (TPM) for IoT SecurityY
The Automate Device Provisioning and Cloud Configuration article seriesIndustry
Automatic Provisioning with REST APIY
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube