electricimp / RN2xxx

LoRa Driver for RN2903 Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestions for a couple of extra methods

communig8-public opened this issue · comments

Hi, I've been using the library and it would be great to add a couple of methods.

  1. A setup function that was supplied with an array of the initialisation command and ran through them (as in the sample code). Every implementation of the library is going to need to setup the chip anyway. I would seem to make sense to me to have the library do this making the calling code simpler.
  2. A functions to query the snr of the last received packet using the "radio get snr" command to get an idea of the signal quality. It would save on heavy lifting in the calling code.
    Thanks, Richard