Hi everybody. I use this script to obtain the “data”, through the http integration.<?php header ("Content-type: application/json"); $json = file_get_contents("php://input"); $obj = json_decode($json); $decoded = base64_decode(json_encode($obj->data)); $notdecode = json_encode($obj->applicationName); $combine = "$decoded - $notdecode"; $fp = @fopen("TPM.txt", "a");//open and write fwrite($fp,$combine); fwrie($fp,"\r\n"); fclose($fp); ?>
And i get this error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Could you help me please, with the Uplink data URL that I must enter. I’m using a linux laptop (is where is runing the LAMP server) and the gateway is running in the raspberry (chirpstack server).
sorry if the question is very easy to resolve, but this is new for me.
Do I need to do any different configuration in the chirpstack-application-server.toml?
I did this configuration:
Ur help please