background image

Vantron 

| Embedded in your success, Embedded in your better life

 

World-leading provider of embedded/IoT products and solutions 

C335 Series Edge Computing Gateways | User Manual           

21    

       www.vantrontech.com 

6.

 

Run obexd service to receive the test file, i.e., obexd -a -n -r <path for saving the file>; 

For instance, the test file is stored in “ /tmp”: 

~# export 

DBUS_SESSION_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket" 

# obexd -a -n -r /tmp/

 

7.

 

After the file transfer, disable page and search scan and the device will not be 
discoverable. 

~# hciconfig hci0 noscan 

After you go through the steps above, the test finishes. 

If you need shut down the HCI device, input the command line below: 

~# hciconfig hci0 down 

To rename the HCI device, input the command line below: 

~# hciconfig hci0 name “Bluez 5.21 test” 

~# hciconfig hci0 down 

~# hciconfig hci0 up 

1.7.2

 

CAN (C335) 

The following describes the communication of two C335 gateways via CAN protocol. If 

you have  customized end devices and special data protocols  requiring  gateway 
customization from Vantron, please contact your sales executive. 

1.

 

Prepare two C335 gateways, and the CAN connection shall be as follows: 

Gateway A 

 

 

 

 

Gateway B 

CANH 

 

<->   

 

CANH 

 CANL 

 

<->   

 

CANL 

Transmit Data   

<->   

 

Receive Data 

2.

 

Run “candump” command on Gateway B and set the Baud rate between 100000 
(100kbps) and 1000000 (1000kbps); 

~# ip link set can0 type can bitrate 100000 
~# ifconfig can0 up 
~# candump can0

 

 

 

Summary of Contents for C335 Series

Page 1: ...ur better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual www vantrontech com C335 Series Edge Computing Gateways User Manual Version...

Page 2: ...www vantrontech com Revision History No Software Version Description Date V1 0 V200R002 First release Jul 19 2020 V1 1 V200R003 Added description of serial terminals Aug 18 2021 V1 2 V200R003 Updated...

Page 3: ...1 6 3 Serial port 17 1 7 Optional Functions 19 1 7 1 Bluetooth C335L 19 1 7 2 CAN C335 21 1 7 3 GPIO C335 22 1 8 System Boot 23 1 8 1 System boot and eMMC flashing from an SD card 23 1 8 2 System boot...

Page 4: ...K Installer 66 3 7 3 Manufacturer Info Customization 66 3 7 4 DMP Agent 67 3 7 5 SNMP Service 68 3 8 Hardware 69 3 8 1 AIDI Collection 69 3 8 2 Ser2TCP 70 3 8 3 Ser2net environment setup and verificat...

Page 5: ...s Edge Computing Gateways User Manual www vantrontech com 4 2 4 Edge Computing Scripts Setup 93 4 2 5 Collection Status 95 4 2 6 Data Upload and Encapsulation 95 4 2 7 Alarm 98 4 2 8 Logs 100 4 2 9 Sy...

Page 6: ...anual including the right to change the content form product features and specifications contained herein at any time without prior notice An up to date version of this manual is available at www vant...

Page 7: ...n your question Product name and PO number Complete description of the problem Error message you received if any Vantron Technology Inc Address 48434 Milmont Drive Fremont CA 94538 Tel 650 422 3128 Em...

Page 8: ...semble or otherwise modify the Product Such action may cause heat generation ignition electronic shock or other damages including human injury and may void your warranty Keep the Product away from hea...

Page 9: ...t before cleaning Do not use spray detergent Clean with a damp cloth Do not try to clean exposed electronic components unless with a dust collector Power off and contact Vantron technical support engi...

Page 10: ...dded in your success Embedded in your better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual 5 www vantrontech com CHAPTER 1 HARDWARE...

Page 11: ...sors etc The edge computing functionality helps to achieve data optimization at IoT edge nodes which reduces the data volume accumulated in the field and the central console With standard MQTT protoco...

Page 12: ...our sales representative in due time Standard accessories C335S C335L Optional accessories C335S C335L 1 x C335S C335L gateway 1 x Power adapter 1 x Wi Fi antenna 1 x DC power connector 1 x DIN rail m...

Page 13: ...put SIM slot 1 x Drawer type SIM slot Grounding Enclosure PCB RTC Separate RTC chip powered by button cell Separate RTC chip powered by button cell Separate RTC chip powered by system or button cell G...

Page 14: ...Wi Fi and 4G LTE Multi level permission Supported Function Application Configuration mode Local remote Upgrade Local OTA update Local OTA update OTA update Networking guide One key configuration of LT...

Page 15: ...etails below 2 4G primary antenna 3 System status indicator Blinks at system bootup Turns solid green after system bootup Blinks at system upgrade or configuration cleanup 4 Power indicator 5 Ethernet...

Page 16: ...em upgrade is in progress Once the upgrade finishes the system will reboot from eMMC flash When the button is pressed and held for 3 10 seconds user configurations and custom settings will be removed...

Page 17: ...uld switch between RS232 and RS485 default and R2 is RS485 1 Input the following command lines in a host device to enable RS232 on R1 and use a serial communication program e g microcom to open the po...

Page 18: ...escription 1 System status indicator Blinks at system bootup Turns solid green after system bootup Blinks at system upgrade or configuration cleanup 2 Power indicator 3 Antenna connector 4G LTE or Wi...

Page 19: ...ve is inserted in the SD slot or USB port a short press of the button for about 2 seconds will cause the status indicator to blink suggesting system upgrade is in progress Once the upgrade finishes th...

Page 20: ...v ttyO4 COM4 RS485 RX4 RX4 8 RS485_3_B 9 RS485_3_A 10 GND4 dev ttyO5 COM5 RS485 RX3 RX3 11 RS485_4_B 12 RS485_4_A COM2 could switch between RS232 and RS485 Input the following command lines in a host...

Page 21: ...tatus indicator Blinks at system bootup Turns solid green after system bootup Blinks at system upgrade or configuration cleanup 2 Power indicator 3 4 x Serial port status indicator blink at data trans...

Page 22: ...et button 2 Micro SD Micro SIM card slots 3 12V 48V DC power terminal 4 Restore button 1 6 3 Serial port Pinout of the serial port No Signal Node Serial mode LED indicator 1 GND1 dev ttyO1 RS232 or RS...

Page 23: ...command lines in a host device to enable RS232 on COM1 and use a serial communication program e g microcom to open the port Input the following command lines in a host device to enable RS485 on COM1 a...

Page 24: ...r the Bluetooth scan and figure out the channel of service OBEX Object Push For instance the Bluetooth device with MAC address 3C CD 5D 36 9F A6 is running the following services and the channel of se...

Page 25: ...4 Use obex_test command to send a test file to the Bluetooth device i e obex_test b MAC address of the Bluetooth device channel For instance to send the test file to the aforementioned Bluetooth devi...

Page 26: ...st finishes If you need shut down the HCI device input the command line below hciconfig hci0 down To rename the HCI device input the command line below hciconfig hci0 name Bluez 5 21 test hciconfig hc...

Page 27: ...ut2 gpio0_27 27 1 Write a GPIO pin number to sys class gpio export to export the pin for instance pin 22 echo 22 sys class gpio export 2 Set the pin direction as input or output in for input and out f...

Page 28: ...d 1 Open the Gateway enclosure 2 Set DIP switch S1 to off off on off C335L C335S or off off on on C335 as shown below 3 Make a bootable SD card USB drive 1 Insert the SD card USB drive into a Linux ho...

Page 29: ...wing command with root account to make a bootable SD card sudo sd2emmc sh dev sdb Replace dev sdb with the correct SD card path Removal of the SD card before a completion message pops up will cause th...

Page 30: ...bedded in your success Embedded in your better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual 25 www vantrontech com CHAPTER 2 GETTI...

Page 31: ...ace 2 Unscrew the cover plate from the SIM SD slots on the left side of the Gateway 3 Insert an activated SIM card and an SD card into the corresponsive slots with the gold colored contacts pins facin...

Page 32: ...nector to the power terminal of the Gateway and the round end to the adapter 9 Plug the adapter to a DC power outlet that meets the supply voltage requirement 9V to 36V to power up the Gateway 10 The...

Page 33: ...ivated SIM card into the SIM slot with the gold colored contacts facing up 3 Push the SIM card to secure it 4 Install the Micro SD card likewise with the gold colored pins facing down 5 Install the an...

Page 34: ...ower outlet that meets the supply voltage requirement 12V to 48V to turn on the Gateway 10 The power and status indicators will turn solid green upon power application Skip steps 6 7 if you choose wir...

Page 35: ...nscrew the cover plate from the SIM SD slots on the right side of the Gateway 3 Insert an activated SIM card with the gold colored contacts facing up and an SD card with the gold colored pins facing d...

Page 36: ...ly voltage requirement 12V to 48V to turn on the Gateway 11 The power and status indicators will turn solid green upon power application Skip steps 7 8 if you choose wireless network connection The an...

Page 37: ...s of VantronOS in your browser http 172 18 1 1 Default user name admin Super user root Default password admin Super user password rootpassword 2 You ll be directed to the web interface of VantronOS an...

Page 38: ...gateways routers please make sure the following prerequisites are met You have obtained a license for login to the BlueSphere GWM DMP agent is installed on the target gateway router DMP agent is enab...

Page 39: ...for advanced settings of the wireless network 2 4 3 Mobile Network Connectivity For customers using a SIM card for network connectivity of the Gateway the 4G LTE function under Network tab allows you...

Page 40: ...in your success Embedded in your better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual 35 www vantrontech com CHAPTER 3 GATEWAY SET...

Page 41: ...is based on the MVC framework to provide a simple and efficient setting entry VantronOS also realizes connectivity with cloud management platforms including self developed BlueSphere GWM Azure Alibaba...

Page 42: ...er of devices connected to the Gateway via wireless or Ethernet connection default routing hardware information traffic statistics etc Description of the numbered areas 1 Firmware version and auto ref...

Page 43: ...e enabled when you click on arplist icon and toggle on ARP scan in the pop up 11 Details of the access port The image illustration varies when the Gateway has cellular connection 12 Default route curr...

Page 44: ...e it as a WAN port in which case WiFi AP is bounded with the network bridge br lan and ETH0 is to connect the higher level network for PPPOE DHCP Static mode settings For C335 Wi Fi and 4G LTE are des...

Page 45: ...WAN Protocol Step 2 Click to switch the protocol to Client Step 3 Select the Wi Fi network that the Gateway is to connect Step 4 Click Scan WIFI to refresh the Wi Fi list if the target Wi Fi network i...

Page 46: ...the protocol will be 3g 4g which is the WAN port When using a carrier pre certified 4G module provided by Vantron the device port for 4G LTE communication displayed under the protocol will be eth2 whi...

Page 47: ...3 3 5 WAN Setting PPPoE PPPoE ETH0 and WiFi AP are bounded with the network bridge br lan ETH1 is designed as the WAN port to connect the higher level network PPPoE setup procedures Step 1 Select PPPo...

Page 48: ...re bounded with the network bridge br lan ETH1 is designed as the WAN port to connect the higher level network Static protocol setup procedures Step 1 Select Static for WAN Protocol Step 2 Click to sw...

Page 49: ...vailable ports When the failed port recovers and comes online again it can automatically re connect to the network Initiate automatic recognition add the automatically detected port when a network por...

Page 50: ...her the priority 4 The maximum retry number for a single tracking failure 5 The maximum timeout for a single tracking failure 6 Number of online interfaces If a tracking is confirmed successful the in...

Page 51: ...vanced settings for OpenVPN server are accessible on this page Follow the steps below to build an OpenVPN Server 1 Synchronize the Gateway time with the browser local time 2 Enable the server 3 Select...

Page 52: ...t connection not necessary for server setup 10 Save the above settings and apply 11 When the configuration finishes the status will change as follows 12 Once the OpenVPN server is set up an interface...

Page 53: ...on using a ovpn file If you select PPTP as the WAN protocol you shall input the PPTP server IP user name and password as indicated 7 Select the local ovpn file for configuration 8 Upload the local pro...

Page 54: ...ription of the numbered areas 1 Interface overview 2 Interface details 3 Restart the interface manually 4 Edit the interface settings 5 Delete the interface available only when you log in as a root us...

Page 55: ...LAN you ll be directed to the General Setup page by default Description of the numbered areas 1 Status of the interface 2 IP address of the LAN interface 3 Select a LAN interface subnet mask In the c...

Page 56: ...he LAN port for network bridge Description of the numbered areas 1 Enable the interface for network bridge 2 Enable STP protocol 3 Select the interface for bridge connection LAN DHCP In the General Se...

Page 57: ...ients If disabled clients shall have static leases 2 Force enablement of DHCP service to bypass other servers 3 Override the netmask sent to clients Normally it is calculated from the subnet that is s...

Page 58: ...rotocol settings for WAN interface are shown below Description of the numbered areas 1 Status of the WAN port 2 Select DHCP client as WAN protocol or switch to another protocol 3 Hostname to send when...

Page 59: ...ess subnet mask IPv4 gateway and the IPv4 broadcast Custom DNS server could also be added Leave the field as is if not available When static address protocol is selected DHCP server will be automatica...

Page 60: ...tech com Wi Fi AP Mode General settings Description of the numbered areas 1 Set an SSID for the Gateway The ID name shall not contain characters including 2 Select a Wi Fi channel 3 Select an encrypti...

