Skip to content

Commit

Permalink
Correct Arduino example to comply with netid (Azure#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandur authored and ronniesa committed Feb 8, 2019
1 parent 515d6d4 commit 7f9c24a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Arduino/EU/TestCases/TestCases.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ iot hub ABP desired properties for deviceid: 46AAC86800430028
"desired": {
"AppSKey": "2B7E151628AED2A6ABF7158809CF4F3C",
"NwkSKey": "3B7E151628AED2A6ABF7158809CF4F3C",
"DevAddr": "0028B1B1",
"DevAddr": "0228B1B1",
"GatewayID" :"",
"SensorDecoder" :"DecoderValueSensor"
},
Expand Down Expand Up @@ -76,7 +76,7 @@ void configLoraOTAAWrongDevEUI(void)
void configLoraABP(void)
{
deviceId ="46AAC86800430028";
devAddr ="0028B1B1";
devAddr ="0228B1B1";
appSKey ="2B7E151628AED2A6ABF7158809CF4F3C";
nwkSKey ="3B7E151628AED2A6ABF7158809CF4F3C";
lora.setDeciveMode(LWABP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ char * nwkSKey = "3B7E151628AED2A6ABF7158809CF4F3C";
"desired": {
"AppSKey": "2B7E151628AED2A6ABF7158809CF4F3C",
"NwkSKey": "3B7E151628AED2A6ABF7158809CF4F3C",
"DevAddr": "0028B1B1",
"DevAddr": "0228B1B1",
"GatewayID" :"",
"SensorDecoder" :"DecoderValueSensor"
},
Expand Down
4 changes: 2 additions & 2 deletions Arduino/US/TestCases/TestCases.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ iot hub ABP Desired properties for deviceid: 46AAC86800430028
"desired": {
"AppSKey": "2B7E151628AED2A6ABF7158809CF4F3C",
"NwkSKey": "3B7E151628AED2A6ABF7158809CF4F3C",
"DevAddr": "0028B1B1",
"DevAddr": "0228B1B1",
"GatewayID" :"",
"SensorDecoder" :"DecoderValueSensor"
},
Expand Down Expand Up @@ -76,7 +76,7 @@ void configLoraOTAAWrongDevEUI(void)
void configLoraABP(void)
{
deviceId ="46AAC86800430028";
devAddr ="0028B1B1";
devAddr ="0228B1B1";
appSKey ="2B7E151628AED2A6ABF7158809CF4F3C";
nwkSKey ="3B7E151628AED2A6ABF7158809CF4F3C";
lora.setDeciveMode(LWABP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
bool confirmed=false;
//application information, should be similar to what was provisiionned in the device twins
char * deviceId ="46AAC86800430028";
char * devAddr ="0028B1B1";
char * devAddr ="0228B1B1";
char * appSKey ="2B7E151628AED2A6ABF7158809CF4F3C";
char * nwkSKey ="3B7E151628AED2A6ABF7158809CF4F3C";

Expand All @@ -14,7 +14,7 @@ iot hub ABP desired properties for deviceid: 46AAC86800430028
"desired": {
"AppSKey": "2B7E151628AED2A6ABF7158809CF4F3C",
"NwkSKey": "3B7E151628AED2A6ABF7158809CF4F3C",
"DevAddr": "0028B1B1",
"DevAddr": "0228B1B1",
"GatewayID" :"",
"SensorDecoder" :"DecoderValueSensor",
Expand Down

0 comments on commit 7f9c24a

Please sign in to comment.