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

Issue in UDP management for BG96 #31316

Closed
gpaquet85 opened this issue Jan 14, 2021 · 1 comment
Closed

Issue in UDP management for BG96 #31316

gpaquet85 opened this issue Jan 14, 2021 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@gpaquet85
Copy link
Contributor

Describe the bug
When I tried to send data with mqtt_publisher sample, an error was raised in BG96 driver.
It is not possible to sart MQTT (TCP) connection

To Reproduce
Build samples/net/mqtt_publisher

  1. west build -p auto -b rak5010_nrf52840 samples/net/mqtt_publisher
  2. west flash
    Error is clearly raised because it is impossible to connect to MQTT broker

Expected behavior
It is expected that MQTT sample is working as it is tested.
Moreover comment in driver says : /* UDP is not supported. */
and code is : if (sock->ip_proto != IPPROTO_UDP)
so it is not in line.

Impact
Not any TCP connection possible at this state

Logs and console output
I can add Log and console output if necessary. Just for information, I created PR to fix this.

Environment:

  • OS: Linux
  • Toolchain: Zephyr SDK
  • Commit SHA: 3befd7d

Additional context
Tested on two different boards with two BG96.

@gpaquet85 gpaquet85 added the bug The issue is a bug, or the PR is fixing a bug label Jan 14, 2021
@gpaquet85
Copy link
Contributor Author

Linked to this PR: #31317

@jukkar jukkar closed this as completed Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants