Crosslink TG Software and Programming Manual

Total Page:16

File Type:pdf, Size:1020Kb

Crosslink TG Software and Programming Manual Product revision: 1.4 2021-03-12 CrossLink TG Software and Programming Manual www.crosscontrol.com CrossLink TG Product revision: 1.4 Software and Programming Manual 2021-03-12 Contents Revision history ......................................................................................................................... 4 1. Introduction .......................................................................................................................... 5 1.1. How to access functionality .......................................................................................... 5 2. RTUControl API ..................................................................................................................... 7 2.1. Introduction ..................................................................................................................... 7 2.2. Starting and finalizing RTUControl module .................................................................. 7 2.3. RTC time ........................................................................................................................... 8 2.4. Sleep and usecsleep ...................................................................................................... 9 2.5. Power Management ...................................................................................................... 9 2.6. Hardware RTC ............................................................................................................... 12 2.7. Default Movement Sensor ........................................................................................... 13 2.8. Optional 9 axis Movement sensor ............................................................................... 15 2.9. Analog internal inputs .................................................................................................. 16 2.10. Timers ...................................................................................................................... 16 3. IO Module API .................................................................................................................... 20 3.1. Introduction ................................................................................................................... 20 3.2. LEDs control ................................................................................................................... 20 3.3. Handling analog inputs and digital inputs/outputs .................................................. 22 4. GSM API .............................................................................................................................. 25 4.1. Introduction ................................................................................................................... 25 4.2. Starting GSM .................................................................................................................. 25 4.3. Handling GSM Events ................................................................................................... 26 4.4. Making Voice/Data Calls ............................................................................................ 29 4.5. Subscription to a New SMS Arrival .............................................................................. 31 4.6. Finishing GSM ................................................................................................................. 32 4.7. Audio parameters configuration ................................................................................ 32 5. iNet API ............................................................................................................................... 35 5.1. Introduction ................................................................................................................... 35 5.2. Starting an Internet connection .................................................................................. 35 5.3. Closing the Internet Connection ................................................................................ 36 5.4. Out of GSM Coverage ................................................................................................. 37 5.5. GSM functionality in an active INET Session .............................................................. 37 6. Power Optimization ........................................................................................................... 38 6.1. Reducing consumption by switching off devices .................................................... 38 6.2. How to get the lowest consumption in low power mode ....................................... 39 6.3. Monitoring Power Sources ........................................................................................... 40 7. GPS API ............................................................................................................................... 41 7.1. Introduction ................................................................................................................... 41 7.2. Starting GPS ................................................................................................................... 41 7.3. Finishing GPS .................................................................................................................. 42 7.4. Example of getting GPS position ................................................................................ 43 7.5. Change Sensitivity mode ............................................................................................. 44 7.6. Change Dynamic Platform Model ............................................................................. 45 7.7. Change Static Hold Mode .......................................................................................... 46 2 CrossLink TG Product revision: 1.4 Software and Programming Manual 2021-03-12 7.8. Navigation output ........................................................................................................ 46 8. CAN .................................................................................................................................... 49 8.1. Creating a socket ......................................................................................................... 49 8.2. Configuring CAN ........................................................................................................... 50 8.3. Receiving CAN frames ................................................................................................. 50 8.4. Writing CAN frames ...................................................................................................... 50 8.5. Closing a CAN channel ............................................................................................... 51 8.6. CAN-utils ......................................................................................................................... 51 9. FMS API ............................................................................................................................... 51 9.1. Starting and finalizing FMS library ................................................................................ 52 9.2. Retrieving FMS data ..................................................................................................... 52 9.3. Retrieving TPMS data .................................................................................................... 53 9.4. Remove TPMS data ...................................................................................................... 53 9.5. Retrieving EBS data ....................................................................................................... 53 10. RS232 .................................................................................................................................. 53 10.1. Enabling serial interfaces ..................................................................................... 54 10.2. Working with RS232 ............................................................................................... 54 11. RS485 .................................................................................................................................. 54 11.1. Enabling RS485....................................................................................................... 54 11.2. Working with RS485 .............................................................................................. 55 11.3. OPTIONAL STEPS ..................................................................................................... 56 12. KLINE ................................................................................................................................... 56 12.1. Enabling the Kline .................................................................................................. 56 12.2. Configuring the Kline ............................................................................................ 56 13. BLUETOOTH ......................................................................................................................... 57 13.1. BT stack ................................................................................................................... 57 13.2. BT profiles ................................................................................................................ 58 13.3. Bluetooth programming ......................................................................................
Recommended publications
  • U-Connectxpress, Open Source Software Licenses, Application Note
    u-connectXpress Open source software licenses Application note Abstract This document contains the licensing terms for third party open source software included in u-blox short range modules. UBX-15022695 - R21 C1 - Public www.u-blox.com u-connectXpress Open source software licenses - Application note Document information Title u-connectXpress Subtitle Open source software licenses Document type Application note Document number UBX-15022695 Revision and date R21 4-Feb-2021 Disclosure Restriction C1 - Public This document applies to the following products: Product name Software version ANNA-B112 All NINA-B111 All NINA-B112 All NINA-B221 All NINA-B222 All NINA-B311 All NINA-B312 All NINA-B316 All NINA-B410 All NINA-B411 All NINA-B416 All NINA-W131 All NINA-W132 All NINA-W151 All NINA-W152 All NINA-W156 3.1.0 onwards ODIN-W260 All ODIN-W262 All ODIN-W263 All u-blox or third parties may hold intellectual property rights in the products, names, logos and designs included in this document. Copying, reproduction, modification or disclosure to third parties of this document or any part thereof is only permitted with the express written permission of u-blox. The information contained herein is provided “as is” and u-blox assumes no liability for its use. No warranty, either express or implied, is given, including but not limited to, with respect to the accuracy, correctness, reliability and fitness for a particular purpose of the information. This document may be revised by u-blox at any time without notice. For the most recent documents, visit www.u-blox.com.
    [Show full text]
  • Leveraging the Kerberos Credential Caching Mechanism for Faster Re-Authentications in Wireless Access Networks
    UBICOMM 2010 : The Fourth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies EAP-Kerberos: Leveraging the Kerberos Credential Caching Mechanism for Faster Re-authentications in Wireless Access Networks Saber Zrelli Yoichi Shinoda Nobuo Okabe Center for Information Science Corporate R&D Headquarters Japan Advanced Institute of Science and Technology Yokogawa Electric Corporation Ishikawa, Japan Tokyo, Japan [email protected] saber.zrelli,[email protected] Abstract—Although the wireless technology nowadays provides support cross-domain authentication that enables an access satisfying bandwidth and higher speeds, it still lacks improve- network to authenticate a roaming client that belongs to a ments with regard to handoff performance. Existing solutions remote domain. The cross-domain authentication requires for reducing handoff delays are specific to a particular network technology or require expensive upgrades of the whole infras- message exchange between the AAA server of the visited tructure. In this paper, we investigate performance benefits of network and the AAA server of the roaming station’s home leveraging the Kerberos ticket cashing mechanism for achieving network. Because these inter-domain exchanges occur over the faster re-authentications in IEEE 802.11 wireless access networks. Internet, they are subject to degradations such as packet loss For this purpose, we designed a new EAP authentication method, and network delays which increases the overall authentication EAP-Kerberos, and evaluated re-authentication performance in different scenarios. time. When a roaming station changes of access point, the same authentication procedure takes place again, disrupting Keywords-Wireless; Authentication; Handoff; Performance the user traffic at each handoff. I.
    [Show full text]
  • SMART Water Heater
    SMART Water Heater Mauro Cordoba, EE Bryan Mitchell, EE Vipol Sophonwatthanawichit, CpE Group 36 MOTIVATION “Water heaters account for nearly 17 percent of a home’s energy use, consuming more energy than all other household appliances combined.” • To reduce energy consumption by modernizing a common appliance • To provide more control PROJECT goals • Create an Internet of Things device • Work with embedded linux devices • Try to avoid common platforms such as raspberry pi • Develop Android application • Get experience designing PCB PROJECT requirements • Comparable in size to modern water heater thermostats • Able to control a standard electric water heater element • Able to regulate temperature to +/- 1° C of desired temperature • It will run from 240V mains (120V for demo) • It will be controlled directly though a touchscreen interface or remotely via network PROJECT overview PROJECT overview Water Heater Home automation Controller system Touchscreen Android phone Database HARDWARE design HARDWARE diagram 240V AC • 120 VAC • +5 VDC • Data 240V AC to 5V DC Temperature Relay Heating element 1 Sensors Relay Heating element 2 Flow Sensor PIR sensor WIFI CFA920-TS Adapter MAIN board • 454MHz Freescale i.MX283 processor • 4.3 inch 800*480 TFT touchscreen display • 10/100 Ethernet port • USB port • 128MB DDR2 RAM • μSD reader supports up to 64GB • 24 GPIO pins CFA920-TS EXPANSION board(s) • 240v AC - 5v DC power supply • Interface with CFA920-TS • 97mm x 55mm • Sensor inputs • Relay controlled heating element outputs The first iteration of
    [Show full text]
  • SX-6K3-EVK-SD User Guide
    SX-6K3-EVK-SD User Guide Part Number 140-00207-150 Revision A Silex Technology America, Inc. CONFIDENTIAL Copyright & Trademark © 2013 Silex Technology America, Inc. All rights reserved. September, 2013 Silex Technology America SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS OF THIS PRODUCT FOR A PARTICULAR PURPOSE. Silex shall not be liable for any errors contained in this manual or for any damages resulting from loss of use, data, profits, or any incidental or consequential damages arising from the use of SILEX products or services. The information contained in this documentation is subject to change without notice. Information and descriptions contained herein are the property of Silex. Such information and descriptions may not be copied, disseminated, or distributed without the express written consent of Silex. This publication is subject to change without notice. The software embedded in this SX-6K3-EVK includes the Linux operating system. Linux and certain other software programs used in the SX-6K3-EVK are licensed under GNU GPL compatible Free Software Licenses. In compliance with these licenses, you can obtain the relevant source code at no charge by contacting Silex at [email protected]. Silex Technology America, Inc. www.silexamerica.com SX-6K3-EVK-SD User Guide 2 Silex Technology America, Inc. CONFIDENTIAL Table of Contents Copyright & Trademark .................................................................................................................................................
    [Show full text]
  • Vorlage Für Dokumente Bei AI
    OSS Disclosure Document Date: 27-Apr-2018 CM-AI/PJ-CC OSS Licenses used in Suzuki Project Page 1 Table of content 1 Overview ..................................................................................................................... 11 2 OSS Licenses used in the project ................................................................................... 11 3 Package details for OSS Licenses usage ........................................................................ 12 3.1 7 Zip - LZMA SDK ............................................................................................................. 12 3.2 ACL 2.2.51 ...................................................................................................................... 12 3.3 Alsa Libraries 1.0.27.2 ................................................................................................... 12 3.4 AES - Advanced Encryption Standard 1.0 ......................................................................... 12 3.5 Alsa Plugins 1.0.26 ........................................................................................................ 13 3.6 Alsa Utils 1.0.27.2 ......................................................................................................... 13 3.7 APMD 3.2.2 ................................................................................................................... 13 3.8 Atomic_ops .................................................................................................................... 13 3.9 Attr 2.4.46 ...................................................................................................................
    [Show full text]
  • Third Party Software Used in WUSB6100M Version Setup V1.0.0.8 Driver V11.1.0.X
    Third Party Software Used In WUSB6100M Version Setup_v1.0.0.8_Driver_v11.1.0.X April 6, 2018 This document contains the licenses and notices for open source software used in WUSB6100M Setup_v1.0.0.8_Driver_v11.1.0.X. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of the source code to which you are entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License) , please contact us at GPL code request. This document may also contain required licenses and notices for third party commercial software used in this product. Contents 1- WLAN Host Driver version v11.1.0.X This Notice.txt file contains certain notices of software components included with the software that Qualcomm Atheros, Inc. (Qualcomm Atheros) is required to provide you. Except where prohibited by the open source license, the content of this notices file is only provided to satisfy Qualcomm Atheros's attribution and notice requirement; your use of these software components together with the Qualcomm Atheros software (Qualcomm Atheros software hereinafter referred to as Software) is subject to the terms of your agreement from Qualcomm Atheros. Compliance with all copyright laws and software license agreements included in the notice section of this file are the responsibility of the user. Except as may be granted by separate express written agreement, this file provides no license to any patents, trademarks, copyrights, or other intellectual property of Qualcomm Incorporated or any of its subsidiaries. Copyright (c) 2016 Qualcomm Atheros, Inc.
    [Show full text]
  • List of Open Source Software Used in ESB-1090
    List of Open Source Software Used in ESB-1090 acl 2.2.52 LGPLv2.1+ & GPLv2+ Utilities for managing POSIX Access Control Lists. http://www.gnu.org/licenses/gpl-2.0.html https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html alsa-lib 1. 1. 3 LGPLv2.1 & GPLv2+ ALSA sound library. http://www.gnu.org/licenses/gpl-2.0.html https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html alsa-utils 1. 1. 0 GPLv2+ ALSA sound utilities. http://www.gnu.org/licenses/gpl-2.0.html android-tools-adbd 4.2.2+git20130218-3ubuntu13 Apache-2.0 & GPL-2.0 & BSD-2-Clause & BSD-3-Clause Different utilities from Android - based on the corresponding ubuntu package http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0 https://opensource.org/licenses/BSD-2-Clause https://opensource.org/licenses/BSD-3-Clause attr 2.4.47 LGPLv2.1+ & GPLv2+ Utilities for manipulating filesystem extended attributes. https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html http://www.gnu.org/licenses/gpl-2.0.html Autoconf 2.69 GPLv3+ Autoconf is an extensible package of M4 macros that produce shell http://www.gnu.org/licenses/gpl-3.0.html automake 1.15 GPLv2+ A makefile generator http://www.gnu.org/licenses/gpl-2.0.html base-files 3.0.14 GPLv2 The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system. http://www.gnu.org/licenses/gpl-2.0.html base-passwd 3.5.29 GPLv2+ The master copies of the user database files (/etc/passwd and /etc/group).
    [Show full text]
  • TS-WIFIBOX Manual
    GETTING STARTED WITH TS-WIFIBOX TINY WIFI-ENABLED BOX APPLICATION KIT OVERVIEW The TS-WIFIBOX Application Kit includes a complete solution for 802.11g WiFi applications. The one-piece setup includes a TS-7400 200Mhz ARM9 SoM engine, a Hammond aluminum enclosure, two aluminum end-plates and an internal 802.11g WiFi card integrated with external antenna. In addition, Linux drivers and software packages are installed to provide an out-of-the-box WiFi solution. On the software side, the TS- WIFIBOX is powered with the Linux OS pre-installed with busybox and all the tools and drivers to make the WiFi module work out-of-the- box. Additional TS-WIFIBOX features include: ✔ Internal TS-7400 SoM engine ✔ Ultra-Fast Bootup Firmware ✔ 200 MHz ARM9 processor with MMU ✔ Internal 802.11g WiFi with external antenna ✔ Industrial quality design, Rugged aluminum enclosure, No moving parts, Industrial power connector will not loosen, Low power, low heat, long life, All components soldered-on ✔ SD Card clamped in socket ✔ 32 MB SDRAM (up to 128 MB optional) ✔ 32 MB NAND Flash ✔ 1 10/100 Ethernet port ✔ 1 USB 2.0 Compatible OHCI ports (12 Mbit/s Max) ✔ Up to 4GB flash via SD Card ✔ WiFi drivers and packages for Linux ✔ Optional On-Board Temperature Sensor ✔ Optional Battery-Backed RTC Notes The TS-WIFIBOX makes use of a TS-7400 computer module. Please, refer to the TS-7400 documentation for further information. POWER ON AND CONNECTION TO THE BOARD The TS-WIFIBOX can be powered either by a 5VDC power supply through a connector in the front panel (LEDs, Ethernet and USB connectors), or by a 8-30VDC power supply through a screw terminal connector in the rear panel (WIFI antenna).
    [Show full text]
  • Wl18x1mod, Wl18x5mod Wilink™ 8 Single-Band Combo Module – Wi-Fi®, Bluetooth ®, and Bluetooth Low Energy (LE)
    WL1801MOD, WL1805MOD, WL1831MOD, WL1835MOD www.ti.com WL1801MOD, WL1805MOD,SWRS152N – WL1831MOD,JUNE 2013 – REVISED WL1835MOD APRIL 2021 SWRS152N – JUNE 2013 – REVISED APRIL 2021 WL18x1MOD, WL18x5MOD WiLink™ 8 Single-Band Combo Module – Wi-Fi®, Bluetooth ®, and Bluetooth Low Energy (LE) 1 Features – Dual-mode Bluetooth and Bluetooth low energy – TI's Bluetooth and Bluetooth low energy • General certified stack – Integrates RF, power amplifiers (PAs), clock, • Key benefits RF switches, filters, passives, and power – Reduces design overhead management – Differentiated use cases by configuring – Quick hardware design with TI module WiLink™ 8 simultaneously in two roles (STA collateral and reference designs and AP) to connect directly with other Wi- – Operating temperature: –20°C to +70°C Fi devices on different RF channel (Wi-Fi – Small form factor: 13.3 × 13.4 × 2 mm networks) – 100-pin MOC package – Best-in-class Wi-Fi with high-performance – FCC, IC, ETSI/CE, and TELEC certified with audio and video streaming reference PCB, dipole, chip, and PIFA antennas applications with up to 1.4× the range versus • Wi-Fi® one antenna – WLAN baseband processor and RF transceiver – Different provisioning methods for in-home support of IEEE Std 802.11b, 802.11g, and devices connectivity to Wi-Fi in one step 802.11n – Lowest Wi-Fi power consumption in connected – 20- and 40-MHz SISO and 20-MHz 2 × 2 MIMO idle (< 800 µA) at 2.4 GHz for high throughput: 80 Mbps (TCP), – Configurable wake on WLAN filters to only 100 Mbps (UDP) wake up the system – 2.4-GHz
    [Show full text]
  • Integration of the Captive Portal Paradigm with the 802.1X Architecture
    Integration of the Captive Portal paradigm with the 802.1X architecture Nuno Marques, Andr´eZ´uquete,Jo~aoPaulo Barraca fnunommarques,andre.zuquete,[email protected] August 28, 2019 Abstract In a scenario where hotspot wireless networks are increasingly being used, and given the amount of sensitive information exchanged on Internet interactions, there is the need to implement security mechanisms that guarantee data confidentiality and integrity in such networks, as well as the authenticity of the hotspot providers. However, many hotspots today use Captive Portals, which rely on au- thentication through Web pages (thus, an application-level authentication approach) instead of a link-layer approach. The consequence of this is that there is no security in the wireless link to the hotspot (it has to be pro- vided at upper protocol layers), and is cumbersome to manage wireless access profiles (we need special applications or browsers' add-ons to do that). This work exposes the weaknesses of the Captive Portals' paradigm, which does not follow a unique nor standard approach, and describes a solution that intends to suppress them, based on the 802.1X architec- ture. This solution uses a new EAP-compliant protocol that is able to integrate an HTTP-based registration or authentication with a Captive Portal within the 802.1X authentication framework. Keywords: Wireless networks, 802.11, hotspots, Captive Portals, link- layer security, 802.1X, EAP, TLS arXiv:1908.09927v1 [cs.NI] 26 Aug 2019 1 Introduction The security of 802.11 (Wi-Fi) wireless networks is defined by several standards, such as 802.11i [28] and 802.11w [29].
    [Show full text]
  • AN1287: RS9116N Wi-Fi Roaming Application Note Version 0.4 10/21/2020
    AN1287: RS9116N Wi-Fi Roaming Application Note Version 0.4 10/21/2020 silabs.com | Building a more connected world. 1 | Page AN1287: RS9116N Wi-Fi Roaming Application Note Version 0.4 Table of Contents 1 Abstract ......................................................................................................................................................................... 3 2 Introduction .................................................................................................................................................................. 4 3 Terminology (Acronyms/Abbreviations) .................................................................................................................... 5 4 Requirements ............................................................................................................................................................... 6 5 Background Scanning ................................................................................................................................................. 7 6 Roaming ........................................................................................................................................................................ 8 7 Configuration Steps Required for Roaming ............................................................................................................... 9 7.1 Configuration Parameters in .config File ...............................................................................................................
    [Show full text]
  • User Manual Contents
    Register your product and get support at Smart LED TV www.philips.com/welcome 32PFK6509 42PFK6549 42PFK6559 42PFK6589 47PFK6549 47PFK6559 47PFK6589 55PFK6549 55PFK6559 55PFK6589 User Manual Contents 8.2 Satellite channel list 35 1 My new TV 4 8.3 Favourite satellite channels 35 1.1 Smart TV 4 8.4 Lock satellite channels 36 1.2 App gallery 4 8.5 Satellite installation 37 1.3 Rental videos 4 8.6 Problems with satellites 41 1.4 Social networks 4 1.5 Ambilight+hue 4 9 Home menu 42 1.6 Skype 5 1.7 Smartphones and tablets 5 10 TV guide 43 1.8 Pause TV and recordings 5 10.1 What you need 43 1.9 Gaming 5 10.2 Using the TV guide 43 1.10 EasyLink 6 10.3 Recordings 43 2 Setting up 7 11 Sources 44 2.1 Read safety 7 11.1 Sources list 44 2.2 TV stand and wall mounting 7 11.2 From standby 44 2.3 Tips on placement 7 11.3 EasyLink 44 2.4 Power cable 7 12 Timers and clock 45 2.5 Antenna cable 8 2.6 Satellite dish 8 12.1 Sleeptimer 45 12.2 Clock 45 3 Network 9 12.3 Switch off timer 45 3.1 Wireless network 9 13 3D 46 3.2 Wired network 10 3.3 Network settings 10 13.1 What you need 46 13.2 The 3D glasses 46 4 Connections 12 13.3 Care of the 3D glasses 46 4.1 Tips on connections 12 13.4 Watch 3D 46 4.2 EasyLink HDMI CEC 14 13.5 Optimal 3D viewing 46 4.3 Common interface - CAM 15 13.6 Health warning 47 4.4 Set-top box - STB 15 14 Games 48 4.5 Satellite receiver 16 4.6 Home Theatre System - HTS 16 14.1 Play a game 48 4.7 Blu-ray Disc player 17 14.2 Two-player games 48 4.8 DVD player 18 15 Your photos, videos and music 49 4.9 Game console 18 15.1 From a USB connection
    [Show full text]