I've one RTL8316CP pseudo-smart switch.
Calling it "pseudo", because it could be configured via RRCP (Realtek Remote Control Protocol). This protocol is broadcast one.
The device is understanding VLAN/Tagging and has some control over ethernet ports.
However I am not able to control it with openrrcp package compiled for MIPS.
I've a device which is x86 and running OpenWRT Barrier Breaker r42625
The command is as follows:
rtl83xx eth0 scan
Here's the frame sent from it and the switch responds correctly:
destination source Protocol Type Data
ffffffffffff 090027e10025 8899 02 0000000000000000000000000000000000
The whole frame is as follows:
ffffffffffff080027e100258899020000000000000000000000000000000000
However when I tried with my MIPS device: TL-WR1043ND running the same version of OpenWRT with the same command:
rtl83xx eth1 scan
Eth1 is the internal Switch interface on my setup it is not bridged with the wifi
I've got this frame:
Dest Src Protocol Type ????? Cookie
ffffffffffff 10feede9461e 8899 02 00000000037fa80890 76f8dc8000000025
Data
00000000000000000000000000000000000000000000000000000000
And the whole frame is as follows:
ffffffffffff0feede9461e88990200000000037fa8089076f8dc800000002500000000000000000000000000000000000000000000000000000000
This frame is not recognized by my smart-switch. It is larger and is omitted by the device.
I decided to execute the same command but using an usb lan adapter. The result was the same. The frame was almost the same.
I am almost certain that the problem is not with the rtl83xx program itself, it is with this cookie part and the one marked with "?????".
How can I run this OpenRRCP on MIPS?
Should I post a ticket on the dev.openwrt.org for openrrcp?
I am not certain where exactly is the problem.