/      日本語

Interactive Mode (Remote Control App)

Configuration changes via Interactive Mode
You can perform detailed settings of the app via Interactive Mode.

This section explains features specific to the Remote Control App (App_IO). For common features, please refer to the TWELITE APPS Manual Top Page.

Display Example

The screen below will be displayed.

--- CONFIG/APP_IO V1-03-2/SID=0x86300001/LID=0x00 ---
 a: set Application ID (0x67720107)
 i: set Device ID (--)
 c: set Channels (16)
 x: set Tx Power (3)
 t: set mode4 sleep dur (1000ms)
 y: set mode7 sleep dur (0s)
 f: set mode3 fps (16)
 d: set hold mask (000000000000)
 D: set hold dur (1000ms)
 o: set Option Bits (0x00000000)
 b: set UART baud (38400)
 p: set UART parity (N)
 C: set crypt mode (0)
 K: set crypt key []
---
 S: save Configuration
 R: reset to Defaults

Commands

CommandSetting ItemDefaultNotes
aApplication ID0x6772010732bit
iLogical Device ID120Parent 121, Child 1-100, ID-less Child 120, Unset 0
cFrequency Channel1611-26
xRetry Count and Transmission Output3
Retry Count01-9 times, 0 default: 2 times
Transmission Output30-3
tChild Device Intermittent 1-Second Mode Interval1000100-64000 ms
yChild Device Intermittent 10-Second Mode Interval02-10000 s, Disabled 0
fChild Device Continuous 0.03-Second Mode Cycle324/8/16/32 times per second
dHold/Long Press Mode Targets000000000000From right I1-I2, Enabled 1
DHold/Long Press Mode Duration100020-64000 ms
oOption Bits0x00000000Other detailed settings
bUART Alternative Baud Rate38400Enabled by BPS pin
pUART ParityNStop bit fixed to 1
CEncryption0Disabled 0, AES128bit 1
KEncryption Key-Up to 16 characters

Details for each command are as follows.

a: Application ID

All devices communicating should have the same value. This logically separates networks.

i: Logical Device ID

Set this when it is necessary to distinguish multiple child devices.

If distinction is not necessary or not possible, set to 120. If distinction is necessary, child devices should be any value from 1 to 100, and parent device should be 0 or 121.

c: Frequency Channel

All devices communicating should have the same value. This physically separates networks.

x: Transmission Output and Retry Count

Specify the radio transmission output and the number of additional packet transmissions in transparent mode and header-attached transparent mode.

t: Child Device Intermittent 1-Second Mode Interval

Overwrite the intermittent interval of the child device intermittent 1-second mode from 1 second to another value. Unit is milliseconds.

If 0 is set, periodic wake-up by timer is disabled. In this case, the device wakes up on the falling edge of Ix, but not on the rising edge.

y: Child Device Intermittent 10-Second Mode Interval

Overwrite the intermittent interval of the child device intermittent 10-second mode from 10 seconds to another value. Unit is seconds.

If 0 is set, periodic wake-up by timer is disabled. In this case, the device wakes up on the falling edge of Ix, but not on the rising edge.

f: Child Device Continuous 0.03-Second Mode Cycle

Overwrite the number of transmission requests per second from 32 times to 4/8/16 times. Retry count is not included.

d: Hold/Long Press Mode Targets

By default, select ports targeted by hold mode, and when Option Bit 0x00000100 is enabled, select ports targeted by remote control long press mode.

Specify the bitmask of Ix or Ox ports to target. The value consists of up to 12 characters of 0 or 1. From LSB, the order is I1 I2I12.

For example, specifying 000000001010 applies hold mode to I2 and I4. If any pin is targeted, ports not targeted output a 50ms pulse.

Hold Mode

In hold mode, targeted ports behave as follows:

Input (Transmission) side: Ix
  • After all inputs return from Lo to Hi, continuous transmission occurs for the configured duration (to release hold).
Output (Reception) side: Ox
  • For received inputs that are Lo, output holds Lo for the configured duration.
  • If during hold of any output, another Lo signal is received, the hold duration is extended.

Remote Control Long Press Mode

In remote control long press mode, targeted ports behave as follows:

Input (Transmission) side: Ix
  • Continuous transmission while any input is Lo.
  • After all inputs return from Lo to Hi, continuous transmission occurs for the configured duration.
Output (Reception) side: Ox
  • After packets with any input Lo are interrupted, outputs return Hi after the configured duration.

D: Hold/Long Press Mode Duration

By default, specify hold mode duration; when Option Bit 0x00000100 is enabled, specify hold duration or transmission interval for remote control long press mode.

Specify a value between 20 and 64000 ms.

Hold Mode

For hold mode, the configured duration applies as follows:

Input (Transmission) side: Ix

In continuous mode, the duration of continuous transmission after all inputs return from Lo to Hi.

