Geschrieben July 5, 2018 at 18:545. Jul 2018 Hi, I connect a Sound Pressure Level Bricklet to brickd without problems. Data already be shown in Brickv (2.3.15). If I use the simple example from website [https://www.tinkerforge.com/de/doc/Software/Bricklets/SoundPressureLevel_Bricklet_JavaScript.html#sound-pressure-level-bricklet-javascript-examples]. After connected I receive getting the data an Error:31. As I see data from the bricklet are received from Brickd. The connection between node.js client and brickd is also working. What can be the reason for that? Thanks in advance
Geschrieben July 6, 2018 at 15:046. Jul 2018 Error code 31 means timeout. The Bricklet didn't respond in time to a request send by the example, see https://www.tinkerforge.com/de/doc/Software/Bricklets/SoundPressureLevel_Bricklet_JavaScript.html#api. Did you change the UID in the example to the UID of your Bricklet, as stated in line 5 of the example? var UID = 'XYZ'; // Change XYZ to the UID of your Sound Pressure Level Bricklet If you didn't then the example tries to talk to a Bricklet that doesn't exists and therefore will not answer, resulting in a timeout error.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.