Rob, thanks..(I think!)
First, thanks for the DokuWiki username etc. (but was there a reason for spelling my name with a "e" and not "a" ?) I will wait for a reply before logging in in case you can change my wiki doku username to dagnall53 (thanks..)
RCP. I assume you mean "RCP" = Rocrail Client Protocol.
I have not managed to understand RCP. and thought it was more for web based things. but from your RCP lists, I see Command 30.9.1 lc "fieldcmd" is for rocmouse and saw the same command in the Rocnet lists, so assumed I could send the Rocmouse fieldcmd command over MQQT and rocnet.
Just for clarity, I want to build a throttle that uses MQQT, not the web. Are you saying this is impossible??
I see you have the following definitions in rocnet-const.h
Code: Select all
/* mobile group actions */
#define RN_MOBILE_SETUP 1
#define RN_MOBILE_VELOCITY 2
#define RN_MOBILE_FUNCTIONS 3
#define RN_MOBILE_QUERY 4
#define RN_MOBILE_ROCMOUSE 5
#define RN_MOBILE_ROCMOUSE_BIND 6
#define RN_MOBILE_ACK 7
Are the actions "Mobile_Rocmouse" and "mobile romouse bind" not implemented?
(I see 5 = fieldcmd in the Rocnet descriptions, same as in the RCP descriptions.. so presumably this message can be sent over Rocnet and something is expected to happen..
Code: Select all
code description data 1 data 2 data 3 data 4 data 5 data 6 data 7 data 1 data 2 data 3 data 4
0 NOP 0
1 setup protocol number of functions
2 velocity 0…127 direction lights mass steps
3 function F1-F8 F9-F16 F17-F24 changed function F25-F32
4 query code sub-code code sub-code response depends on code
5 fieldcmd base address V_raw dirf fg 0+1 fg 2+3 fg 4+5 fg 6+7
Thanks for your patience!.