Coder Social home page Coder Social logo

Comments (6)

WattageGuy avatar WattageGuy commented on July 24, 2024

Some what related to #146

from aiocoap.

WattageGuy avatar WattageGuy commented on July 24, 2024

I did some Wireshark and I looks like /2 gets the value of /1 in the CON some times.
When correct value is sent the packet has some 0HE value, no idea what this is.
Skärmavbild 2024-04-08 kl  15 59 20
Skärmavbild 2024-04-08 kl  16 02 38

And when wrong value (value from /1) it is -HE:
Skärmavbild 2024-04-08 kl  15 59 41

Edit: This seems to be the checksum

from aiocoap.

chrysn avatar chrysn commented on July 24, 2024

Just to avoid confusion with other issues: This is unrelated to 146 (that is about the client side). This issue here is about the CoAP server side, which for some reasons LwM2M calls the client.

To help you here I'd have to understand what you are doing, and the code you copied in is insufficient for that. Do you have a pointer to your full source code?

from aiocoap.

WattageGuy avatar WattageGuy commented on July 24, 2024

Okay sorry I dont know exactly what im doing, still trying to understand this CoAP stuff. Here is the project: https://github.com/WattageGuy/lwm2mclient-BLE-gateway

from aiocoap.

WattageGuy avatar WattageGuy commented on July 24, 2024

Any clue yet @chrysn im in a bit of hurry with this project 😅

from aiocoap.

kwjones avatar kwjones commented on July 24, 2024

@WattageGuy - Any progress on this issue? I'm seeing what I believe is the same anomaly. What I have noticed is that the tokens between more than one observation are being mis-assigned. Example, if I have an observation for battery_level that is using token "a1b1c1d1e1f1" and an observation for "current_time" that is using token "a2b2c2d2e2f2." It feels like updated_state() method may be mishandling this in some way. I'm thinking about creating a content message to replace the updated.state() message creation to see if that addresses the token handling.

from aiocoap.

Related Issues (20)

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.