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

Sending pre-ambles in data? #4

Open
NielsLelieveld opened this issue Jun 2, 2024 · 1 comment
Open

Sending pre-ambles in data? #4

NielsLelieveld opened this issue Jun 2, 2024 · 1 comment

Comments

@NielsLelieveld
Copy link

Hi,
I noticed using your IPSC example that the SMS is sometimes delivered and sometimes not. I think it might be due to the "burst" being really short and the radio might miss the data. Would it be possible to add a preamble to the sendSms example? What would be a correct way to do so? Thanks!

@rick51231
Copy link
Owner

rick51231 commented Jun 22, 2024

Hello

The number of preambles (CSBK) can be configured in DMRIPGateway.sendIPPacket method (third parameter).
So in the IPSC-client.js example it can be done this way:

    ...

    ip.src_port = 4007;
    ip.dst_port = 4007;
    ip.payload = tms.getBuffer();

    ipGateway.sendIPPacket(ip, slot, 3);

Where 3 - CSBK packets count , so 3 * 60ms = 180ms preamble

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

No branches or pull requests

2 participants