@@ -56,9 +56,9 @@ Maintainer: Sylvain Miermont
5656/* to use array parameters, declare a local const and use 'rf_chain' as index */
5757#if (CFG_BAND_FULL == 1 )
5858 #if (CFG_RADIO_1257 == 1 )
59- #define LGW_RF_RX_LOWFREQ { 862000000, 862000000 } /* lower limit of the usable band in RX for each radio */
59+ #define LGW_RF_RX_LOWFREQ { 778000000, 778000000 } /* lower limit of the usable band in RX for each radio */
6060 #define LGW_RF_RX_UPFREQ {1020000000,1020000000} /* upper limit of the usable band in RX for each radio */
61- #define LGW_RF_TX_LOWFREQ { 862000000, 862000000 } /* lower limit of the usable band in TX for each radio */
61+ #define LGW_RF_TX_LOWFREQ { 778000000, 778000000 } /* lower limit of the usable band in TX for each radio */
6262 #define LGW_RF_TX_UPFREQ {1020000000,1020000000} /* upper limit of the usable band in TX for each radio */
6363 #elif (CFG_RADIO_1255 == 1 )
6464 #define LGW_RF_RX_LOWFREQ { 400000000, 400000000}
@@ -86,6 +86,11 @@ Maintainer: Sylvain Miermont
8686 #define LGW_RF_RX_UPFREQ { 434790000, 434790000}
8787 #define LGW_RF_TX_LOWFREQ { 433050000, 433050000}
8888 #define LGW_RF_TX_UPFREQ { 434790000, 434790000}
89+ #elif (CFG_BAND_780 == 1 )
90+ #define LGW_RF_RX_LOWFREQ { 779000000, 779000000}
91+ #define LGW_RF_RX_UPFREQ { 787000000, 787000000}
92+ #define LGW_RF_TX_LOWFREQ { 779000000, 779000000}
93+ #define LGW_RF_TX_UPFREQ { 787000000, 787000000}
8994#endif
9095
9196/* type of if_chain + modem */
@@ -136,9 +141,12 @@ Maintainer: Sylvain Miermont
136141#if (CFG_BRD_NANO868 == 1 )
137142 #define LGW_RF_TX_ENABLE { true, true} /* both radio A and B are usable in TX */
138143 #define LGW_RF_CLKOUT { true, true} /* both radios have clkout enabled */
139- #elif ((CFG_BRD_1301REF868 == 1 ) || (CFG_BRD_1301REF433 == 1 ) || (CFG_BRD_KERLINK868 == 1 ))
144+ #elif ((CFG_BRD_1301REF868 == 1 ) || (CFG_BRD_1301REF433 == 1 ) || (CFG_BRD_KERLINK868 == 1 ) || ( CFG_BRD_KERLINK433 == 1 ) )
140145 #define LGW_RF_TX_ENABLE { true,false} /* radio B TX output is disconnected */
141146 #define LGW_RF_CLKOUT {false, true} /* radio A clkout disabled for spur optimization */
147+ #elif ((CFG_BRD_CISCO433 == 1 ) || (CFG_BRD_CISCO470 == 1 ) || (CFG_BRD_CISCO780 == 1 ))
148+ #define LGW_RF_TX_ENABLE { true,false} /* radio B TX output is disconnected */
149+ #define LGW_RF_CLKOUT { true, true} /* Do not know */
142150/* === ADD CUSTOMIZATION FOR YOUR OWN BOARD HERE ===
143151#elif (CFG_BRD_MYBOARD == 1)
144152*/
@@ -237,11 +245,13 @@ struct lgw_conf_rxrf_s {
237245@brief Configuration structure for an IF chain
238246*/
239247struct lgw_conf_rxif_s {
240- bool enable ; /*!> enable or disable that IF chain */
241- uint8_t rf_chain ; /*!> to which RF chain is that IF chain associated */
242- int32_t freq_hz ; /*!> center frequ of the IF chain, relative to RF chain frequency */
243- uint8_t bandwidth ; /*!> RX bandwidth, 0 for default */
244- uint32_t datarate ; /*!> RX datarate, 0 for default */
248+ bool enable ; /*!> enable or disable that IF chain */
249+ uint8_t rf_chain ; /*!> to which RF chain is that IF chain associated */
250+ int32_t freq_hz ; /*!> center frequ of the IF chain, relative to RF chain frequency */
251+ uint8_t bandwidth ; /*!> RX bandwidth, 0 for default */
252+ uint32_t datarate ; /*!> RX datarate, 0 for default */
253+ uint8_t sync_word_size ; /*!> size of FSK sync word (number of bytes, 0 for default) */
254+ uint64_t sync_word ; /*!> FSK sync word (ALIGN RIGHT, eg. 0xC194C1) */
245255};
246256
247257/**
@@ -344,6 +354,12 @@ int lgw_send(struct lgw_pkt_tx_s pkt_data);
344354*/
345355int lgw_status (uint8_t select , uint8_t * code );
346356
357+ /**
358+ @brief Abort a currently scheduled or ongoing TX
359+ @return LGW_HAL_ERROR id the operation failed, LGW_HAL_SUCCESS else
360+ */
361+ int lgw_abort_tx (void );
362+
347363/**
348364@brief Return value of internal counter when latest event (eg GPS pulse) was captured
349365@param trig_cnt_us pointer to receive timestamp value
0 commit comments