Radim Malinowski
Forum Replies Created
-
AuthorPosts
-
Radim MalinowskiParticipant
Hello again,
I have already found a solution. NodeRed LORA input node is configurable regarding to the received data type (did not know). Data type is either UTF-8 or Bytes. After I set data type to Bytes everything seems to work properly.
Have a nice day.
Best regards,
Radim MalinowskiRadim MalinowskiParticipantHello Peter,
yes I do. When
var payloadRawData = new Buffer(msg.payload, 'base64');
is used the attempts to convert payloadRawData to stringmsg.payload = payloadRawData[0].toString(16) + payloadRawData[1].toString(16) + payloadRawData[2].toString(16);
returns error TypeError: Cannot call method ‘toString’ of undefined.
I am not sure but I think that NodeRed msg.payload is not base64 encoded. The important information I need to know to solve this issue is how the LoRa received packet is proccessed before data is visible in the NodeRed envoronment (whole chain). Is it possible to send me this information?
One more note. Bassically every byte above the scope of ASCCI table (0x00 – 0x7F) is received wrong in the NodeRed.
Thank you.
Best regards,
Radim Malinowski- This reply was modified 7 years, 3 months ago by Radim Malinowski.
Radim MalinowskiParticipantIs there anyone who could help? Thank you?
Best regards
Radim MalinowskiRadim MalinowskiParticipantHi Steve,
thank you for your advices. Everything works now. I misunderstood term MiniSIM card and I used MicroSIM instead. Sorry for troubles.
Have a nice day and whole new year.
Best regards
RadimRadim MalinowskiParticipantHi Steve,
first of all thank you for such a quick reply.
Serial number: 18814853
I read SIM card installing guide before I insert SIM card into Conduit therefore orientation is correct. When SIM card wasn´t inserted properely an error message showed up in Conduit GUI. Now I don´t see any error message.
Radio-query utility responses
admin@mtcdt:~# radio-cmd at+cpin?
ERROR
admin@mtcdt:~# radio-cmd at+cgreg?
+CGREG: 0,0OK
admin@mtcdt:~# radio-cmd at+csq
+CSQ: 24,1OK
admin@mtcdt:~# radio-cmd at+cmgf?
+CMS ERROR: 310
admin@mtcdt:~# radio-cmd at+cops=? (no response – wait for 2 min)
admin@mtcdt:~# radio-cmd at+cops=? (no response – wait for 2 min)Best regards
Radim -
AuthorPosts