question

87035596 avatar image
0 Votes"
87035596 asked SofiaWood-3588 commented

how to connect devices to iot hub without pre-authT ?

i have rfid devices and i want to send data from them to cloud , i tried to connect it to edge device but i am not able to build custom module to route data from devices to edge hub module to be visible for azure .
after we received data from rfid devices and azure iot edge installed successfully , the problem is it be in the relation between 2 location of code ....
any solution for this point or other way to handle this


Note : it is not available to push any code on this ready devices

azure-iot-hubazure-iotazure-iot-sdk
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AhmedAssad-8581 Community SME's on this topic or our team will review your scenario and circle back at the possible earliest time.

0 Votes 0 ·

1 Answer

SatishBoddu-MSFT avatar image
0 Votes"
SatishBoddu-MSFT answered SatishBoddu-MSFT commented

Hello @AhmedAssad-8581

What is the device type/Make you are using?
Could you please provide any E2E flow?tags--reader--antennaServer-AzureIoTHub?
How is your RFID device connected with Azure IoTHub right now? and please elaborate on 'without pre-authT' ?
Have you visited this Page on the certified device catalog & their usage guide for a quick start? Just wanted to know if you are using Azure Certified devices?
Azure Certified Device catalog/RFID And Sample RFID device TallyPoint RF-1 & usage Guide

Can you please elaborate on your question\ask?, I think you are looking for identifying the location of the RFID Device? or how to push your module code to the RFID device?
the problem is it be in the relation between 2 location of code .... Need more clarity on this question to understand exactly.



· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @AhmedAssad-8581 Please comment in the below section for further discussion in this matter.

0 Votes 0 ·

replay 1/2
In my case , i use reader not listed in azure device catalog and use (wiegand or RS 232) protocol , so what the best way to send data from this devices in real time to azure iot hub .
i tried to connect all readers to azure iot edge and deploy node-red module to route data from readers to iot edge hub then to iot hub , but i cant to route data to power bi (when create azure stream analytics job between hub and power bi , it does not found data as input from hub although device sink data to hub and route it to blub storage and do not know the reason) - and when route data to blub storage , it worked will but iot hub create a new file in blub each time device send data and do not know the reason for this behavior

0 Votes 0 ·

replay 2/2

"""
so, currently i want an way to route data to power bi direct from ASA job
or
way to sink data from iot hub to blub in one file and append new messages to this file
"""

or different scenario to send data from untrusted devices with different protocols to azure iot hub in real time

and thanks for response

0 Votes 0 ·

Hello @AhmedAssad-8581 Sorry i missed the notification on this query.

Are you still blocked with this issue?

way to sink data from iot hub to blub in one file and append new messages to this file

You may look at the batching of messages in IoTHub during routing, so that the messages are included in a single file and then sent to Blob storage.

IoT Hub batches messages and writes data to storage whenever the batch reaches a certain size or a certain amount of time has elapsed. IoT Hub defaults to the following file naming convention: It is recommended listing the blobs or files and then iterating over them, to ensure all blobs or files are read without making any assumptions of partition. For more details please visit: Azure Storage as a routing endpoint

73490-image.png


0 Votes 0 ·
image.png (122.2 KiB)