CLI User Guide COORDINATOR / ROUTER User Manual Rev6 All rights reserved by Allynk Technology Co. Ltd. Coordinator / Router User Manual Table of contents 1 Specifications ..................................................................................................... 2 1.1 Coordinator Specifications ......................................................................................................... 2 1.2 Router Specifications .................................................................................................................. 3 1.3 FCC Requirement ....................................................................................................................... 5 2 Configure Coordinator ....................................................................................... 6 2.1 Connect to Coordinator .............................................................................................................. 6 2.2 Configure Coordinator IP ............................................................................................................ 8 2.3 Configure Daemon Port ............................................................................................................ 12 2.4 Configure Time Zone ................................................................................................................ 13 2.5 Configure NTP Server .............................................................................................................. 14 2.6 Concentrator IP & Port ............................................................................................................. 15 2.7 Adjust User Account ................................................................................................................. 16 3 Install Coordinator and Router ........................................................................ 19 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4 Use Coordinator to do site evaluation ............................................................ 20 4.1 Connect to Coordinator ............................................................................................................ 21 4.2 PAN control .............................................................................................................................. 22 Check PAN information ................................................................................... 22 Start PAN ........................................................................................................ 23 Stop PAN ........................................................................................................ 25 Awake devices within the PAN ....................................................................... 26 Expel devices from the PAN ........................................................................... 26 4.3 Device control ........................................................................................................................... 27 Check device information ................................................................................ 27 Ping device(s) ................................................................................................. 31 Send image or command to device ................................................................ 33 4.4 Reconnect ................................................................................................................................ 38 4.3.1 4.3.2 4.3.3 All rights reserved by Allynk Technology Co. Ltd. Page 1 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Coordinator / Router User Manual 1 Specifications 1.1 Coordinator Specifications Model Name Dimensions Weight Transmission Range Connectivity Power Supply Operating Temperature LED Security CAG-0100 190g 160 * 160 * 33 mm
~ 30m indoors MicroUSB: 5V/1A
-10~50 10/100 Mbps Ethernet Sub-1G wireless POE Green / Blue / Red Authentication AES128 encryption and dynamic key exchange LED Status Indicator All Off Green On Blue Blinks Blue On Red On Power off or OS is not running Software is not yet running. Software is running but connection with Concentrator is not yet established. Everything is working properly. Sub-G RF error All rights reserved by Allynk Technology Co. Ltd. Page 2 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 LED MicroUSB 10/100M EthernetEthernet MACSub-G MAC Coordinator / Router User Manual 1.2 Router Specifications Model Name Dimensions Weight Transmission Range Connectivity Power Supply Operating Temperature LED Security 160 * 160 * 33 mm CAP-0100 180g
~ 30m indoors Sub-1G wireless MicroUSB: 5V/1A
-10~50 POE (*) Green / Blue / Red Authentication AES128 encryption and dynamic key exchange LED Status Indicator All Off Power off All rights reserved by Allynk Technology Co. Ltd. Page 3 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 All offPower On (1~4 sec)Only Green OnOnly Blue OnOnly Blue BlinksCoordinator ReadyOnly Red OnConnect to ConcentratorSub-G RF errorSub-G RF errorDisconnect from ConcentratorUser only sees Green LED on means Coordinator software might encounter some problems.Router only uses POE as a power input. All LEDs on RJ45 will be off. Coordinator / Router User Manual Green On Blue On Blue Blinks Red On Router is in Standby state Router is in Connected state Router is in JoinNewPan or JoinOtherPan state Software error All rights reserved by Allynk Technology Co. Ltd. Page 4 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 LED MicroUSBPOE as power input source and no data is carried.LEDs on RJ45 connector are off all the time. Sub-G MACAll off1~4 secGreen OnBlue OnConnected StateBlue OnJoinNewPan StateJoinOtherPan StateRed OnSW ErrorSW ErrorSW Error Coordinator / Router User Manual 1.3 FCC Requirement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modifications not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. 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 instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this 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 one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. RF Exposure Information This device has been tested and meets applicable limits for Radio Frequency (RF) exposure. This equipment should be installed and operated with minimum distance 20 cm between the radiator & your body. All rights reserved by Allynk Technology Co. Ltd. Page 5 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Coordinator / Router User Manual 2 Configure Coordinator Please download coordctl.zip from :
Github: (Must have github account first) https://github.com/AllynkTechnology/coordctl/releases/latest Unzip coordctl.zip to your forder OS supported :
Linux platform : coordctl_cust Windows platform : coordctl_cust.exe Execute configuration tool (Take windows platform for example) 1. Run cmd.exe 2. Enter the folder you unzip coordctl.zip 3. Execute coordctl_cust.exe When you see the output as the figure below the configuration tool is ready. 2.1 Connect to Coordinator All rights reserved by Allynk Technology Co. Ltd. Page 6 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Router is a zero configuration device. coordctl_cust.exe -config Coordinator / Router User Manual 1. Setup the environment Put coordinator to the same local network area (LAN) with your PC 2. Read Coordinators hostname 3. Execute configuration tool and use hostname to connect your coordinator All rights reserved by Allynk Technology Co. Ltd. Page 7 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Ethernet SwitchLaptop to run configuration toolCoordinatorCoordinator will need microusb to supply power if not using POE switchStep2: Coordinators hostname = SMAC(Example) SMAC: C00000000050, Coordinator hostname: C00000000050Step1: Check the sticker on the bottom of Coordinator Coordinator / Router User Manual 2.2 Configure Coordinator IP All rights reserved by Allynk Technology Co. Ltd. Page 8 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 C00000000050netlasnetlasUsername: netlas (User cannot modify)Default Password: netlas (User can modify)1Coordinator ip settings Coordinator / Router User Manual DCHP fallback IP vs Static IP IP Setting Contents:
IP Address
- Subnet Mask
- Domain Name Server Address
- Router (Gateway) Address 2. Current IP All rights reserved by Allynk Technology Co. Ltd. Page 9 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Fallback IP settings are only effective when DHCP server is not available DHCP Fallback IPEthernet Switch with DHCP enabledEthernet Switch with DHCP disabled IP: Dispatched by DHCP server DNS: Dispatched by DHCP server Gateway: Dispatched by DHCP server IP: User configured DNS: User configured Gateway: User configured Static IPEthernet Switch (with or without DHCP) IP: User configured DNS: User configured Gateway: User configured Coordinator / Router User Manual 3. Modify IP All rights reserved by Allynk Technology Co. Ltd. Page 10 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 yn DHCP Fallback IPyy Static IP Coordinator / Router User Manual Apply new IP settings to coordinator All rights reserved by Allynk Technology Co. Ltd. Page 11 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205
<New IP><New Subnet><New DNS><Gateway> Coordinator / Router User Manual 2.3 Configure Daemon Port 1. Current Daemon port 2. Modify Daemon Port All rights reserved by Allynk Technology Co. Ltd. Page 12 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 2Daemon Port SettingsDaemon port is the TCP port for program running within Coordinator to communicate with Concentrator programy<New Port> Coordinator / Router User Manual 2.4 Configure Time Zone 1. Current time information 2. Modify time zone All rights reserved by Allynk Technology Co. Ltd. Page 13 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 3Time Settings TimeZone parameter should follow the format of TZ database name (ex: Asia/Taipei Asia/TokyoAmerica/New_York..) y<New TimeZone> Coordinator / Router User Manual 2.5 Configure NTP Server 1. Current NTP Server 2. Modify NTP server All rights reserved by Allynk Technology Co. Ltd. Page 14 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 4NTP SettingsNTP server help eliminate time drift between coordinator and Concentrator program Coordinator / Router User Manual 2.6 Concentrator IP & Port 1. Current Concentrator IP & port settings 2. Modify Concentrator IP & port All rights reserved by Allynk Technology Co. Ltd. Page 15 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 y<New Time server>5Concentrator IP SettingsSet Concentrator IP to Coordinator will help user to add coordinator to Concentrator program reversely Coordinator / Router User Manual 2.7 Adjust User Account All rights reserved by Allynk Technology Co. Ltd. Page 16 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 y<New Concentrator IP><New Concentrator Port>y6User account SettingsUser list only shows users other than Default userCoordinator cannot be configured once user forgets all accounts password. Coordinator / Router User Manual 1. Modify current login users password 2. Add new account(s) All rights reserved by Allynk Technology Co. Ltd. Page 17 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 y<Current Password><New Password>y<New Password again>In addition to default account, User can add up to 2 new accounts<retype password>yy: add another / n: quity<new username><new password> Coordinator / Router User Manual 3. Delete existing account(s) All rights reserved by Allynk Technology Co. Ltd. Page 18 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Default user cannot be deletedy<username to delete>yy: delete another / n: quit Coordinator / Router User Manual 3 Install Coordinator and Router All rights reserved by Allynk Technology Co. Ltd. Page 19 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Screw the attachment on the ceiling. Plug in the Ethernet cable Put coordinator or router on the top of attachment, and rotate in the clockwise direction. Coordinator / Router User Manual 4 Use Coordinator to do site evaluation Control you devices via coordctl tool or Concentrator ?
Purpose Concentrator Full commercial operation Functions Target Control panel All functions are available Multiple coordinators Customized client is needed. Control devices directly control mode in coordctl tool Simple operation for environment evaluation
(Not recommended for commercial use) Only necessary functions are available One coordinator All rights reserved by Allynk Technology Co. Ltd. Page 20 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Coordinator is ready to connect to Concentrator when Blue LED is blinking. Next, Coordinator should be added and enabled in Concentrator program . Please refer to Concentrator documents for more informationRouter is ready when Green LED is on.Next, Router should be added to Sub-G network for further usage. Please refer to Concentrator documents for more information Coordinator / Router User Manual Execute configuration tool (Take windows platform for example) 1. Run cmd.exe 2. Enter the folder you unzip coordctl.zip 3. Execute coordctl_cust.exe When you see the output as the figure below the configuration tool is ready. 4.1 Connect to Coordinator For setting up the connection between Coordinator and your PC, please refer to section 2.1 Connect to Coordinator Execute configuration tool and use hostname to connect your coordinator All rights reserved by Allynk Technology Co. Ltd. Page 21 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 coordctl_cust.exe -control Coordinator / Router User Manual 4.2 PAN control 4.2.1 Check PAN information All rights reserved by Allynk Technology Co. Ltd. Page 22 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 C00000000050netlasnetlasUsername: netlas (User cannot modify)Default Password: netlas (User can modify)PAN is the network controlled by Coordinator1 Coordinator / Router User Manual Field
[PanID]
[Enabled]
Descriptions Unique ID for this PAN The radio frequency this PAN is using. Transmission power (Unit: dbm) true: PAN is on. (Can be stopped by Stop PAN) false: PAN is off. (Can be started by Start PAN)
[Channel]
[Power]
[BeaconInterval] The frequency of batch processing.
[Awake]
true: PAN is awakening device. false: PAN is not awakening device. 4.2.2 Start PAN List channel All rights reserved by Allynk Technology Co. Ltd. Page 23 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 1Procedures: (1) List Channel (2) Scan channel (3) Start pan1 Coordinator / Router User Manual Scan channel Return value: true: This channel is available. Return value:<Blank>: This channel is occupied. Start pan All rights reserved by Allynk Technology Co. Ltd. Page 24 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205
[Channel number] Physical radio frequency Scan channel can only be executed when PAN enabled = false2<start channel number><end channel number> Coordinator / Router User Manual Return value: true: PAN has been started successfully Return value: false: Error happened during starting PAN. 4.2.3 Stop PAN Return value: true: PAN has been stopped successfully Return value: false: Error happened during stopping PAN. All rights reserved by Allynk Technology Co. Ltd. Page 25 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 3<channel num><tx power>Tx Power should be lower than 8 when coordinator is used in Japan3 Coordinator / Router User Manual 4.2.4 Awake devices within the PAN Start Awakening Stop Awakening 4.2.5 Expel devices from the PAN Before executing this operation, user should know the difference between activated and non-activated devices. All rights reserved by Allynk Technology Co. Ltd. Page 26 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 41<Awake time>2 Coordinator / Router User Manual Activated device Yes Yes Non-activated device No No Device will save PANs information Device will search PANs signal if disconnecting from PAN PAN needs to execute awake PAN to make device connect Device will leave this PAN when user executes Purge PAN operation. No No So, Purge Pan is the operation to ask non-activated device to leave the PAN. Yes Yes The list of purged devices address will be returned when this operation is completed. 4.3 Device control 4.3.1 Check device information All rights reserved by Allynk Technology Co. Ltd. Page 27 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 521 Coordinator / Router User Manual List the specific devices information Field C0000200045B
[END_DEVICE]
[Activated]
[Time]
[Type]
[Status]
[RSSI]
[Voltage]
[FirmwareVersion]
[ScanInterval1]
[ScanInterval2]
true: Activated false: Non-activated Descriptions Devices extended address Device type See Activated vs Non-activated for more information. Last operation time. Last operation type. Ex: PING Last operation status. Received signal strength. -30~-85 (dbm). Bigger number represents better signal strength. (Ex: -30 is better than -40) Battery voltage. Devices firmware version Devices long sleep time (second) Devices short sleep time (second) All rights reserved by Allynk Technology Co. Ltd. Page 28 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 1<Device MAC> Press Enter to leave without changing current valueTarget Device will be kept until user modifies it again. So this step can be skipped if user wants to list the same device2 Coordinator / Router User Manual
[ScanIteration]
[UserDefinedBehavior]
The number of Short Sleep repeated in the Short Sleep Period Image action when devices state changes Sleep time and Sleep Period UserDefinedBehavior List all devices information (Sorted by device address) All rights reserved by Allynk Technology Co. Ltd. Page 29 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Listen periodScanInterval2 (Seconds) Listen periodScanIteration is to define the number of Short Sleep will be performed. After Short Sleep period ends, ESL tag will start Long Sleep period.Long Sleep PeriodScanInterval1 (seconds)ScanInterval2 (Seconds)Short SleepListen periodShortSleepListen periodShort SleepListen periodLong SleepScanIteration roundsShort Sleep PeriodJoinNewPan stateBit0-3Bit4-7Standby stateBit0-3Bit4-7Connected stateBit0-3Bit4-7Disconnected stateBit0-3Bit4-7JoinOtherPan stateBit0-3Bit4-7LowBattery stateBit0-3Bit4-7 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: State F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No DelayUser-defined Behavior = 0x050423091E0E 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: State F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No Delay 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: State F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No Delay 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: State F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No Delay 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: State F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No Delay 0: Do nothing 1: Lot0 Image 2: Lot1 Image 3: Lot2 Image 4: Lot3 Image 5: Lot4 Image 6: Lot5 Image 7: Lot6 Image 8: Lot7 Image 9: Lot8 Image A: Lot9 Image B: Invalid C: Invalid D: Invalid E: FW version F: Do nothing 0: No Delay 1: Delay 10m 2: Delay 20m 3: Delay 30m 4: Delay 40m 5: Delay 50m 6: Delay 60m 7: Delay 90m 8: Delay 120m 9: Delay 150m A: Delay 180m B: Delay 240m C: Delay 300m D: Delay 360m E: Invalid F: No Delay50403290E1E0Show Lot4 image, No delayShow Lot3 image, No delayDelay 20 mins then show Lot2 imageShow Lot8 image, No delayDelay 10 mins then show StateShow Firmware version, No delayExecution Result when ESL state changesAbout ESL states, please see ESL technical guide for more details Coordinator / Router User Manual List all devices information (Sorted by devices RSSI) List all devices information (Sorted by devices battery voltage) All rights reserved by Allynk Technology Co. Ltd. Page 30 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 34 Coordinator / Router User Manual 4.3.2 Ping device(s) Ping single device All rights reserved by Allynk Technology Co. Ltd. Page 31 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 52 Coordinator / Router User Manual Field C0000200045B
[END_DEVICE]
[Activated]
[Time]
[Status]
[Type]
[RSSI]
[Voltage]
[FirmwareVersion]
[ScanInterval1]
[ScanInterval2]
[ScanIteration]
[UserDefinedBehavior]
true: Activated false: Non-activated Descriptions Devices extended address Device type See Activated vs Non-activated for more information. Last operation time Last operation status. Last operation type. Ex: PING Received signal strength. -30~-85 (dbm). Bigger number represents better signal strength. (Ex: -30 is better than -40) Battery voltage. Devices firmware version Devices long sleep time (second) Devices short sleep time (second) The number of Short Sleep repeated in the Short Sleep Period Image action when devices state changes All rights reserved by Allynk Technology Co. Ltd. Page 32 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 1<Device MAC> Press Enter to leave without changing current valueTarget Device will be kept until user modifies it again. So this step can be skipped if user wants to ping the same device2 Coordinator / Router User Manual The identifier of previous executed operation (ESL will keep the last 4 operations.) The status of previous executed operation. (ESL will keep the last 4 operations.)
[JobId]
[JobStauts]
Ping all devices 4.3.3 Send image or command to device Set parameters Target device: Devices extended address. All rights reserved by Allynk Technology Co. Ltd. Page 33 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 If [Status] is not STATUS_OK, it means ping operation is not completed successfully33 Coordinator / Router User Manual Target file: Image file (Please use image file generated by Allynks tool.) The usage of image header:
All rights reserved by Allynk Technology Co. Ltd. Page 34 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 1<Device MAC> Press Enter to leave without changing current value2<File Path><Header Value> Press Enter to leave without changing current value Press Enter to leave without changing current value Coordinator / Router User Manual Operation:
Prioritized save &
display Descriptions Save and display this image with priority. This image will be displayed with priority when ESL enters JoinNewPan, JoinOtherPan or Connected state. The related actions defined in UserDefinedBehavior will be ignored. Save Only Save and display Save and display this image. Save the given image to indicated lot but not display the image. All rights reserved by Allynk Technology Co. Ltd. Page 35 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 Image DataImage HeaderByte 1Operations:0x0: Prioritized save and display0x1: Save only0x4: Save and displayOther values: invalidByte 2Lot:0x0~0x9: Lot0~Lot9Other values: invalidByte 00x0 (Fixed value) Header = 0x090100Sent from Coordinatorto ESL Received IMG (Save to Lot9)Save to Lot9 but not displayImage DataImage HeaderSent from CoordinatorByte 1Operations:0x0: (Prioritized save and display)Byte 2Lot:0x2: Lot2Byte 00x0(Fixed value)to ESL Received IMG (Save to Lot2)In JoinNewPan, Connected or JoinOtherPan stateIn other statesRestore to IMG in Lot2In JoinNewPan, Connected or JoinOtherPan state IMG defined in UserDefinedBehavior State changesState changesEx: header=0x020000 Byte2 = 0x2 (Store received image to Lot2) Byte1 = 0x0 (Apply operation Prioritized save & display) Byte0 = 0x0 (Always 0x0)About header, please see ESL technical guide for more details Coordinator / Router User Manual Target command: Command contents Available command:
Command activate config -inv1 <sec> -inv2 <sec> -iter <num> -epd <action>
( inv1 / inv2 / iter / epd parameters are optional, user can use all of them or one of them) Descriptions Activate device Modify ESLs configurations deactivate imgshow -current imgshow -index <0~9>
ledon ledoff ledblink -on <ms> -off <ms> -interval <sec>
( on / off / interval parameters are all needed) inv1: ScanInterval1. ESL long sleep time
(0~65534 sec) inv2: ScanInterval2. ESL short sleep time
(0~254 sec) iter: ScanIteration. ESL short sleep rounds
(0~254 rounds) epd: UserDefinedBehavior. Control image display when ESLs state changes. Deactivate device Refresh current image Fetch previously stored image. Ex: imgshow -index 1
(Fetch image from slot 1) Turn on LED Turn off LED Specify how to blink the LED on: time (millisecond) to keep LED on
(Must be multiply of 250, ex: 250/500/750..) off: time (millisecond) to keep LED off
(Must be multiply of 250, ex: 250/500/750..) interval: time (second) for whole operation
(1~256) Ex: ledblink -on 250 -off 500 -interval 20 All rights reserved by Allynk Technology Co. Ltd. Page 36 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 3<command contents> Coordinator / Router User Manual Send image Send command All rights reserved by Allynk Technology Co. Ltd. Page 37 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 OFFONOFFONOFFON500ms500ms500ms20 seconds(1) Check if target device is correct. Modify it if not correct.(2) Check if target file is correct. Modify it if not correct.(3) Send image4(1) Check if target device is correct. Modify it if not correct.(2) Check if target command is correct. Modify it if not correct.(3) Send command 4.4 Reconnect Coordinator / Router User Manual All rights reserved by Allynk Technology Co. Ltd. Page 38 of 38 8F., No.20, Chenggong 13th St. Zhubei City, Hsinchu County 30264, Taiwan allynk.com contact@allynk.com +886-3-6577205 5Reconnect can check and repair TCP/IP connection when it is broken in the middle of operation.3