denis.chavas@bluelinea.com

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: DEV_TIME_REQ (LoRaWAN 1.0.3+) #31542

    I didn’t try yet, but I will.
    What is the time replied ? UTC or local ?

    in reply to: LAN and WAN on the same interface #27601

    We connect devices – which must keep connection with our servers- to customer LAN. If the internet link of the LAN goes down, we want the Conduit to be able to send data over the GSM network.
    In LAN settings, there is no “default gateway” entrie. I assume the Conduit cannot access internet then.

    in reply to: API Authentication #26895

    Thanks Jeff.
    For people who prefer php scripts (Thanks to Adlane):

    <?php

    function transfert($url,$tabData){
    $data=json_encode($tabData);
    $ch = curl_init();
    $options = array(
    CURLOPT_URL=>$url,
    CURLOPT_RETURNTRANSFER=> 1,
    CURLOPT_POST => true,
    CURLOPT_SSL_VERIFYHOST => 0,
    CURLOPT_SSL_VERIFYPEER => 0,
    CURLOPT_HTTPHEADER => array(‘Content-Type:application/json’),
    CURLOPT_POSTFIELDS => $data
    );
    curl_setopt_array($ch,$options);
    $result = curl_exec($ch);
    if (curl_error($ch)) {
    $result = curl_error($ch);
    echo ‘erreur ‘.$result;
    }
    curl_close($ch);
    return $result;
    }

    //1ere URL Login :
    $url=”https://192.168.30.38/api/login&#8221;;

    //param authentification  :
    $login[‘username’]=”admin”;
    $login[‘password’]=”admin”;

    //envoi de la requete d’authentification et récupération du résultat:
    $result_Gw=transfert($url,$login);
    $result_Gw=json_decode($result_Gw);

    //recuperation du token
    $token_Gw=$result_Gw->result->token;

    if(isset($token_Gw)){
    //2eme URL pour l’envoi du SMS
    $url2=”https://192.168.30.38/api/sms/outbox?token=&#8221;.$token_Gw;

    //construction de la requete :
    $SMS[‘recipients’]=[“+33012345678″];
    $SMS[‘message’]=”TEST MESSAGE”;

    //envoi de la requete :
    $result_Gw2=transfert($url2,$SMS);

    //affichage du resultat final :
    print_r($result_Gw2);

    }

    ?>

    in reply to: Multiple gateway on diffrent LANs #26596

    What is the “IP Port” shown in the LoRaWAN=>Gateways page of the server ?
    User guide only indicate “IP Port : Port used for LoRaWAN Gateway”.

    in reply to: Multiple gateway on diffrent LANs #26594

    The link above explains multiple gateways on the same LAN. I already succeeded to make gateways running this way.
    What I am looking for is the ports I need to open to make the packet forwarder and the server linked.

    in reply to: Unable to set remote Management in Conduit AP (GPS Error) #26495

    It works fine ! Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)