-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
Support for the RL7023 Stick-D/DSS already exists. However, RL7023 Stick-D/IPS is another product by Tessera Technology that has similar features. It is incredibly close to the same features except for some small changes to the serial commands sent to the device.
Differences
SKSCAN
SKSCAN only takes 3 parameters
SKSCAN +
<MODE>+
<CHANNEL_MASK>+
<DURATION><CRLF>
<MODE> is the same: 2:アクティブスキャン(IEあり)
<CHANNEL_MASK> is the same: スキャンするチャンネルをビットマップフラグで指定します。最下位ビットがチャンネル 33に対応します。
<DURATION> is the same: 各チャンネルのスキャン時間を指定します。スキャン時間は以下の式で計算されます。
There is no fourth parameter for <side>.
SKSENDTO
SKSENDTO does not define a side.
SKSENDTO+
<HANDLE>+
<IPADDR>+
<PORT>+
<SEC> +
<DATALEN>+
<DATA>
正しい例:
SKSENDTO 1 2001:BEEF:0000:0000:0000:00FF:FE00:0003 0E1A 1 0005 01234
("01234"は画面にエコーバックされません)
Proposed changes
- We need a programmatic way to determine if the Stick-D is DSS or IPS. We can guess based on the results of
SKSCAN. If it fails, we can retry with only 3 parameters SkInfoResponse.decode(),SkEventRxUdp.decode(),SkScanResponse.decode(), andSkSendToResponse.decode()needs to handle errors ifsidedoes not exist
What do you think of this approach? I can create a PR within the next few days.
nbtk
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers