Skip to main content
DKosy.1
Associate
May 25, 2021
Question

Setup Custom Node for iota in B-L4S5I-IOT01A

  • May 25, 2021
  • 5 replies
  • 1551 views

Hello

I added a custom node and changed the default from the original code

(https://api.lb-0.testnet.chrysalis2.com/ ) ,but i noticed i get some error messages from the functions of the main menu .I would like to know if that has anything to do with the usertrust_thetangle.pem file , and if there is any specific configuration in the code for adding a custom node .

Thanks

This topic has been closed for replies.

5 replies

Andrea Palmieri
ST Employee
May 25, 2021

Hello,

could you please provide the log messages you get on the serial terminal?

Thanks and regards

Andrea

DKosy.1
DKosy.1Author
Associate
May 25, 2021

When i try to send the sensor data to the tangle

{"Device":"B-L4S5I-IOT01A","time":1621853146,"temp":34.35,"humi":31.67}

Request:

GET /api/v1/tips HTTP/1.1

Host: iotabee.ddns.net

Content-Type: application/json

Request: POST /api/v1/messages HTTP/1.1

Host: iotabee.ddns.net

Content-Length: 533

Content-Type: application/json

Err response: access forbidden

message ID: 8z

Andrea Palmieri
ST Employee
May 25, 2021

Hello,

In my understanding, there is an issue with the message REST API on the Bee node side. In fact, if you try to use the "Client get info" test, it succeeds.

Regards

Andrea

DKosy.1
DKosy.1Author
Associate
May 26, 2021

Hello

Could you tell me what is the ACCOUNT_PATH which is defined in the test_config.h as #define ACCOUNT_PATH "m/44'/4218'/0'/0'" , and if that depends at any way with the TEST_NODE_ENDPOINT ?

Thanks

Dimitris

Andrea Palmieri
ST Employee
May 26, 2021

Hello

the ACCOUNT_PATH represents a base for the Address and Key generation as defined by BIP32 and BIP44 standards. This is included in the new IOTA 1.5 specification. The ACCOUNT_PATH is not related to the Node your Client interacts with.

Please, refer to the official Chrysalis documentation for further details on this topic.

Regards

Andrea