Connect API with KISS or AGWPE #5

Closed
opened 2023-04-08 19:23:34 -05:00 by W1CDN · 3 comments
Owner

This would make the API no longer Dire Wolf specific and mean it could be hosted on a different machine than the digipeater/iGate software.

This would make the API no longer Dire Wolf specific and mean it could be hosted on a different machine than the digipeater/iGate software. - code here? https://groups.io/g/direwolf/topic/34952841?p=Created,,,20,2,0,0 - arNetSked connects using KISS, can I use this code? https://github.com/ufergus/arNetSked - promising package: https://github.com/python-aprs/kiss3
W1CDN added the
enhancement
label 2023-04-08 19:23:34 -05:00
Author
Owner

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 things to https://github.com/ufergus/arNetSked/blob/master/arNetSked.py#L589:

    def recvPacketCB(self, pkt):
        # drop inbound packets
        pass

I think I'm going to end up with problems once I find out what type of data a KISS connection actually sends me!

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 things to https://github.com/ufergus/arNetSked/blob/master/arNetSked.py#L589: ``` def recvPacketCB(self, pkt): # drop inbound packets pass ``` I think I'm going to end up with problems once I find out what type of data a KISS connection actually sends me!
Author
Owner

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, so maybe need to run it through https://github.com/python-aprs/aprs3

I assume this would need to be some other service running and dropping parsed frames into the db as they come in?

Oh, very nice. This works. https://github.com/python-aprs/kiss3/blob/main/examples/tcp_send_recv.py ![image](/attachments/6bd8527e-ec7f-416e-ae7a-acb153b155ec) It sends the raw packet back, so maybe need to run it through https://github.com/python-aprs/aprs3 I assume this would need to be some other service running and dropping parsed frames into the db as they come in?
Author
Owner

Progress on #20 means that one KISS connection is always active for receive. Need to think about how to best use the connection so we don't go over the maximum of three KISS clients (default build): https://groups.io/g/direwolf/topic/85934349?p=Created%2C%2C%2C20%2C2%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2C%2C20%2C0%2C60%2C85934349

However, you might have some more advanced clients use AGWPE to get the right mix.

Progress on #20 means that one KISS connection is always active for receive. Need to think about how to best use the connection so we don't go over the maximum of three KISS clients (default build): https://groups.io/g/direwolf/topic/85934349?p=Created%2C%2C%2C20%2C2%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2C%2C20%2C0%2C60%2C85934349 However, you might have some more advanced clients use AGWPE to get the right mix.
W1CDN closed this issue 2023-04-16 16:45:55 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: W1CDN/aprs_tool#5
No description provided.