Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add chip model ID output #60

Closed
wants to merge 1 commit into from
Closed

add chip model ID output #60

wants to merge 1 commit into from

Conversation

shawaj
Copy link

@shawaj shawaj commented Oct 8, 2021

add chip model ID output to enable easier determination between sx1302 and sx1303

@shawaj
Copy link
Author

shawaj commented Oct 8, 2021

example output...

root@f986d0ed3f2c:/opt/iotloragateway/packet_forwarder# sx1302/util_chip_id/chip_id -d /dev/spidev1.2
CoreCell reset through GPIO22...
Opening SPI communication interface
Note: chip version is 0x12 (v1.2)
INFO: using legacy timestamp
ARB: dual demodulation disabled for all SF

INFO: concentrator chip model ID: 0x03

INFO: concentrator EUI: 0x0016c001ff1e8374

Closing SPI communication interface
CoreCell reset through GPIO22...

@joelguittet
Copy link

@shawaj I suggest to have it in the chip_id utility as well (file "util_chip_id/src/chip_id.c").

@shawaj
Copy link
Author

shawaj commented Oct 10, 2021

@shawaj I suggest to have it in the chip_id utility as well (file "util_chip_id/src/chip_id.c").

That's where it is currently @joelguittet - did you mean somewhere else?

@joelguittet
Copy link

@shawaj sorry I'm a little bit tired. I was thinking to "packet_forwarder/src/lora_pkt_fwd.c" instead. EUI is printed as well but not the model ID.

@shawaj
Copy link
Author

shawaj commented Oct 11, 2021

@shawaj sorry I'm a little bit tired. I was thinking to "packet_forwarder/src/lora_pkt_fwd.c" instead. EUI is printed as well but not the model ID.

Aha yes I see where you mean now!

add chip model ID output to enable easier determination between sx1302 and sx1303
@smtc-bot
Copy link

Thank you for your inquiry.

Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.

We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!

@smtc-bot smtc-bot closed this Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants