Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error decoding caynneLLP message #175

Open
Akashreddy231 opened this issue Apr 30, 2023 · 2 comments
Open

Error decoding caynneLLP message #175

Akashreddy231 opened this issue Apr 30, 2023 · 2 comments

Comments

@Akashreddy231
Copy link

Hello,

Here I am trying to send uplink messages from the Things network with payload format cayenellp and using Fiware LoRaWAN IoTagent, I could see data traffic coming to lorawan it agent but it shows the following error in the IoT agent log.

some quick support is much appreciated.

Thank you very much.

time=2023-04-30T16:05:55.328Z | lvl=INFO | corr=f603d059-04b5-4113-8be7-792e3584f7da | trans=f603d059-04b5-4113-8be7-792e3584f7da | op=IoTAgentLoRaWAN.CayenneLpp | from=n/a | srv=n/a | subsrv=n/a | msg=Decoding CaynneLPP message:[object Object] | comp=IoTAgent

time=2023-04-30T16:05:55.334Z | lvl=ERROR | corr=f603d059-04b5-4113-8be7-792e3584f7da | trans=f603d059-04b5-4113-8be7-792e3584f7da | op=IoTAgentLoRaWAN.CayenneLpp | from=n/a | srv=n/a | subsrv=n/a | msg=Error decoding CaynneLPP message:TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object | comp=IoTAgent

time=2023-04-30T16:05:55.334Z | lvl=ERROR | corr=f603d059-04b5-4113-8be7-792e3584f7da | trans=f603d059-04b5-4113-8be7-792e3584f7da | op=IoTAgentLoRaWAN.Agent | from=n/a | srv=n/a | subsrv=n/a | msg=Could not cast message to NGSI | comp=IoTAgent

@takurx
Copy link

takurx commented Jun 14, 2023

I reproduced it in my environment, when I made the tutorial run the stm32 example.
It may have something to do with #170.

@takurx
Copy link

takurx commented Jun 16, 2023

#171 's fix, on my environment it worked

takurx added a commit to takurx/IoTagent-LoRaWAN that referenced this issue Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants