FX/620: IDs

This commit is contained in:
pascallanger 2022-07-17 09:07:28 +02:00
parent 80f9ff4163
commit ce6243d6e3
2 changed files with 3 additions and 5 deletions

View File

@ -33,7 +33,7 @@ Multiprotocol is distributed in the hope that it will be useful,
#define FX620_PAYLOAD_SIZE 7 #define FX620_PAYLOAD_SIZE 7
#define FX620_CH_OFFSET 1 #define FX620_CH_OFFSET 1
#define FORCE_FX620_ID //#define FORCE_FX620_ID
static void __attribute__((unused)) FX_send_packet() static void __attribute__((unused)) FX_send_packet()
{ {
@ -138,8 +138,8 @@ static void __attribute__((unused)) FX_initialize_txid()
rx_tx_addr[0] = rx_tx_addr[3]; rx_tx_addr[0] = rx_tx_addr[3];
hopping_frequency[0] = 0x18 + rx_tx_addr[3]&0x07; // just to try something hopping_frequency[0] = 0x18 + rx_tx_addr[3]&0x07; // just to try something
#ifdef FORCE_FX620_ID #ifdef FORCE_FX620_ID
memcpy(rx_tx_addr,(uint8_t*)"\x34\xA9\x32",3); memcpy(rx_tx_addr,(uint8_t*)"\x34\xA9\x32",3);
hopping_frequency[0] = 0x18; //on dump: 24 34 44 54 hopping_frequency[0] = 0x18; //on dump: 24 34 44 54
#endif #endif
for(uint8_t i=1;i<FX_NUM_CHANNELS;i++) for(uint8_t i=1;i<FX_NUM_CHANNELS;i++)
hopping_frequency[i] = i*10 + hopping_frequency[0]; hopping_frequency[i] = i*10 + hopping_frequency[0];

View File

@ -1615,8 +1615,6 @@ Only 8 TX IDs available
### Sub_protocol 620 - *1* ### Sub_protocol 620 - *1*
Model: FX620 SU35 Model: FX620 SU35
Only 1 TX ID available
## FY326 - *20* ## FY326 - *20*
### Sub_protocol FY326 - *0* ### Sub_protocol FY326 - *0*