Matt W1CDN
  • Joined on 2023-04-08
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-15 13:22:08 -05:00
Add background KISS connection, log frames to database

Hmmm... image

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-15 11:23:55 -05:00
Add background KISS connection, log frames to database

Copied new code over to kiss_and_db.py and it seems to run.

  • pull packets from db instead of files
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-14 22:07:10 -05:00
Add background KISS connection, log frames to database

This is looking pretty good...

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-14 19:55:01 -05:00
Add background KISS connection, log frames to database

Added a more complete list of fields that may come out of aprslib.parse() to the database schema.

How to insert the results of that function into the database without having all the columns…

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-14 12:24:00 -05:00
Add background KISS connection, log frames to database

Subprocess was running all night and doesn't seem to have broken anything.

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-13 21:37:08 -05:00
Add background KISS connection, log frames to database

Now need to know all the possible fields that might come up, so they can be added to the db (or maybe write a function to add new fields on the fly?).

Are fields listed in the spec? I think…

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-13 21:12:20 -05:00
Add background KISS connection, log frames to database

Just barely working now (packet into database), but I don't understand the structure of the APRSFrame object, so it's going in as a string right now.

> repl(frame)
APRSFrame(destination=Ad…
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-13 20:46:10 -05:00
Add background KISS connection, log frames to database

I think I should be using https://github.com/python-aprs/aprs3.

For versions of the KISS transports which do NOT automatically encode/decode APRS data, see kiss3.

W1CDN closed issue W1CDN/aprs_tool#18 2023-04-13 17:19:48 -05:00
/packets not showing most recent data
W1CDN created pull request W1CDN/aprs_tool#20 2023-04-13 17:19:36 -05:00
Add background KISS connection, log frames to database
W1CDN opened issue W1CDN/aprs_tool#19 2023-04-13 15:58:16 -05:00
Custom commands
W1CDN commented on issue W1CDN/aprs_tool#5 2023-04-13 15:56:13 -05:00
Connect API with KISS or AGWPE

Oh, very nice. This works. https://github.com/python-aprs/kiss3/blob/main/examples/tcp_send_recv.py

image

It sends the raw packet back,…

W1CDN commented on issue W1CDN/aprs_tool#5 2023-04-13 10:27:16 -05:00
Connect API with KISS or AGWPE

Maybe this is the section that connects to via KISS: https://github.com/ufergus/arNetSked/blob/master/arNetSked.py#L489

arNetSked is designed to transmit, not receive, so would need to add some…

W1CDN commented on issue W1CDN/aprs_tool#3 2023-04-13 09:38:23 -05:00
Pass arguments in URL to API

Default to a certain number of items, then add more (or all) if specifically requested.

W1CDN pushed to main at W1CDN/aprs_tool 2023-04-12 09:24:33 -05:00
fb027194e8 Update data on API call
W1CDN commented on issue W1CDN/aprs_tool#18 2023-04-12 09:23:45 -05:00
/packets not showing most recent data

Got it. Must have removed the actual function call by accident.

W1CDN commented on issue W1CDN/aprs_tool#18 2023-04-12 09:14:18 -05:00
/packets not showing most recent data

If I shut it down and run with Flask, it updates. But running with waitress it did not. It should be updating on every API call.

W1CDN opened issue W1CDN/aprs_tool#18 2023-04-12 08:39:31 -05:00
/packets not showing most recent data