In intermittent mode, the transmission interval while any input is Lo.

Output (Reception) side: Ox

The duration to maintain output.

Remote Control Long Press Mode

For remote control long press mode, the configured duration applies as follows:

Input (Transmission) side: Ix

The duration of continuous transmission after all inputs return from Lo to Hi.

Output (Reception) side: Ox

The time from interruption of packets with any input Lo until all outputs return to Hi.

o: Option Bits

Specify a 32bit number. Enable settings associated with each bit.

Bit MaskSetting ItemDefaultTransmitReceiveContinuousIntermittent
0x00000001Low Latency Mode0️⃣
0x00000002Low Latency Mode (Sleep Interrupt)0️⃣
0x00000010Enable Transmission with ACK0️⃣
0x00000020Disable Periodic Transmission0️⃣
0x00000100Enable Remote Control Long Press Mode0️⃣
0x00000200Disable C1/C2 Channel Switching0️⃣
0x00000400Invert Ix Input0️⃣
0x00000800Disable Internal Pull-up of Ix0️⃣
0x00001000Child: 8 Input 4 Output / Parent: 8 Output 4 Input0️⃣
0x00002000Child: 6 Input 6 Output / Parent: 6 Output 6 Input0️⃣
0x00003000Child: 0 Input 12 Output / Parent: 0 Output 12 Input0️⃣
0x00010000Force Enable Reception on Child0️⃣
0x00020000Stop UART Output on IO Change0️⃣
0x00040000Enable Watchdog Output on C20️⃣
0x00400000Invert Output on Ox0️⃣

b: UART Alternative Baud Rate

Overwrite the alternative baud rate selected when starting with the BPS pin connected to GND from 38400 bps.

Values can be selected from 9600/19200/38400/57600/115200/230400. Other values may cause errors.

p: UART Parity

Set to N (None), O (Odd), or E (Even). Stop bit is fixed to 1, hardware flow control is not supported.

C: Encryption

Specify whether encryption is enabled.

Set 1 to enable AES128bit encryption.

K: Encryption Key

Input the key used for encryption. Specify a 16-character text (binary sequences cannot be specified).

Details of Option Bits

Explanation of settings associated with each bit of the option bits value.

0x00000001: Low Latency Mode

Monitor input status and perform wireless transmission in low latency mode.

Shortens button monitoring time and minimizes transmission delay. In continuous mode, interrupts are used for input judgment but are more susceptible to chattering. In intermittent mode, reduces time to confirm input status.

Only valid for child devices.

0x00000002: Low Latency Mode (Sleep Interrupt)

When waking from sleep due to an interrupt from Ix going from Hi to Lo in intermittent mode, quickly send port information of the interrupt source.

Especially used in child device intermittent 10-second mode when periodic wake-up is disabled, combined with hold mode to detect button presses.

Only valid for child devices.

0x00000010: Enable Transmission with ACK

Enable ACK communication from child to parent. Transmission ends when parent returns ACK.

Not available for multiple parents or all repeaters, but provides efficient communication in stable environments.

In child device intermittent 10-second mode, the BPS pin is set as output pin, so baud rate override on child side is not possible.

0x00000020: Disable Periodic Transmission

Disable periodic transmission every 1 second in child continuous mode.

0x00000100: Enable Remote Control Long Press Mode

Apply remote control long press mode instead of hold mode.

0x00000200: Disable C1/C2 Channel Switching

Disable channel switching by C1/C2 pins.

0x00000400: Invert Ix Input

Send 1 when input is Hi, and 0 when Lo.

0x00000800: Disable Internal Pull-up of Ix

Disable all internal pull-ups (~50kΩ) on Ix.

0x00001000: Child: 8 Input 4 Output / Parent: 8 Output 4 Input

Change I/O port assignment from “Child: 12 Input 0 Output / Parent: 12 Output 0 Input”. Intermittent mode uses intermittent reception.

0x00002000: Child: 6 Input 6 Output / Parent: 6 Output 6 Input

Change I/O port assignment from “Child: 12 Input 0 Output / Parent: 12 Output 0 Input”. Intermittent mode uses intermittent reception.

0x00003000: Child: 0 Input 12 Output / Parent: 0 Output 12 Input

Change I/O port assignment from “Child: 12 Input 0 Output / Parent: 12 Output 0 Input”. Intermittent mode uses intermittent reception.

0x00010000: Force Enable Reception on Child

In continuous mode, force enable reception regardless of output ports.

Allows UART output of data received from other devices.

0x00020000: Stop UART Output on IO Change

Stop message output on input/output changes.

0x00040000: Enable Watchdog Output on C2

Output watchdog signal from C2 port.

Control IO in application loop and output approx. 32Hz square wave.

Used to connect external reset circuit for automatic recovery and force reset the module in case of hang-up.

0x00400000: Invert Output on Ox

Output Lo when received input port status is 0, and Hi when 1.