From 1d5746dc062fcf3b48f25db7cf542e75f90211fa Mon Sep 17 00:00:00 2001 From: Pericles Alves Date: Tue, 23 Oct 2018 16:57:33 -0700 Subject: [PATCH] PR comments --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7370a4b..e816484 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ To connect a Particle device through this gateway to Azure IoT Central, go to th Paste in the function URL from your Azure Function, and you should see Particle devices appear as unassociated devices in IoT Central. ## Example 2: payload conversion in the cloud gateway - connecting a SigFox device -Some platforms may not allow the user to specify the format of device messages sent through a +Some platforms may not allow you to specify the format of device messages sent through a webhook. For such systems, the message payload must be converted to the expected body format before it can be processed by the cloud gateway. This conversion can be performed in the same Azure Function that the cloud gateway operates. @@ -156,7 +156,7 @@ context.res = { ``` - To convert the message payload, add the following code **before** the call to `handleMessage` -in line 21 (replacing `payloadDefinition` by yout SigFox payload definition): +in line 21 (replacing `payloadDefinition` by your SigFox payload definition): ```javascript const payloadDefinition = 'gforce::uint:8 lat::uint:8 lon::uint:16'; // Replace this with your payload definition