Page 61: ...dvanced setting Description of the numbered areas 1 Turn on off Wi Fi 2 Set Wi Fi frequency determined by hardware 3 Click to switch frequency 4 Set the country code 5 Click to switch the country As m...

Page 62: ...will be added automatically when client mode is being configured Description of the numbered areas 1 Switch to Client mode 2 Select DHCP protocol to automatically get an IP or Static Address protocol...

Page 63: ...Confirm with your sales executive whether the 4G module is AT T or Verizon pre certified If so when you apply for SIM cards from the carriers provide Verizon with the pre certified module name VT MOB...

Page 64: ...allowed for current SIM card only for devices with dual SIM cards better to leave it as is 2 Click to restart the 4G module 3 Time scheduled for automatic restart of the 4G module when it is offline...

Page 65: ...s is an advanced function allowing you to specify interface rules for route access Example Requirement When the Gateway has 4G and WAN network interfaces the internal network 192 168 0 0 192 168 255 2...

Page 66: ...inly equivalent to local with one difference that such addresses are invalid when used as the source address of any packet 3 5 5 Firewall Firewall General Settings The following is a summary of the co...

Page 67: ...lled on a per zone basis Description of the numbered areas 1 Unique zone name At least LAN and WAN shall be listed under the zone name 2 Zone forwarding model description 3 Default policy ACCEPT REJEC...

Page 68: ...e required with src and dest reversed in each Illustrative example on port forwarding Forwarding port 3222 WAN to port 22 of LAN host 172 18 1 174 Description of the numbered areas 1 Rule name 2 Proto...

Page 69: ...assword to enable the function In the Edit Users page you can add new users or edit the existing users To add a new user click the button below the existing user information Description of the numbere...

Page 70: ...e the function 3 7 1 Custom Program Custom program allows users to upload scripts or programs sh bin to the Gateway and run them at the startup Description of the numbered areas 1 Select a script to u...

Page 71: ...d to customize the manufacturer information navigate to Customization Manufacturer Info Modify and select OEM from the OEM Mode drop down list Description of the numbered areas 1 Select OEM mode 2 Dow...

Page 72: ...tion to Vantron Gateway Management Platform are met the DMP Agent once enabled will run automatically when there is internet access Clicking this button will disable DMP Agent kill all the processes r...

Page 73: ...y the NMS Routers and switches are common examples of managed devices SNMP agent The SNMP agent responds to requests for information and actions from the manager The agent also controls access to the...

Page 74: ...available An SNMP agent is considered an authoritative SNMP engine The Engine ID is only used by SNMPv3 entities to uniquely identify them In the advanced settings tab you can edit the information ab...

Page 75: ...ernet data and enables two way communication with remote devices Each conversion rule can be independently configured to server side or client side mode You can also add edit or delete a conversion ru...

Page 76: ...ies Edge Computing Gateways User Manual 71 www vantrontech com Client mode 1 Settings on VantronOS web interface Description of the numbered areas 1 Click Add to add a conversion rule 2 Select Enable...

Page 77: ...ber Ubuntu host shall be the server and port number is user defined 4 Select the serial device from the drop down RS485 serial port R2 for illustration node name dev ttyO4 as described in1 4 3 5 Selec...

Page 78: ...m 3 Settings on the Ubuntu host Use microcom to access the serial port in terminal A assume that the device name for the USB to TTL serial adapter is identified as dev ttyUSB1 sudo microcom p dev ttyU...

Page 79: ...ies Edge Computing Gateways User Manual 74 www vantrontech com Server mode 1 Settings on VantronOS web interface Description of the numbered areas 1 Click Add to add a conversion rule 2 Select Enable...

Page 80: ...tocol from the drop down see 3 8 4 for the difference between the protocols 5 Select the serial device from the drop down RS485 serial port R2 for illustration node name dev ttyO4 as described in1 4 3...

Page 81: ...igned in prior steps in terminal B using Telnet protocol Terminals A and B can send and receive data in both directions the topology is as follows 3 8 4 Protocol comparison Under the server mode three...

Page 82: ...and save the opv file after setting up the OpenVPN server on G1 then click this button to open the directory of the file 2 Click Connect to connect G2 to the OpenVPN server of G1 3 After connection a...

Page 83: ...nfiguration and application of industrial protocols 3 10 System Apart from the device settings you might make in the previous sections here you can configure your Gateway in more details including hos...

Page 84: ...zed 2 Specify a date in a month for restarting another round of monitoring activities Applicable when Day of month is selected in 1 3 Statistics interface 4 Local subnets Under Advanced Settings tab e...

