- Posts: 3333
How to bind several Tx to one model
- vlad_vy
-
Topic Author
- Offline
Less
More
20 Jul 2017 04:18 - 20 Jul 2017 04:18 #63530
by vlad_vy
I placed TXID at very top of hardware.ini
Replied by vlad_vy on topic How to bind several Tx to one model
In the top-section of hardware.ini (above [modules])
I placed TXID at very top of hardware.ini
txid=XXXXXXXX
;Only useful for transmitters with an after-market vibration motor
...
...
Last edit: 20 Jul 2017 04:18 by vlad_vy.
- jejeg
-
- Offline
Less
More
- Posts: 143
20 Jul 2017 20:33 #63534
by jejeg
Replied by jejeg on topic How to bind several Tx to one model
thanks thanks
No problem with the devo 7e but big problem with the 12s, I can no longer pair any receiver and can no longer access the file "hardware ini".
I will do a complete reset because I can no longer delete this file alone ;-(
Has anyone had this problem ??
No problem with the devo 7e but big problem with the 12s, I can no longer pair any receiver and can no longer access the file "hardware ini".
I will do a complete reset because I can no longer delete this file alone ;-(
Has anyone had this problem ??
- magic_marty
-
- Offline
Less
More
- Posts: 706
21 Jul 2017 01:21 - 21 Jul 2017 01:23 #63537
by magic_marty
Replied by magic_marty on topic How to bind several Tx to one model
sometimes on the devo12/12s if you are in usb mode and connected to the computer if you just power off or unplug it will corrupt the hardware.ini file..It's happened to me several times the only way to avoid this from happening is when you are ready to disconnect from the computer right click the drive letter for the devo and select "eject" before you unplug ...Since i have been doing it this way it has not corrupted my hardware file anymore..
Hopefully you made a full backup copy of your files and all you have to do is right click the drive and select "Repair Drive" then replace the hardware file with the one you hopefully have saved as backup...
Hopefully you made a full backup copy of your files and all you have to do is right click the drive and select "Repair Drive" then replace the hardware file with the one you hopefully have saved as backup...
Last edit: 21 Jul 2017 01:23 by magic_marty. Reason: typo
- jejeg
-
- Offline
Less
More
- Posts: 143
24 Jul 2017 20:47 #63579
by jejeg
Replied by jejeg on topic How to bind several Tx to one model
Thanks magic_marty ,It works, but I have to rebind all receivers 
I thought I could share my module of telemetry with all my models of aircraft with the same identifier but it does not work, while with the protocol dsm2 and the telemetry "orange" yes ???
I thought I could share my module of telemetry with all my models of aircraft with the same identifier but it does not work, while with the protocol dsm2 and the telemetry "orange" yes ???
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
25 Jul 2017 03:43 #63583
by vlad_vy
Replied by vlad_vy on topic How to bind several Tx to one model
If you change TXID, you need rebind all your models. You need rebind your telemetry module also. It will work with one model only. If you want to use telemetry module with several models, you need bind all these models and telemetry module with equal Fixed ID.
- jejeg
-
- Offline
Less
More
- Posts: 143
30 Jul 2017 07:37 #63634
by jejeg
Replied by jejeg on topic How to bind several Tx to one model
I can use my telemetry module on all my models using the same identifier. Thanks
Another problem has happened, all the rotary switches do not work anymore !!!
Another problem has happened, all the rotary switches do not work anymore !!!
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
31 Jul 2017 06:32 #63647
by vlad_vy
Replied by vlad_vy on topic How to bind several Tx to one model
Don't forget to calibrate all AUX pots along with sticks.
- jejeg
-
- Offline
Less
More
- Posts: 143
31 Jul 2017 20:01 #63653
by jejeg
Replied by jejeg on topic How to bind several Tx to one model
Oups !! thanks
- gdenton
-
- Offline
Less
More
- Posts: 71
31 Dec 2017 17:14 #66649
by gdenton
Replied by gdenton on topic How to bind several Tx to one model
Any user defined txid greater than 0x7fffffff is not working correctly due to a typo/mistake in config/hardware.c on line 107:
is:
Transmitter.txid = strtol(value, NULL, 16);
should be:
Transmitter.txid = strtoul(value, NULL, 16);
Transmitter.txid is defined as u32 in config/tx.h line 90.
is:
Transmitter.txid = strtol(value, NULL, 16);
should be:
Transmitter.txid = strtoul(value, NULL, 16);
Transmitter.txid is defined as u32 in config/tx.h line 90.
- Moeder
-
- Offline
Less
More
- Posts: 796
01 Jan 2018 15:50 #66658
by Moeder
Replied by Moeder on topic How to bind several Tx to one model
@gdenton: good catch! Please go ahead and make a PR on Github for the fix, I don't want to take credit for this
Unless you don't want to register with GitHub.
- gdenton
-
- Offline
Less
More
- Posts: 71
02 Jan 2018 03:07 #66669
by gdenton
Replied by gdenton on topic How to bind several Tx to one model
I opened an issue as I don't know anything about PR's, thanks Moeder.
- FDR
-
- Offline
02 Jan 2018 06:33 #66670
by FDR
Replied by FDR on topic How to bind several Tx to one model
Does it really matter?
While the txid is indeed an u32, you can only give 6 digits of txid on the GUI, which is way under 0x7fffffff...
While the txid is indeed an u32, you can only give 6 digits of txid on the GUI, which is way under 0x7fffffff...
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
02 Jan 2018 07:20 #66671
by vlad_vy
Replied by vlad_vy on topic How to bind several Tx to one model
It's for hardware.ini processing.
But, in my case it works fine with txid=FABEA2E6
if(MATCH_KEY("txid")) {
Transmitter.txid = strtol(value, NULL, 16);
}
return 1;But, in my case it works fine with txid=FABEA2E6
- FDR
-
- Offline
02 Jan 2018 08:29 #66673
by FDR
Replied by FDR on topic How to bind several Tx to one model
Oops, you are right, of course.
I don't remember what number I used for the txid, but I will check it later...
BTW what are the symptoms of "not working correctly" in case of a txid over 0x7fffffff?
I don't remember what number I used for the txid, but I will check it later...
BTW what are the symptoms of "not working correctly" in case of a txid over 0x7fffffff?
- Moeder
-
- Offline
Less
More
- Posts: 796
02 Jan 2018 08:50 #66674
by Moeder
Replied by Moeder on topic How to bind several Tx to one model
Strtol returns LONG_MAX for all values above that, so all txid higher than 0x7fffffff will be the same, which could mess up things with two transmitters using the same txid although users think they use different ones.
- vlad_vy
-
Topic Author
- Offline
Less
More
- Posts: 3333
02 Jan 2018 09:11 #66675
by vlad_vy
Replied by vlad_vy on topic How to bind several Tx to one model
txid=7FFFFFF instead FABEA2E6
- FDR
-
- Offline
02 Jan 2018 10:06 #66676
by FDR
Replied by FDR on topic How to bind several Tx to one model
I see.
It well deserves a patch, however those who used larger txids need to rebind all their receivers if I'm not mistaken...
It well deserves a patch, however those who used larger txids need to rebind all their receivers if I'm not mistaken...
- Moeder
-
- Offline
Less
More
- Posts: 796
02 Jan 2018 10:22 #66677
by Moeder
Replied by Moeder on topic How to bind several Tx to one model
Unfortunately, yes. I see no other solution to this.
- FDR
-
- Offline
02 Jan 2018 19:49 #66684
by FDR
Replied by FDR on topic How to bind several Tx to one model
Phew, luckily I used smaller txid... 
I've changed it in the code.
I've changed it in the code.
- Moeder
-
- Offline
Less
More
- Posts: 796
03 Jan 2018 05:57 #66687
by Moeder
Replied by Moeder on topic How to bind several Tx to one model
Without a pull request.. You're so naughty
Time to create page: 0.405 seconds