Changes

478 bytes added ,  02:52, 20 January 2023
m
format
Line 44: Line 44:     
[[File:Codec JSON.png|center|frameless|222x222px]]
 
[[File:Codec JSON.png|center|frameless|222x222px]]
Codec JSON is available as a transmission codec now ('''since the fw 03.27.05.Rev.250'''''), this parameter can be selected in the Teltonika’s Configurator>> System>> System Settings>> Data Protocol>> and selecting Codec JSON<br>
+
Codec JSON is available as a transmission codec now ('''since the fw 03.27.05.Rev.250'''''), this parameter can be selected in the '''Teltonika’s Configurator>> System>> System Settings>> Data Protocol>> and selecting Codec JSON'''<br>''
 
[[File:MQTT Server.png|center|frameless|300x300px]]  
 
[[File:MQTT Server.png|center|frameless|300x300px]]  
   −
Additionally, to develop the fully configuration in the teltonika device, make sure to use the MQTT protocol, this can be done in the Teltonika’s configurator>>GPRS Server Settings>> and in protocol selecting MQTT.
+
Additionally, to develop the fully configuration in the Teltonika device, make sure to use the '''MQTT protocol''', this can be done in the '''''Teltonika’s configurator>>GPRS Server Settings>> and in protocol selecting MQTT.'''''
 
   
 
   
 
It is important to note that the communication to the AWS IoT Service uses a TLS certificate to authenticate, please follow this link where is explained how to obtain it:
 
It is important to note that the communication to the AWS IoT Service uses a TLS certificate to authenticate, please follow this link where is explained how to obtain it:
 
[[https://wiki.teltonika-gps.com/view/Getting_Started_with_AWS_IoT_Core#Provision_the_Device_with_credentials]]  
 
[[https://wiki.teltonika-gps.com/view/Getting_Started_with_AWS_IoT_Core#Provision_the_Device_with_credentials]]  
      
'''Codec JSON Structure'''
 
'''Codec JSON Structure'''
 
+
JSON format:                                                                                                                                     {                                                                                                                                                                                       "reported": { - object as per AWS shadow documentation
JSON format:
  −
{
  −
  "reported": { - object as per AWS shadow documentation
   
     "tcxn": {
 
     "tcxn": {
 
       "connection_status": 2
 
       "connection_status": 2
Line 81: Line 77:  
     "239": 1,
 
     "239": 1,
 
     "240": 0
 
     "240": 0
   }
+
   }                                                                                                                                               }
}
  −
 
   
'''Sending commands from AWS to device'''
 
'''Sending commands from AWS to device'''
 
Any SMS command, which is interpretable by the device‘s firmware, can be used to control the device that was setup in AWS.
 
Any SMS command, which is interpretable by the device‘s firmware, can be used to control the device that was setup in AWS.

Navigation menu