User Tools

Site Tools


home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home [2021/11/16 15:47]
tda
home [2024/03/07 17:02] (current)
ehe [How to check OpenVPN certificates validity?]
Line 782: Line 782:
 ===== Can you use MQTT without a broker? ===== ===== Can you use MQTT without a broker? =====
 No. No.
 +
 +===== Which version of MQTT is implemented ​  =====
 +
 +The WMC implements MQTT v3.1.1.
  
 ===== Can multiple clients publish to the same topic? =====  ===== Can multiple clients publish to the same topic? ===== 
Line 1333: Line 1337:
 Note: I have also acknowledged the "​GPS_UNLOCKED"​ alarm in the same manner. Note: I have also acknowledged the "​GPS_UNLOCKED"​ alarm in the same manner.
  
 +===== How to get unsent push messages using GMS API =====
  
 +For some unknown reasons, the push can fail for instance when an outage occurs on the customer'​s Application server. \\
 +To avoid losing application messages, the following procedure can be applied to retrieve unsent messages over GMS API.
  
 +The webservice to use is **getDataUp** with a specific search criteria to get unsent message :
 +<​code>​
 +{"​operand":"​pushed","​operation":"​eq","​values":​["​false"​]} ​
 +</​code>​
  
 +This search criteria will return all the unsent messages since the WMC was turned online.
 +Maybe you will desire to filter on a given time period.
 +To achieve this, the following search criteria can be used :
 +<​code>​
 +{"​operator":​ "​AND","​conditions":​ [{"​operand":​ "​pushed","​operation":​ "​EQ","​values":​ ["​false"​]},​{"​operand":​ "​recvTime","​operation":​ "​GTE","​values":​ ["<​TIME START in ms>"​]},​{"​operand":​ "​recvTime","​operation":​ "​LTE","​values":​ ["<​TIME END in ms>"​ ]} ]}
 +</​code>​
  
 +A more readable search criteria :
 +<​code>​
 +  {
 +   "​operator":​ "​AND",​
 +   "​conditions":​ [
 +     {
 +       "​operand":​ "​pushed",​
 +       "​operation":​ "​EQ",​
 +       "​values":​ [
 +         "​false"​
 +       ]
 +     },
 +     {
 +       "​operand":​ "​recvTime",​
 +       "​operation":​ "​GTE",​
 +       "​values":​ [
 +         "<​TIME START in ms>"​
 +       ]
 +     },
 +  ​   {
 +       "​operand":​ "​recvTime",​
 +       "​operation":​ "​LTE",​
 +       "​values":​ [
 +         "<​TIME END in ms>"​
 +       ]
 +     }
 +   ]
 +}
 +</​code>​
  
 +For instance:
 +Filtering messages from:  2022-01-05 13:28:18 UTC+2 to: 2022-01-06 13:27:13 UTC+2 \\ 
 +Note: use EPOCH Converter tool to convert these dates to Epoch timestamps in ms and don't forget to use GMT/UTC values !
 +<​code>​
 +{"​operator":​ "​AND","​conditions":​ [{"​operand":​ "​pushed","​operation":​ "​EQ","​values":​ ["​false"​]},​{"​operand":​ "​recvTime","​operation":​ "​GTE","​values":​ ["​1641382098000"​]},​{"​operand":​ "​recvTime","​operation":​ "​LTE","​values":​ ["​1641468433000"​ ]} ]}
 +</​code>​
  
  
 +Testing:
 +
 +{{:​images:​unsent_messages_1.png|800}} ​
 +
 +{{:​images:​unsent_messages_2.png|}}
 +
 +
 +
 +===== How to configure DIVERSITY on iBTS? =====
 +Please see in **iSeries Wiki FAQ**: [[https://​wikikerlink.fr/​wirnet-productline/​doku.php?​id=wiki:​support:​faq#​how_to_configure_diversity_on_ibts|How to configure DIVERSITY on iBTS?]]
 +
 +
 +===== How to check OpenVPN certificates validity? =====
 +You can use following commands, depending on the KerOS version installed on the gateways.
 +
 +On version 3x:
 +<​code>​
 +openssl pkcs12 -info -in /​etc/​openvpn/​client-openvpn.p12 -nokeys -password pass: | openssl x509 -noout -enddate
 +</​code>​
 +
 +On version 4x:
 +<​code>​
 +grep 'Not After' /​.update/​update.log | awk 'END {print}'​
 +</​code>​
 + 
 +
 +On version 5x:
 +<​code>​
 +openssl pkcs12 -info -in /​etc/​openvpn/​bscc.p12 -nokeys -password file:/​etc/​openvpn/​bscc.password| openssl x509 -noout -enddate
 +</​code>​
 + 
  
 +===== Which network configuration should be done to connect my gateway to Wanesy™ Management Cockpit? =====
 +[[https://​wikikerlink.fr/​wanesy-management-cockpit/​doku.php?​id=wiki:​network|Wanesy™ Management Cockpit - Network management]]
 +===== Administrative information =====
  
 +You can find in following document, the administrative information you should know as a user of Kerlink’s products:
 +{{ :​wiki:​administrative_information20211006.pdf |Administrative information}}
  
  
home.1637074056.txt.gz · Last modified: 2021/11/16 15:47 by tda