hi,
I want to use GSM Module sim808 for TCP connection on the meter using the Arduino server code
I have implemented the Auto-connect and I can equally see gxModemConfiguration and gxGPRSSetup, what is the function of these two objects?
do I still need to initialize the sim808 for the TCP connection using the AT commands or the gurux library has already taken care of it?
also on the physical connection.
Am I to use the Serial0 of the Arduino for the GSM module connection?
Auto connect defines the target address and when to connect.
Modem configuration defines commands to initialize the modem. It's also good to implement.
GPRS Setup defines used PIN code and APN. It's good to implement to get status information from the GPRS connection.
hi.
I am connecting multiple meters to a remote client to read the meter data via a TCP connection using the GSM module.
Am I to configure the GSM module as a TCP server or as a TCP client.?
please I need insight on the best practice.
You should read this: http://gurux.fi/Gurux.DLMS.DynamicIP
Auto Connect connects TC/IP server that must listen to incoming connections and establish the DLMS connection. You don't need auto-connection if your meters are using static IP addresses. Auto-connection is used with dynamic IP addresses.
Hi,
Hi,
The stack will take care of the DLMS part. Example server doesn't implement AT commands and you need to implement that by yourself.
Serial port depends on what port you have connected the GSM module.
BR,
Mikko
Thanks for your prompt
Thanks for your prompt response.
please do I need to implement these objects
gxAutoConnect
gxModemConfiguration
gxGPRSSetup
in other to use the GSM module for my TCP connection.
Hi,
Hi,
Auto connect defines the target address and when to connect.
Modem configuration defines commands to initialize the modem. It's also good to implement.
GPRS Setup defines used PIN code and APN. It's good to implement to get status information from the GPRS connection.
BR,
Mikko
hi.
hi.
I am connecting multiple meters to a remote client to read the meter data via a TCP connection using the GSM module.
Am I to configure the GSM module as a TCP server or as a TCP client.?
please I need insight on the best practice.
Hi,
Hi,
You should read this:
http://gurux.fi/Gurux.DLMS.DynamicIP
Auto Connect connects TC/IP server that must listen to incoming connections and establish the DLMS connection. You don't need auto-connection if your meters are using static IP addresses. Auto-connection is used with dynamic IP addresses.
BR,
Mikko
how to enable auto connect
how to enable auto connect when meter use dynamic ip address?
GuruxDLMSServerExample2's
GuruxDLMSServerExample2's autoconnect doesn't work,GuruxDLMSServerExample2 can't connect to GuruxDLMSPushExample
zhoujunyan,
zhoujunyan,
Please, create a new topic if you have a new question. I'll answer your question there.
http://gurux.fi/ForumRules
BR,
Mikko