Menu

is RSSI logged somewhere ?

Al ros
2021-02-14
2021-02-19
  • Al ros

    Al ros - 2021-02-14

    Hi Robert

    Does MyFP2ESP log the the boards RSSI anywhere for trouble shooting connection drops ?

    thanks
    Al

     
  • brownrb

    brownrb - 2021-02-14

    The RSSI is not logged. What issues are you experiencing?
    Give me a reason to include RSSI in logging?

     
  • Al ros

    Al ros - 2021-02-15

    Hi Robert

    I use my focuser in station mode. I have been trying out different external antennas with my ESPs that I tuned with my nanoVNA. one really well tuned dipole was dropping the connection while a my first untuned one worked well. This has really perplexed me as the VNA is well calibrated and gives expected results for a good quality commercial 2.4ghz antenna.

    I am now using a well tuned ground plane antenna on the ESP and was thinking it would be nice to see if the esp rssi would correlate. I was also hoping that the RSSI might be a proxy for when I am pushing the range of my rig away from the house- which might predict that I could loose the connection during an imaging session.

    what I was doing before was putting focuser in Access point mode and reading the RSSI off my computer or cell phone as a proxy, but I was hoping the device could report that back if one is using station mode.

    thanks for considering.
    Al

     
  • brownrb

    brownrb - 2021-02-16

    Hi Al
    it has been added to latest release
    https://github.com/brownrb/myFP2EFirmware/releases

    there will another update later today to fix the readings.
    the current code only takes 1 reading - the update will take readings whenever the value is requested.

    The new PDF when I upload it tommorrow (143) explains how to use it
    eg
    192.168.2.121:6060/rssi
    will return the rssi value
    Also using the new get/set interface
    192.168.2.121:6060/get?rssi=
    will return the rssi value

    The value for RSSI is only really valid in STATIONMODE.

    I have for you a TCPIP logger application that can run and send periodic requests for RSSI values and log them to a file. I need to probably write some deocument explaining how to use it.

    reqards
    Robert

     
  • Al ros

    Al ros - 2021-02-16

    Thats awesome!. Thanks so much!!
    Al

     

    Last edit: Al ros 2021-02-16
  • Al ros

    Al ros - 2021-02-16

    Just tried it - Works great

    Thanks again

    PS.

    there were two missing brackets in v144
    memcpy( myPASSWORD, myPASSWORD_1, (sizeof(myPASSWORD_1) / sizeof(myPASSWORD_1[0]) ));

     
  • brownrb

    brownrb - 2021-02-17

    Hi Al
    Thanks, I included that in release 146 on Github.
    Odd thing is it was never flagged on my system as an error - I ended up having to cut the code out, recompile, and then paste the exact code back in in order to get an error flag,

    regards
    Robert

    here is a link to the TCPIPLogger I mentioned
    https://www.dropbox.com/s/lzo7t3t3iu8o124/myTCPIPLogger.zip?dl=1

     
  • Al ros

    Al ros - 2021-02-19

    Thanks Robert !

    Al

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.