IP•Link 122X Embedded Wireless Module User Manual Version 2.3.00 Helicomm Inc. www.helicomm.
Version 2.3.00 © 2009 Helicomm, Inc. All rights reserved. No part of this publication may be reproduced, adapted, or translated in any form or by any means without prior written authorization of Helicomm, Inc. Information published here is current or planned as of the date of publication of this document. Because we are improving and adding features to our products continuously, the information in this publication is subject to change without notice.
Version 2.3.00 FCC Information The equipment has been tested and found to comply with the limits for a Class B Digital Device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction, may cause harmful interference to radio communication.
Version 2.3.00 This equipment has been tested and found to comply with the limits for a Class B Digital Device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction, may cause harmful interference to radio communication.
Version 2.3.00 • Radio & Teleterminal Equipment (R&TTE) 1999/5/EC - Article 10.5 Applicable Standards: • Article 3.1a) EN 60950-1:2001 - Protection Requirements for health and safety • Article 3.1b) EN 301 489-17 V1.2.1 (2002-08) - Protection Requirements for electromagnetic compatibility • Article 3.2) EN 300 328 V1.7.1 (2006-10) - Effective use of the radio spectrum IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Table of Contents 1 Overview.......................................................................................................................... 1 2 Module Specifications ................................................................................................... 2 2.1 IP-Link 122X-2034 Interface Pin Definitions ........................................................................ 4 2.2 IP-Link 1222-2034 Interface Pin Definitions ........................................
Version 2.3.00 7.2.5 Helicomm Data Request Frame................................................................................. 40 7.2.6 Helicomm Acknowledgment Frame ........................................................................... 41 7.3 Helicomm Command Synopsis.......................................................................................... 42 7.4 Helicomm application mode synopsis................................................................................ 67 7.4.
Version 2.3.00 1 Overview IP-Link 122X is Helicomm’s first embeddable, Surface Mount Technology (SMT) IEEE 802.15.4/ZigBee-compliant wireless module. IP-Link 122X contains a powerful 8-bit 8051 microprocessor and a 2.4GHz IEEE 802.15.4-compliant RF transceiver. IP-Link 122X (both 2033 and 2134 models) can operate over 16 channels in the unlicensed 2.4GHz frequency band (or ISM, short for Industrial, Science and Medical) across the world.
Version 2.3.00 2 Module Specifications Micro-controller (MCU) MCU Clock Rate 24.5MHz FLASH ROM 1220- XXXX: 128 KB 1221- XXXX: 64 KB 1222- XXXX: 32KB RAM 1220- XXXX: 8 KB 1221- XXXX: 8 KB 1222-XXXX: 2 KB Frequency 2.
Version 2.3.00 Physical IP-Link 122X User Manual Comparators 1220-xxxx: Two 1221-xxxx: Two 1222-2034: Not support at present D-to-A 1220-xxxx: Two 12-bit DAC 1221-xxxx: N/A 1222-2034: Not support at present # of Programmable GPIO 1220-xxxx: 11 1221-xxxx: 11 1222-2034:11 Dimension (in inches) 122X-20X4: 1.6 x 0.7 x 0.2 122X-21X4: 1.8 x 0.7 x 0.2 122X-22X4: 1.8 x 0.7 x 0.
Version 2.3.00 2.1 IP-Link 122X-2034 Interface Pin Definitions 122X-2034 IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Pin No. Name Type Function Description 1~8 RF_GND Power RF Ground pins 9 NC RF Not Connected (Note: This pin is reserved for a different antenna option on different SKUs.) 10 RF_GND Power RF Ground Pin 11 P2.7 Digital I/O Port 2.7 Digital Input/Output (only available on IP-Link 122X2034) 12 P2.6 Digital I/O Port 2.6 Digital Input/Output (only available on IP-Link 122X2034) 13 P2.5 Digital I/O Port 2.
Version 2.3.00 Pin No. Name Type Function Description RTS for UART flow control(re. 8.2) 23 P3.3 Digital I/O Port 3.3 Digital Input/Output Port 3.2 Digital Input/Output 24 P3.2 Digital I/O , Tag sleep wake up, keep P3.2 low for 500mS the asleep module in waken up, and keep P3.2 low for another 500mS,the 。 module work in sleep mode again,re.7.4.1 25 ~26 GND Power 27 P3.1 Digital I/O Digital Ground Port 3.1 Digital Input/Output In tag mode, Port 3.1 have Tag alarm function, re.7.4.
Version 2.3.00 Pin No. Name Type Function Description 41 DAC0 DAC Digital-to-Analog Converter 0 Voltage Output Range: 0 ~ (VREF -1) mV @ 12-bit resolution (only available on IP-Link 1220) 42 CP1- Comparators Comparator 1 inverting input 43 CP1+ Comparators Comparator 1 non-inverting input 44 CP0- Comparators Comparator 0 inverting input 45 CP0+ Comparators Comparator 0 non-inverting input 46 Vav+ Power Power 2.7 to 3.
Version 2.3.00 2.2 IP-Link 1222-2034 Interface Pin Definitions 1222-2034 IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Pin No. Name Type Function Description 1~8 RF_GND Power RF Ground pins 9 NC RF Not Connected (Note: This pin is reserved for a different antenna option on different SKUs. ) 10 RF_GND Power RF Ground Pin 11~15 GND Power Digital Ground 16 P2.2 Digital I/O Port 2.2 Digital Input/Output 17 P2.1 Digital I/O Port 2.1 Digital Input/Output 18 P2.0 Digital I/O Port 2.0 Digital Input/Output 19 ~27 GND Power Digital Ground 28 P1.5 Digital I/O Port 1.
Version 2.3.00 Pin No. Name Type Function Description P0.1 Digital I/O resolution Port 0.1 Digital Input/Output 41 DAC0 P0.0. DAC Digital I/O Digital-to-Analog Converter 0 Voltage Output Range: 0 ~ (VREF -1) mV @ 12-bit resolution Port 0.0 Digital Input/Output 42~45 GND Power Digital Ground 46 VRTC Power Smart Clock Backup Supply Voltage. 47 VREF Reference voltage Input AIN0.0 ADC ADC 0 Input Channel 0 @ 12-bit resolution P1.6 Digital I/O Port 1.6 Digital Input/Output AIN0.
Version 2.3.00 2.3 IP-Link 122X-2134 Interface Pin Definitions 122X-2134 IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 2.4 IP-Link 122X-2164 Interface Pin Definitions 122X-2164 IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 2.5 IP-Link 122X-2264 Interface Pin Definitions 122X-2264 IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Pin No. Name Type Function Description 1 ~ 12 RF_GND Power RF Ground pins 13 ANTENNA RF Not Connected (Note: This pin is reserved for a different antenna option on 1221-2164. ) 14 RF_GND Power RF Ground Pin 15 NC Digital I/O NC 16 NC Digital I/O NC 17 NC Digital I/O NC 18 P2.4 Digital I/O 19 P2.3 Digital I/O 20 P2.2 Digital I/O 21 P2.1 Digital I/O Port 2.
Version 2.3.00 Pin No. Name Type Function Description 27 P3.3 Digital I/O Port 3.3 Digital Input/Output Port 3.2 Digital Input/Output 28 P3.2 Digital I/O , Tag sleep wake up, keep P3.2 low for 500mS the asleep module in waken up, and keep P3.2 low for another 500mS,the 。 module work in sleep mode again,re.7.4.1 29 ~30 GND Power 31 P3.1 Digital I/O Digital Ground Port 3.1 Digital Input/Output In tag mode, Port 3.1 have Tag alarm function,re.7.4.1 In DIO mode, Port 3.
Version 2.3.00 Pin No. Name Type Function Description (only available on IP-Link 1220) 46 CP1- Comparators Comparator 1 inverting input 47 CP1+ Comparators Comparator 1 non-inverting input 48 CP0- Comparators Comparator 0 inverting input 49 CP0+ Comparators Comparator 0 non-inverting input 50 Vav+ Power Power 2.7 to 3.6VDC analog supply 51 VREF Reference voltage output 52 AIN0.0 ADC 0 Input Channel 0 53 AIN0.1 ADC 0 Input Channel 1 54 A_GND 55 VCC Power 3.0 to 3.
Version 2.3.00 2.6 Special Notes on Interface Pins RX0 Receiving data pin for Universal Asynchronous Receiver Transmitter (UART0). Its level should be in accordance with the VDD voltage level. Factory default baud rate is 38400. The default configuration is 8-bit data, no parity, and 1 stop bit. TX0 Transmitting data pin for Universal Asynchronous Receiver Transmitter (UART0). Its level should be in accordance with the VDD voltage level.
Version 2.3.00 2.
Version 2.3.00 3 Absolute Maximum Ratings Parameter Conditions Max Units 3.6 V Maximum Total Current through VCC, AV+, GND, and AGND,RFGND 800 mA Maximum Output Current Sunk by any Port pin 100 mA Maximum Output Current Sunk by any other I/O pin 50 mA Maximum Output Current Sourced by any Port pin 100 mA Maximum Output Current Sourced by any other I/O 50 mA 150 °C Voltage on any Pin Min -0.
Version 2.3.00 4 Operating Conditions Parameter Conditions Min Type Max Units (IP-Link 122X- 2.7 3.6 V (IP-Link 122X- 3.0 3.6 V Operating ambient temperature range -20 70 °C Humidity(non-condensing) 10% 90% Supply voltage ) X0XX Supply voltage ) X1XX IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 5 Theory of Networking Operations IP-Link 122X can be configured in a number of network topologies to meet different application needs. It allows the users to design a network that best matches their installation conditions and applications’ needs. To design a network, it is empirical to understand how each individual IP-Link 122X should be configured, and what each nodes individual capabilities as well as constrains are.
Version 2.3.00 On the other hand, a routing topology is a routing pattern over a multi-hop network. It describes an imaginary wiring diagram, weaving together all network nodes, allowing any arbitrary point to initiate a message (either unicast or multicast) to any fellow node in the network. A routing topology is constrained by the underlying connectivity topology.
Version 2.3.00 provides a single point of failure. Especially, the failure of the master node will result in complete system crash. To construct a star network using IP-Link 122X, only one IP-Link 122X module needs to be configured as a Master node. The remaining IP-Link 122X modules can be programmed as an End node. The most significant benefit of a star routing topology is its simplicity.
Version 2.3.00 routing pattern. This makes the messaging latency highly dependent on the instantaneous Link quality and difficult to predict. More importantly, a qualitative comparison of mesh algorithms is always a challenging task even for the most savvy network designer. Network designers usually deploy mesh for applications that require a highly reliable, highly available wireless infrastructure.
Version 2.3.00 6 Quick Steps in Establishing an IP-Link 122X Network In this chapter we provide some special notes on forming an IP-Link 122X network (The establishment of Mesh network please re. 6.1 and 6.2). 6.1 Special Note: Establishing a Full Mesh Network A full ad hoc mesh network is appealing to many users because of its ease of configuration. In this configuration, all nodes are viewed as equals, and each of them will be a “trustworthy” neighbor to any other nodes within its radio contact.
Version 2.3.00 0X96: node type, master is 0 client is 1 0X99: set to 1 0X9A: set to 1 0X9E: 0 0X9F: 0xFF 0XA0: 0x62 0XB4: 0x01 0XB5: 0x01 0XB7: 0x00 0XBC: high bits of net node ID 0XBD: low bits of net node ID 0XBE: high bits of net ID 0XBF: low bits of net ID 0XC0: high bits of mac node ID, the same as 0xBC 0XC1: low bits of mac node ID, the same as 0xBD For example, send command code: 81 00 FF FE 03 87 70 00 74, the function of this command is setting power to 0.
Version 2.3.00 7 IP-Link 122X Command Set Helicomm IP-Link supports two categories of external command sets. One is the familiar AT command set that is similar to those supported by Hayes-compatible modems. The second category of commands consists of binary instructions that enable a host processor to use IP-Link 122X as a wireless network interface. Application developers usually use AT command set to query and set attributes on a standalone module.
Version 2.3.00 AT String Purpose Parameter Return String Successful: O AT#n\r Set MAC Layer Network Identifier n = 0 ~ 65535 AT@n\r Set MAC Layer Node Identifier n = 0 ~ 65534 ATSxxx?\r Query Register Value xxx: S register index (in decimal) Successful: ATSxxx=x xxx: register index (in decimal) Successful: O ATSxxx=yyy\r Set Register Value AT/$\r Get IEEE MAC Address AT/B\r Error: Exxx Successful: O Error: Exxx Error: Exxx Error: Exxx yyy: register value (in decimal) N/A LongMac=0x
Version 2.3.
Version 2.3.00 Register Name S Register Index (decimal) Access Type Purpose Range (decimal) Manufacturer Default (decimal) 1: 2.410 GHz ... 14: 2.475 GHz 15: 2.480 GHz RF Frequency 115 R RF Frequency 3: 2.
Version 2.3.
Version 2.3.
Version 2.3.
Version 2.3.00 7.2 Binary Mode In Binary Mode, host applications use binary-formatted command and responses to command the local modules as well as communicate to remote nodes across the network. This highlights the key utility of Binary Mode operations compared to AT Mode: to communicate and command remote modules over the network formed by multiple IP-Link modules.
Version 2.3.00 Following is the detailed description of the common packet header descriptor. 7.2.1.1 Control Header Field Length: one byte Bit Field Definition: Bit 7,6,5: Binary Frame Type: 100 110 101 111 Bit 4: command request command response data request data acknowledgement Reserved for future use. Default to 0. Bit 3,2,1,0: Packet Sequence Number, modulo 16.
Version 2.3.00 Description: 0x0000, 0xFFFE, and 0xFFFF are all reserved address -- 0x0000 for Network Master, 0xFFFE for loopback (to the sender itself), and 0xFFFF for broadcast. 7.2.1.4 Payload Length Field Length: one byte Bit Field Definition: Bit 7~0: Represents the payload length (excluding the 5-byte header and 1-byte XOR checksum) in hexadecimal. Description: Its valid range should be from 0x00 to 0x61 (decimal 97). 7.2.1.
Version 2.3.00 Command Request (4-bit) b1000 Sequence Number (4-bit) When composing a Command Request Frame, user applications should supply the following information: • A four-bit, user-defined packet sequence number: this number will be echoed back in receiver’s Command Response Frame. • Destination node’s network address: Combined with the Packet Sequence Number, users can use these two numbers to uniquely match an incoming Response to a pending Command.
Version 2.3.00 7.2.3 IP-Link 122X Command Request Code Summary Following is a summary of the Command Request set currently supported by IP-Link 122X, firmware release v2.3.00. Please refer to Command Request Frame Synopsis in Section 7.3 , for complete, 1 individual command’s information.
Version 2.3.00 Command Response (4-bit) b1100 Sequence Number (4-bit) Command Response Frame is used to indicate back to the originator the execution results of a Command Request Frame. If the command executes correctly, first the Command Code field in the Response Frame will echo the original command code. Further, a destination node will return any result in the RESPONSE field.
Version 2.3.00 7.2.5 Helicomm Data Request Frame Control Header (1) Data Request (4-bit) b1010 Sequence Number (4-bit) Link Quality Indicator (1) Destination Address (2) Payload Length (1) Data Payload (0 – 97) XOR Checksum (1) In this Data Request Frame, applications can deposit the application-specific data (of up to 97 bytes) into the Data Payload and transmit it to the target receiver. The receivers are expected to return an Acknowledgment Frame. IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 7.2.6 Helicomm Acknowledgment Frame Control Header (1) Data ACK (4-bit) b1110 Sequence Number (4-bit) Link Quality Indicator (1) Destination Address (2) Payload Length (1) Error Code (1) Error Type (1) XOR Checksum (1) If a Data Request Frame is received successfully, the receiver will return a Data Acknowledgement Frame, back to the originator, with 0x00 for both Error Code and Error Type fields.
Version 2.3.00 7.3 Helicomm Command Synopsis The following sections describe in detail the current command set available on IP-Link 122X. Users can refer to this information to build the command library for their particular host application platforms. Get IP-Link 122X ADC0 Sample Read the sample from IP-Link 122X’s ADC0 Command Code 0x81 Description This command is used to retrieve the sample from IP-Link 122X’s built-in analog-todigital converter (ADC0).
Version 2.3.00 continuous samples, divide the sum by 16, and report the average 10-bit sample. Command Parameters ADC Channel 1 Byte 0x00: enable ADC#0 0x01: enable ADC#1 Response ADC High Byte 1 Byte the most significant 4 bits of the sample (right-aligned) ADC Low Byte 1 Byte the 8 least significant bits of the sample IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Set IP-Link 1220 DAC0 Value Set IP-Link 1220’s DAC0 value Command Code 0x85 Description This command is used to set the input digital value of IP-Link 1220’s built-in digital-toanalog converter (DAC0). IP-Link 1220 has a two 12-bit voltage-mode DACs. Each DAC has an output swing of 0V to 2.4V(typical) for a corresponding input code range of 0x000 to 0xFFF. DAC#1 and DAC#0 output are available on IP-Link 1220’s Pin #44 and #45, respectively, to connect to user’s digital input.
Version 2.3.00 Get IP-Link 122X RSSI Reading Read IP-Link 122X RSSI reading Command Code 0x82 Description This command retrieves the RSSI value, in dBm, from IPLink 122X. The dBm is a signed value. For instance, a reading of “B0” (hex) represents an RSSI value of80dBm. Command Parameters N/A Response RSSI IP-Link 122X User Manual 1 Byte Helicomm, Inc.
Version 2.3.00 Get IP-Link 122X Temperature Read the temperature sample from a remote IP-Link 122X Command Code 0x83 Description Issue this command to retrieve the ambient temperature sensed by IPLink 122X. To derive at the actual temperature reading, the following conversion should be applied on the 12-bit (10-bit on IPLink 1221)sample S: For 1220: Celcius: ((S * 2.4 / 4095) – 0.776) / 0.00286 For 1221: Celcius: ((S * 2.4 / 1023) – 0.776) / 0.00286 Farenheit: (Celcius * 1.
Version 2.3.00 Get AT Mode S Register Setting Get a particular S Register’s value under AT Mode Command Code 0x86 Description This is a shortcut for getting an S Register’s value under AT Mode. It is equivalent to issuing ATSxxx? under AT Mode. The difference is that now this capability now can be used across the network.
Version 2.3.00 Set AT Mode S Register Setting Set a particular S Register’s under AT Mode Command Code 0x87 Description This command can be used to set a remote or local module’s S Register. Users are advised to use this command with caution. Improper use of this command can result in modules unable to communicate to the rest of the network. Note: This command can only be used to set the local module in default state.
Version 2.3.00 Get MAC Address Get MAC layer hardware address Command Code 0x8B Description This command retrieves an IP-Link 122X module’s IEEE 64-bit MAC hardware address.. Command Parameters N/A Response MAC Address IP-Link 122X User Manual 8 Byte Helicomm, Inc.
Version 2.3.00 Get Firmware Version Number Get release number of IP-Link 122X module firmware Command Code 0x8C Description This command retrieves the firmware release number on the destination IP-Link 122X module. Command Parameters N/A Response Major 1 Byte Major release number, in hex Minor 1 Byte Minor release number, in hex Revision 1 Byte Revision number, in hex IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Entry Power Down Mode Power down IP-Link 122X module Command Code 0x8D Description This command powers down the remote IP-Link 122X module. The target module will return a Command Response frame and shuts down. Once the module has entered this mode, it can only be waken by hardware reset. Command Parameters N/A Response Command Confirmation IP-Link 122X User Manual 1 Byte Helicomm, Inc.
Version 2.3.00 Soft Reset Reset IP-Link 122X module Command Code 0x8F Description This command triggers a soft reset of the destination IP-Link 122X. The destination module will retain all its network settings and be able to communicate with the rest of the network after this soft reset. Command Parameters N/A Response Command Confirmation IP-Link 122X User Manual 1 Byte Helicomm, Inc.
Version 2.3.00 Reset to Factory Default Reset all module attributes to factory default Command Code 0x90 Description This command restores the factory default settings on the destination IP-Link 122X module. After the reset, the destination IP-Link may need to be re-programmed with key communication attributes before it can connect with existing wireless network. Command Parameters N/A Response Command Confirmation IP-Link 122X User Manual 1 Byte Helicomm, Inc.
Version 2.3.00 Get Routing Table Retrieve Routing Table entries Command Code 0x95 Description This command retrieves the entire routing table entries from the destination IP-Link 122X module. Currently the routing table supports up to 140 entries.
Version 2.3.00 Special Note In future releases, the capacity of this table may be subject to adjustment IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Get Black List Table Retrieve MAC layer Black List Table entries Command Code 0x9C Description This command retrieves the Black List Table on the destination IP-Link 122X module. Black List Table is a MAC Layer filtering mechansim that forces a module to ignore messages from those nodes listed on the Black List Table. Currently the Black List Table supports up to 8 entries.
Version 2.3.00 Set Black List Table Program MAC layer Black List Table entries Command Code 0x9D Description This command sets the Black List Table entries for the destination IP-Link 122X module. Black List Table is a MAC Layer filtering mechansim to force a module to ignore messages from those nodes listed on the Black List Table. Refer to Get Black List Table command in the previous page for Black List Table entry definition. This command is a variable-length command.
Version 2.3.00 TRACERT Trace the routing path Command Code 0xAA Description This command retrieves the outgoing path from local IP-Link 122X module to the destination module and the returning path from the destination module to local module. Each path records the ordinal Network Layer Node IDs. Command Parameters N/A Response Marker(0xAA 0x55) 2 Byte Outgoing Path 2 Byte per hop Marker(0xAA 0x55) 2 Byte Returning Path 2 Byte per hop IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 TRACERT with RSSI Trace the routing path and come with the RSSI in each hop. Command Code 0xBB Description This command retrieves the outgoing path from local IP-Link 122X module to the destination module and the returning path from the destination module to local module. Each path records the ordinal Network Layer Node IDs and the RSSI in each hop. Command Parameters N/A Response Marker(0xAA 0x55) 2 Byte Node 1 2 Byte RSSI 1 Byte Node 2 2 Byte RSSI 1 Byte Node 3 2 Byte ...
Version 2.3.00 Get IO Retrieve Port state Command Code 0xAC Description This command retrieves the current state of corresponding port. Input a number from 0x00 to 0x0A to get the current state of corresponding port. 0x00 ~ 0x05 means port P3.0 ~ P3.5, 0x06 means port P3.7, and 0x07 ~ 0x0A means port P2.0 ~ P2.3. It will return the state of all ports when the command parameter is 0xFF.
Version 2.3.00 Set IO Set Port state Command Code 0xAD Description This command sets the state of corresponding port. It is a variable-length command. Users can set the state of one port with two bytes.The fisrt byte specifise the port number, and the second byte sets the port state. 0 means low state and 1 means high state. The IO definition refer to Get IO in previous page.
Version 2.3.00 Scan Neighbor Table Scan Neighbor Table Command Code 0xBC Description This command is used to search the module who can communicate with the local module in no jump state. This command let the source module get the neighbor module’s address and Rssi value,then send the Neighbor table to the serial port.And both the overtime of waiting for neighbor ack and the time of the right data response will be 10 second. Command Parameters N/A Response Address 0 2Byte; Rssi 1Byte; 0 .... .....
Version 2.3.00 5.The response data obey the same header with the other data format.The third byte and the fourth byte means the local node id .The fifth byte means payload length.The sixth byte means command node,if the fifth byte is “FF” means error. Follow the sixth byte is the neighbor module’s address and Rssi value.The last byte is xor. Response Data Example: 1.
Version 2.3.00 Get Tag neighbor Table Retrieve TagNeighbor Table entries Command Code 0xAB Description This command retrieves the entire TagNeighbor table entries. Each TagNeighbor Table entry consists of the following information: When S236=0 the fixed node support 85 tag information at most.
Version 2.3.00 When you use this command you can get a half of the tag table, so if you want to get all , you should use this command twice. Command Parameters N/A Response TagNeighbor entry 0 See above for field definition … … TagNeighbor entry * See above for field definition IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 Get Module Type Get the IP-Link122X’s module type Command Code 0xC3 Description This command is used to get the IP-Link 122X’s module type.The module type index table is shown as below: 1220-2033 0x02 1220-2133 0x03 1221-2033 0x04 1221-2133 0x05 1221-2034 0x06 1221-2134 0x07 1222 0x08 1223-5034 0x09 1223-5264 0x0A 1221-2164 0x0B 1221-2264 0x0C 1221-UART1 0x0D Command Parameters N/A Response Module Type Index IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 7.4 7.4.1 Helicomm application mode synopsis Tag mode application This mode is mainly used for the position function. Give S230 a nonzero value this module can work in tag mode. For example, when S230=10 the module will send a landing kit every 10*100ms=1S, the landing kit contains the sampling values of tag node’s ADC0.1, this value have 16 bits, 2 bytes. The ADC value of 1220 is 12 bits, 1221 is 10 bits, so the two highest bits of the sampling values separately show the IO states of P3.
Version 2.3.00 500ms the module will turn off sleep, but the function of IO remains. And if you remain to turn P3.2 down more than 500ms again or restart the module, the module will work in sleep IO mode again. The specific format of alarm packet and security packet is as follows: DI Danger Show that the DI status is abnormal Command Code 0x3B Description: This command is not sent by users but by IP-Link 122X itself. Refer to 7.4.2 Digital IO mode application.
Version 2.3.00 Description This command is not sent by users but sent by IP-Link 122X itself.
Version 2.3.00 7.4.3 7.4.3.1 Local awakened sleep Enter into sleep mode Awake the sleep mode from some local interrupts Command Code 0xB1 Description This command makes the module enter low-power sleep mode, if we want to awake the module from the sleep mode to normal work mode, can use some local operations. At present, can send a packet data from serial ports to awake the module. Command Parameters Awake origin 0: serial port awake 1~255:reserved Response Command Confirmation 7.4.3.
Version 2.3.00 8 Some additive commands and settings of module 8.1 The parity check of serial ports Users can set up the parity check function of serial ports by setting S103. When S103 is not 0, the serial ports work in the parity check corresponding mode. If S103=1,they work in odd mode; If S103=2, they work in even mode. 8.2 The flow control of serial ports In order to improve the corresponding quality of the module, we add the flow control in serial ports.
Version 2.3.00 9 Code of PC obtain the module’s firmware version information ... // Open com port DCB dcb = {0}; HANDLE hCOM = CreateFile(_T("COM1"), GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, NULL); // Set baud rate dcb.DCBlength = sizeof(DCB); dcb.BaudRate = 38400; dcb.ByteSize = 8; dcb.StopBits = ONESTOPBIT; dcb.Parity = NOPARITY; SetCommState(hCOM, &dcb); ... BYTE btBuf[256]; int i = 0; int nXOR = 0; DWORD dwLen = 0; IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 static int nSN; // Build packet nSN++; btBuf[0] = 0X80 + (0X0F & nSN); // Packet head. 。 btBuf[1] = 0X00; // LQI btBuf[2] = 0X00; // High 8 bits of destination address btBuf[3] = 0X01; // Low 8 bits of destination address btBuf[4] = 0X01; // Payload length btBuf[5] = 0X8C; // Payload. Obtain firmware version command // Compute XOR bit by bit for (i = 0, nXOR = 0; i < 6; i++) { nXOR ^= btBuf[i]; } btBuf[6] = nXOR; // XOR bit by bit ...
Version 2.3.00 ZeroMemory(btBuf, sizeof(btBuf)); // Receive Packet ReadFile(hCOM, btBuf, 10, &dwLen, NULL); // Check length if (dwLen != (btBuf[4] + 6)) { ... } // Compute XOR bit by bit for (i = 0, nXOR = 0; i < dwLen; i++) { nXOR ^= btBuf[i]; } // Chenk parity if (0 != nXOR) { ... } // Check packet head if (0XC0 != (btBuf[0] & 0XF0)) IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 { ... } // Check command code if (0XFF == btBuf[5]) { ... } ... // btBuf[6] is main version // btBuf[7] is subsidiary version // btBuf[8] is revised version IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.
Version 2.3.00 11 Mechanical Specification 11.1 IP-Link 122X-2034 Dimensions IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.2 IP-Link 122X-2134 Dimensions IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.3 IP-Link 122X-2164 Dimensions IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.4 IP-Link 122X-2264 Dimensions IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.5 IP-Link 122X-2034 PAD 122X-2034 Foot Print IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.6 IP-Link 122X-21XX/22XX PAD 122X-21XX/22XXPA Foot Print IP-Link 122X User Manual Helicomm, Inc.
Version 2.3.00 11.7 Re-flow Temperature Specifications Recommended soldering profile is according to IPC/JEDEC J-STD-020B. Maximum Re-flow Temperature 11.8 Ideal (ºC) 215 Maximum (ºC) 230 Solder Paste Recommendations Recommended soldering profile is according to IPC/JEDEC J-STD-020B. Johnson Alloy #806 IP-Link 122X User Manual Alloy Solidus Liquidus Composition (ºC) (ºC) In/48Sn (e) 118 118 Helicomm, Inc.
Version 2.3.00 12 Ordering Information You can contact Helicomm and our resellers for additional modules or develop kit to grow your network. Please specify Product Part Number: IP-Link 122X-2034 or IP-Link 122X-2134(2X64). A six-node IP-Link 122X-2134 Development Kit with USB connector, demo sensors, and network management tool can be purchased to jump-start your first experiences with Helicomm's networking technologies. To order the Development Kit, Please specify Product Part Number: EZDK 1220PA.
Version 2.3.00 13 Index A AT Mode................................................................................................................................................................................ 47, 48 D Development Kit Part Number ............................................................................................................................................................................ 84 I IP-Link 1000 AT Command Mode......................................................