Lora-net / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
928 stars 748 forks source link

FSK mode register explanation #152

Closed hukm closed 3 years ago

hukm commented 4 years ago

Hello all,

I am trying to make SX1301 util_pkt_logger to listen for the custom messages using FSK demodulator. I do already receive some kind of response on every sent message, but the payload looks like mess of bytes. And what is more interesting - the more bytes I send, the less bytes in "payload" I get back. To tune the radio better I need to understand some registers that are configured in loragw_hal.c. Can anyone help with that? Also any ideas on why I don't receive proper payload to the csv file?

Specifically I am interested in these registers and values they can receive.

define LGW_FSK_MODEM_ENABLE 17

define LGW_FSK_MODEM_INVERT_IQ 89

define LGW_FSK_CH_BW_EXPO 226

define LGW_FSK_RSSI_LENGTH 227

define LGW_FSK_RX_INVERT 228

define LGW_FSK_PKT_MODE 229

define LGW_FSK_PSIZE 230

define LGW_FSK_CRC_EN 231

define LGW_FSK_DCFREE_ENC 232

define LGW_FSK_CRC_IBM 233

define LGW_FSK_ERROR_OSR_TOL 234

define LGW_FSK_RADIO_SELECT 235

define LGW_FSK_BR_RATIO 236

define LGW_FSK_REF_PATTERN_LSB 237

define LGW_FSK_REF_PATTERN_MSB 238

define LGW_FSK_PKT_LENGTH 239

define LGW_FSK_TX_GAUSSIAN_EN 240

define LGW_FSK_TX_GAUSSIAN_SELECT_BT 241

define LGW_FSK_TX_PATTERN_EN 242

define LGW_FSK_TX_PREAMBLE_SEQ 243

define LGW_FSK_TX_PSIZE 244

define LGW_FSK_NODE_ADRS 245

define LGW_FSK_BROADCAST 246

define LGW_FSK_AUTO_AFC_ON 247

define LGW_FSK_PATTERN_TIMEOUT_CFG 248

rbaldwin13 commented 3 years ago

In an effort to improve our customer support experience and in recognition that our support backlog on GitHub has historically exceeded the capacity of our engineering team, we have taken the difficult decision to focus on the most contemporary issues reported and to close all others without confirmation of resolution.

Our belief is that issues which have remained unresolved and unaltered for extended periods of time are less likely to continue to pose a significant problem to the user than when they were originally filed. More contemporary issues however may still be relevant and hence are more appropriate to prioritize.

For those users who remain interested in resolution of a reported issue that was closed, we are encouraging usage of our developer portal forums [https://forum.lora-developers.semtech.com/] and commercial support portal [https://semtech.force.com/ldp/ldp_support] as the preferred avenues to receive support. We will continue to monitor the GitHub issue trackers as well, but want to encourage all users to take advantage of the increased community presence on the developer portal. For commercial customers, we highly recommend using the commercial support portal which is uniquely tailored to service such support requests.