#3206: Add openrrcp package
----------------------------------------+------------------------
Reporter: Andrew Nording <andrew@…> | Owner: developers
Type: enhancement | Status: reopened
Priority: low | Milestone:
Component: packages | Version:
Resolution: | Keywords:
----------------------------------------+------------------------
Comment (by anonymous):
Ok.
I;ve managed to fix the query frame decoding by switching the places of
rrcp_opcode and rrcp_isreply in rrcp_packet.h :
Before
{{{
struct rrcp_packet_t{
....
uint8_t rrcp_opcode:7; /* 0x00 = hello, 0x01 = get, 0x02 =
set */
uint8_t rrcp_isreply:1; /* 0 = request to switch, 1 = reply
from switch */
....
};
struct rrcp_helloreply_packet_t
{
....
uint8_t rrcp_opcode:7; /* 0x00 = hello, 0x01 = get, 0x02 =
set */
uint8_t rrcp_isreply:1; /* 0 = request to switch, 1 = reply
from switch */
....
};
}}}
After
{{{
struct rrcp_packet_t{
....
uint8_t rrcp_isreply:1; /* 0 = request to switch, 1 = reply
from switch */
uint8_t rrcp_opcode:7; /* 0x00 = hello, 0x01 = get, 0x02 =
set */
....
};
struct rrcp_helloreply_packet_t
{
....
uint8_t rrcp_isreply:1; /* 0 = request to switch, 1 = reply
from switch */
uint8_t rrcp_opcode:7; /* 0x00 = hello, 0x01 = get, 0x02 =
set */
....
};
}}}
However I've another problem. It is related with the proper reading of the
registers of the switch. I guess they're red properly, but just cannot be
decoded right.
Any help here?
--
Ticket URL: <https://dev.openwrt.org/ticket/3206#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets