Git Product home page Git Product logo

nrf9160-google_iot_mqtt's People

Contributors

jeffreyurban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rmptxf

nrf9160-google_iot_mqtt's Issues

MQTT_EVT_PUBLISH never fired up

Hello,
Well, I tried creating a topic in the iot core and tried to publish messages to it. I can see them when pulling from the subscription to that topic in the pub/sub service, but still in the nRF9160 I don't get any PUBLISH events.
Any idea on what's the reason for that?

Thanks,
Abdelali

Unable to Program the cloud-side certs with the crt extension

Hello Jeff,
Thanks a lot for sharing this project example.
I had an issue with programming the cloud side certificates with the .crt extension. This command throws an error (file not found).

python3 cred.py \
  --CA_cert gtsltsr.pem \
  --sec_tag 202

I tried converting it to a .pem certificate, the cred utility programs it but its tag looks empty when looking for it in the Certificate Manager (nRF Connect App).

empty_certs

Thanks again

Zephyr MQTT library crashes on receive packets sized 648+ bytes

When setting the Google Cloud IoT Core config payload to content of approximately 648 bytes or larger, the application crashes hard before handling the corresponding MQTT_EVT_PUBLISH event in protocol.c, resulting in no more console output. Crashes become more consistent with higher payload sizes, such as 768. Note that these payloads are smaller than the rx_buffer.

In experimenting with other similar MQTT code, such as in the nRF Connect SDK mqtt_simple sample, larger packet sizes are received OK, or generate an error publish_get_payload failed: -122 when the payload exceeds the buffer size.

Perhaps there is a difference on the Google Cloud IoT Core side that is not accommodated by Zephyr's MQTT library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.