mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-13 19:43:44 +00:00
V761 second TX ID/freqs
This commit is contained in:
parent
3f77f59c8a
commit
f498347c53
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 57
|
#define VERSION_PATCH_LEVEL 58
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -121,14 +121,19 @@ static void __attribute__((unused)) V761_init()
|
|||||||
static void __attribute__((unused)) V761_initialize_txid()
|
static void __attribute__((unused)) V761_initialize_txid()
|
||||||
{
|
{
|
||||||
// TODO: try arbitrary rx_tx_addr & frequencies (except hopping_frequency[0])
|
// TODO: try arbitrary rx_tx_addr & frequencies (except hopping_frequency[0])
|
||||||
//Actual rx_tx_addr from SPI grab)
|
if(RX_num&1)
|
||||||
memcpy(rx_tx_addr,(uint8_t *)"\x6f\x2c\xb1\x93",4);
|
{
|
||||||
//Actual hopping_frequency from SPI grab)
|
//Actual rx_tx_addr from SPI grab)
|
||||||
memcpy(hopping_frequency,(uint8_t *)"\x14\x1e\x4b",3);
|
memcpy(rx_tx_addr,(uint8_t *)"\x6f\x2c\xb1\x93",4);
|
||||||
|
//Actual hopping_frequency from SPI grab)
|
||||||
//Dump from air on another TX
|
memcpy(hopping_frequency,(uint8_t *)"\x14\x1e\x4b",3);
|
||||||
//memcpy(rx_tx_addr,(uint8_t *)"\xE8\xE4\x45\x09",4);
|
}
|
||||||
//memcpy(hopping_frequency,(uint8_t *)"\x??\x21\x44",3); // dump does not show any other frequencies used. Need to be rechecked...
|
else
|
||||||
|
{
|
||||||
|
//Dump from air on Protonus TX
|
||||||
|
memcpy(rx_tx_addr,(uint8_t *)"\xE8\xE4\x45\x09",4);
|
||||||
|
memcpy(hopping_frequency,(uint8_t *)"\x0D\x21\x44",3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t V761_callback()
|
uint16_t V761_callback()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user