I want to connect my TTL network to the PIC-GSM for porting it to the network. I make use of the PIC-GSM-5_42 STACK. I enabled the STACK_USE_UART2TCP_BRIDGE variable.
I want to connect the TTL network the the second UART port (found in the pins of the UEXT module, pins 3 & 4).
Are there other settings I have to change?
It seems I cannot connect to the PIC-GSM by TCP on port 9761 (I use the telnetfunction of PuTTy).
Hi
I have tested this today with stack 5.42 and I have the same problem as you.
to save memory space , I disabled the SMTP and EMAIL code and
enabled TELNET and the UART2CPBRIDGE.
After building the firmware I can TELNET with default settings
from windows command line
Microchip Telnet Server 1.1
(for this demo, type 'admin' for the login and 'microchip' for the password.)
Login: admin
Password:
Logged in successfully
I cannot connect with port 9716.
C:\>
C:\>telnet 192.168.1.149:9716
Connecting To 192.168.1.149:9716...Could not open connection to the host, on por
t 23: Connect failed
But anyway I noted the tcp stack has become very very slow to respond.
Its very sad the PIC-GSM has no EEPROM chip and this
would have made things so much more useful due to the ability
to store values etc.
I just did a debug of the code and found that the
MySocket = TCPOpen(0, TCP_OPEN_SERVER, UART2TCPBRIDGE_PORT, TCP_PURPOSE_UART_2_TCP_BRIDGE);
Was unable to obtain a socket for its operations.
I am not sure what to change to fix this.