Page 85: ...f the network you have to log in the web interface with a root account Step 1 Log out the interface by clicking Logout at the bottom left corner Step 2 Log in with the root account and password Accoun...

Page 86: ...lient PuTTY or MobaXterm recommended in the Windows host Step 5 Input the host name or IP address LAN port address by default 172 18 1 1 keep the default port No 22 and select SSH for the connection t...

Page 87: ...ways User Manual 82 www vantrontech com 3 10 4 Terminal Under the Setting tab users can click enable from the drop down box and Save Apply to enable the web terminal and input command lines here Login...

Page 88: ...ers restore factory settings clear user settings and upgrade the firmware from local or with OTA application OTA upgrade Description of the numbered areas 1 Refresh the cloud version to the latest int...

Page 89: ...NOT power off the Gateway when firmware upgrading is in process The login page will be refreshed once the upgrading finishes Under Backup Restore tab you can download the backup package of your setti...

Page 90: ...your success Embedded in your better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual 85 www vantrontech com CHAPTER 4 INDUSTRIAL PROT...

Page 91: ...d upload the ipk file for industrial protocol configuration Description of the numbered areas 1 After the ipk file is uploaded to the Gateway the directory of the file will be displayed 2 You can remo...

Page 92: ...he version information of the protocol package under System Settings 4 2 Protocol Configuration and Application To use a protocol for data acquisition and edge computing figure out the device model yo...

Page 93: ...ers are required Taking Modbus RTU protocol as an example further information is needed Description of the numbered areas 4 Select Modbus protocol from the drop down list 5 Choose serial communication...

Page 94: ...you can assign an optional value between 1 and 99 for auto refreshing 3 Add a device e g a PLC for data collection 4 2 2 Device Configuration Before you can add a data collection or upload task for a...

Page 95: ...Enter a device name 2 Input a slave address between 0 and 255 3 Choose to enable the device or not 4 Set an interval for data collection 5 Set a start bit for the register 6 Select the data source fo...

Page 96: ...ster address from 1 to 65535 7 Set a method for data calculation 8 You can skip the fields above and upload a csv file for bulk setup of the variables 9 If case you don t know where to get started for...

Page 97: ...gurations backed up earlier Description of the numbered areas 1 Click Import Export Configuration to access the page 2 Export the channel configurations to the local 3 Import the channel configuration...

Page 98: ...script for edge computing click Edge Computing from the navigation pane on the left and input the script information in the pop up window upon a click on Add Script Description of the numbered areas...

Page 99: ...rategy to multiple scripts upon click of this button The scripts are designed to be executed automatically or at a scheduled time Automatic execution triggered when there is abnormality with the execu...

Page 100: ...ice list 2 Variable list 3 Use the filter to screen out the specific information 4 Select a variable group 5 Auto refresh interval 6 Manual refresh 7 Variable details 8 Data distribution settings 4 2...

Page 101: ...MQTT server 5 The port number is automatically filled 1883 6 The client will send a message to the server within a heartbeat interval 90 seconds by default and adjustable otherwise the client network...

Page 102: ...he server 15 Select to enable client certificate or not 16 If yes a client certificate file is needed 17 If yes a client key file is also needed 18 Input a client key password non compulsory 19 Select...

Page 103: ...m Config you can add alarm rules for the variables The device will alarm when a rule is triggered and the alarm mutes when the condition changes to not meeting the rule Description of the numbered are...

Page 104: ...elect to output the alarms to the alarm log or alarm log email If you choose the latter please add information about the email 5 Input an email account for receiving the alarm messages 6 Input the out...

Page 105: ...Logs Data collection log and cloud service log are displayed on Logs page You can make changes accordingly Description of the numbered areas 1 Select one or more checkboxes to screen the data collecti...

Page 106: ...save the settings If you have changed the settings be sure to return to Logs Reboot Collect Program to restart the collection to make the settings valid Log Storage In the Log Config Log Storage page...

Page 107: ...ed in your success Embedded in your better life World leading provider of embedded IoT products and solutions C335 Series Edge Computing Gateways User Manual 102 www vantrontech com CHAPTER 5 DISPOSAL...

Page 108: ...prior to disposal in conformity with local regulations Please ensure that the abandoned batteries are disposed of according to local regulations on waste disposal Do not throw batteries into fire or...

Page 109: ...mponents to the CUSTOMER for non warranty repair VANTRON will provide this service as long as the components are available in the market the CUSTOMER is requested to place a purchase order up front Pa...

Page 110: ...his equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by...

Reviews: