Home  >  Support  >  Support Forum  >  Can someone provide an sample of a server with RCM5400?
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Can someone provide an sample of a server with RCM5400?

0 votes
I am trying to connect to my Rabbit RCM5400 from internet with winsock (VB6) Not sure if the router is the problem. It works with LAN but not with WAN.

Please provide a sample: here the code:
#class auto
#define IFC_WIFI_SSID "SSID"
#define IFC_WIFI_MODE IFPARAM_WIFI_INFRASTRUCTURE
#define IFC_WIFI_REGION IFPARAM_WIFI_REGION_MEXICO_INDOORS
#define IFC_WIFI_ENCRYPTION IFPARAM_WIFI_ENCR_TKIP
#define WIFI_USE_WPA
#define IFC_WIFI_WPA_PSK_PASSPHRASE "Password"
#define IFPARAM_WIFI_WPA_PSK
#define _PRIMARY_STATIC_IP "192.168.1.94"
#define _PRIMARY_NETMASK "255.255.255.0"
#define MY_NAMESERVER "192.168.1.254"
#define MY_GATEWAY "192.168.1.254"
#define TCPCONFIG 5
#use "dcrtcp.lib"
#use "ConfigPuertos_Decoder.lib"
#define PORT 1234
#define IFC_WIFI_ROAM_ENABLE 1
#define IFC_WIFI_ROAM_BEACON_MISS 20
#define FAST_INTERRUPT 0
#define RABBITCLK_INIT brdInit();
#use "RCM54xxW.LIB"
asked May 5 in Rabbit by ivvann New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
There are several standard TCPIP samples that should work
answered May 5 by MargaretK Veteran of the Digi Community (454 points)
0 votes
Hello, Check the tcp_config.lib file under
C:\DCRABBIT_10.72\Lib\Rabbit4000\tcpip

In the above file mentioned that ,what are the macros you need to define in your application for different configurations.Below are the different configurations,
1. Infrastructure, Open (no encryption) Configuration
2. Ad-hoc, Open (no encryption) Configuration
3. Infrastructure, WEP Encryption Configuration
4. Infrastructure, WPA/TKIP Encryption Configuration, Pre-shared Key
5. Infrastructure, WPA2/CCMP Encryption Configuration, Pre-shared Key
6. Infrastructure, WPA Enterprise using EAP/TLS and CCMP Encryption

7. Infrastructure, WPA Enterprise using PEAP and TKIP Encryption

Before defining the related macros, you need to know details about your Wi-Fi connection.
answered May 7 by cpigilam Veteran of the Digi Community (496 points)
Contact a Digi expert and get started today! CONTACT US
...