Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[README] mentioning that device properties are not supported
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
960345a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i tried to connect a Sigfox sensor from the sigfox cloud to IoT central through this device bridge. I do receive "messages" sent from the sigfox cloud in my function but there is an error which prevents me from sending the actual data to IoT Central : "the DeviceId must be alphanumeric, in lower case and may content hyphens". But I do not understand why this error is generated knowing that my deviceID follows all the rules.
Hoping that someone could help me.
Thanks.
960345a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elies92, have you already applied the steps in the README specific for SigFox devices? (https://github.com/Azure/iotc-device-bridge#example-2-connecting-sigfox-devices-through-the-device-bridge)
If so, it's picking up the device Id directly from the payload sent by Sigfox. To see what the transformed payload look like and make sure the device Id is in the correct format, you can add a call to
context.log(JSON.stringify(req.body));
right before the call tohandleMessage
inindex.js
of the Azure Function. (do not paste the output here as it may contain sensitive data)