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

Missing MultiCastPingSlotPeriod parameter for Class B device in fuota_server.go #7

Open
heidimao opened this issue Aug 23, 2021 · 1 comment

Comments

@heidimao
Copy link

heidimao commented Aug 23, 2021

We ran into an this bug when testing fuota deployment with Class B device:
pingNB must be > 0
MicrosoftTeams-image (4)

The possible reason is that the MultiCastPingSlotPeriod parameter is missing in fuota_server.go
https://github1s.com/brocaar/chirpstack-fuota-server/blob/e049e20ec9711fdc6900dc569f2ccd57496bd466/internal/api/fuota_server.go#L25

The error is gone after adding the following line:
MulticastPingSlotPeriod: uint8(req.GetDeployment().MulticastPingSlotPeriod),
MicrosoftTeams-image (3)

@oedze
Copy link

oedze commented Aug 24, 2021

To add to this: The MulticastPingSlotPeriod is a uint8t in the definition, but it can be a value that goes up to 4096.

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