![RabbitCore RCM3000 Скачать руководство пользователя страница 35](http://html2.mh-extra.com/html/rabbitcore/rcm3000/rcm3000_getting-started-manual_3118061035.webp)
Getting Started
31
4.7 How to Set IP Addresses in the Sample Programs
Most of the sample programs such as shown in the example below use macros to define the
IP address assigned to the board and the IP address of the gateway, if there is a gateway.
#define MY_IP_ADDRESS "216.112.116.155"
#define MY_NETMASK "255.255.255.248"
#define MY_GATEWAY "216.112.116.153"
In order to do a direct connection, the following IP addresses can be used for the RCM3000:
#define MY_IP_ADDRESS "10.1.1.2"
#define MY_NETMASK "255.255.255.248"
// #define MY_GATEWAY "216.112.116.153"
In this case, the gateway is not used and is commented out. The IP address of the board is
defined to be 10.1.1.2. The IP address of you PC can be defined as 10.1.1.1.
Содержание RCM3000
Страница 1: ...RabbitCore RCM3000 C Programmable Module with Ethernet Getting Started Manual 019 0109 020415 A...
Страница 10: ...6 RabbitCore RCM3000...
Страница 26: ...22 RabbitCore RCM3000...
Страница 40: ...36 RabbitCore RCM3000...
Страница 42: ...40 RabbitCore RCM3000...
Страница 45: ...B NONE...
Страница 46: ...B NONE...
Страница 48: ...B NONE...
Страница 50: ......